lunes, 28 de marzo de 2011

Liferay en Linux

Hola, liferay es un portal Open Source escrito en J2EE, implementa una arquitectura de capas y persistencia con hibernate, es simple de configurar descargando en paquete Boundle GA con tomcat 6 , ya que solo debes iniciar este tomcat para arrancar el war de liferay.

paso 1:
slack@zion:~/programas/liferay-portal-6.0.6/tomcat-6.0.29/bin$ ./startup.sh
Using CATALINA_BASE: /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29
Using CATALINA_HOME: /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29
Using CATALINA_TMPDIR: /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/temp
Using JRE_HOME: /home/slack/programas/java/jdk1.6.0_20
Using CLASSPATH: /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/bin/bootstrap.jar
slack@zion:~/programas/liferay-portal-6.0.6/tomcat-6.0.29/bin$ cd ..
slack@zion:~/programas/liferay-portal-6.0.6/tomcat-6.0.29$ cd logs/
slack@zion:~/programas/liferay-portal-6.0.6/tomcat-6.0.29/logs$ tail -f catalina.out
28-mar-2011 16:33:42 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1099 ms
28-mar-2011 16:33:42 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
28-mar-2011 16:33:42 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
28-mar-2011 16:33:42 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración ROOT.xml
Loading jar:file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
16:33:53,945 INFO [DialectDetector:69] Determining dialect for HSQL Database Engine 1
16:33:53,948 WARN [DialectDetector:84] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal.properties.
16:33:54,034 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.HSQLDialect
16:33:57,635 INFO [PortalImpl:278] Global lib directory /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/lib/ext/
16:33:57,637 INFO [PortalImpl:298] Portal lib directory /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/
Starting Liferay Portal Community Edition 6.0.6 CE (Bunyan / Build 6006 / February 17, 2011)
16:34:10,964 INFO [BaseDB:400] Database supports case sensitive queries
16:34:11,325 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyProcessSuite
16:34:11,326 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyProperties
16:34:11,327 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyMySQL
16:34:11,327 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyCounter
16:34:11,349 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyUUID
16:34:11,374 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyRole
16:34:11,527 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyBlogs
16:34:11,534 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyBookmarks
16:34:11,539 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyCalendar
16:34:11,545 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyDocumentLibrary
16:34:11,549 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyGroup
16:34:11,792 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyImageGallery
16:34:11,795 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyJournal
16:34:11,804 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyLayout
16:34:11,807 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyMessageBoards
16:34:11,821 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyOrganization
16:34:11,848 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifySocial
16:34:11,849 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyUser
16:34:11,937 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyWiki
16:34:15,261 INFO [PluginPackageUtil:1109] Reloading repositories
16:34:19,194 INFO [HotDeployUtil:69] Initializing hot deploy manager 1804119
16:34:19,296 INFO [AutoDeployDir:105] Auto deploy scanner started for /home/slack/programas/liferay-portal-6.0.6/deploy
28-mar-2011 16:34:22 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio default-site-templates-hook de la aplicación web
16:34:22,489 INFO [HookHotDeployListener:394] Registering hook for default-site-templates-hook
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/default-site-templates-hook/WEB-INF/classes/portal.properties
16:34:23,762 INFO [HookHotDeployListener:649] Hook for default-site-templates-hook is available for use
28-mar-2011 16:34:23 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio sevencogs-mobile-theme de la aplicación web
16:34:24,198 INFO [ThemeHotDeployListener:78] Registering themes for sevencogs-mobile-theme
16:34:24,228 INFO [ThemeHotDeployListener:89] 1 theme for sevencogs-mobile-theme is available for use
28-mar-2011 16:34:24 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio sevencogs-theme de la aplicación web
16:34:24,719 INFO [ThemeHotDeployListener:78] Registering themes for sevencogs-theme
16:34:26,505 INFO [ThemeHotDeployListener:89] 1 theme for sevencogs-theme is available for use
28-mar-2011 16:34:26 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio web-form-portlet de la aplicación web
16:34:27,147 INFO [PortletHotDeployListener:220] Registering portlets for web-form-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/web-form-portlet/WEB-INF/classes/portlet.properties
16:34:27,362 INFO [PortletHotDeployListener:369] 1 portlet for web-form-portlet is available for use
28-mar-2011 16:34:27 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio opensocial-portlet de la aplicación web
16:34:30,632 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/service.properties
16:34:30,976 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
16:34:31,031 INFO [ServiceComponentLocalServiceImpl:187] Running OpenSocial SQL scripts
16:34:34,569 INFO [PortletHotDeployListener:220] Registering portlets for opensocial-portlet
16:34:34,572 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
16:34:34,583 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
16:34:34,596 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
16:34:34,757 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/portlet.properties
16:34:34,829 INFO [PortletHotDeployListener:374] 2 portlets for opensocial-portlet are available for use
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/service.properties
16:34:35,271 INFO [DialectDetector:69] Determining dialect for HSQL Database Engine 1
16:34:35,272 WARN [DialectDetector:84] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal.properties.
16:34:35,273 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.HSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/service.properties
28-mar-2011 16:34:49 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio mail-portlet de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
16:34:50,628 INFO [DialectDetector:69] Determining dialect for HSQL Database Engine 1
16:34:50,629 WARN [DialectDetector:84] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal.properties.
16:34:50,630 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.HSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
16:34:51,426 INFO [ServiceComponentLocalServiceImpl:187] Running Mail SQL scripts
16:34:52,626 INFO [HookHotDeployListener:394] Registering hook for mail-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portal.properties
16:34:52,767 INFO [HookHotDeployListener:649] Hook for mail-portlet is available for use
16:34:52,969 INFO [PortletHotDeployListener:220] Registering portlets for mail-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
16:34:53,386 INFO [PortletHotDeployListener:374] 2 portlets for mail-portlet are available for use
28-mar-2011 16:34:53 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio chat-portlet de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/service.properties
16:34:54,103 INFO [DialectDetector:69] Determining dialect for HSQL Database Engine 1
16:34:54,104 WARN [DialectDetector:84] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal.properties.
16:34:54,105 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.HSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/service.properties
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/service.properties
16:34:54,404 INFO [ServiceComponentLocalServiceImpl:187] Running Chat SQL scripts
16:34:54,514 INFO [PortletHotDeployListener:220] Registering portlets for chat-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/portlet.properties
16:34:54,650 INFO [PortletHotDeployListener:369] 1 portlet for chat-portlet is available for use
28-mar-2011 16:34:54 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio tunnel-web de la aplicación web
28-mar-2011 16:34:57 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio sevencogs-hook de la aplicación web
16:34:57,320 INFO [HotDeployEvent:95] Plugin sevencogs-hook requires google-maps-portlet, kaleo-web, mail-portlet, sevencogs-mobile-theme, sevencogs-theme, social-networking-portlet, web-form-portlet
16:34:57,320 INFO [HotDeployUtil:137] Queueing sevencogs-hook for deploy because it is missing google-maps-portlet, kaleo-web, social-networking-portlet
28-mar-2011 16:34:57 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio kaleo-web de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/kaleo-web/WEB-INF/classes/service.properties
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/kaleo-web/WEB-INF/classes/service.properties
16:34:58,039 INFO [DialectDetector:69] Determining dialect for HSQL Database Engine 1
16:34:58,041 WARN [DialectDetector:84] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal.properties.
16:34:58,043 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.HSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/kaleo-web/WEB-INF/classes/service.properties
16:34:59,796 INFO [ServiceComponentLocalServiceImpl:187] Running Kaleo SQL scripts
16:34:59,908 INFO [HookHotDeployListener:394] Registering hook for kaleo-web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/kaleo-web/WEB-INF/classes/portal.properties
16:34:59,984 INFO [HookHotDeployListener:649] Hook for kaleo-web is available for use
16:34:59,985 INFO [HotDeployUtil:153] sevencogs-hook is still in queue because it is missing google-maps-portlet, social-networking-portlet
28-mar-2011 16:34:59 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio google-maps-portlet de la aplicación web
16:35:00,423 INFO [PortletHotDeployListener:220] Registering portlets for google-maps-portlet
16:35:00,498 INFO [PortletHotDeployListener:369] 1 portlet for google-maps-portlet is available for use
16:35:00,499 INFO [HotDeployUtil:153] sevencogs-hook is still in queue because it is missing social-networking-portlet
28-mar-2011 16:35:00 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio wsrp-portlet de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/wsrp-portlet/WEB-INF/classes/service.properties
16:35:00,935 INFO [ServiceComponentLocalServiceImpl:187] Running WSRP SQL scripts
16:35:01,235 INFO [PortletHotDeployListener:220] Registering portlets for wsrp-portlet
16:35:01,355 INFO [PortletHotDeployListener:374] 2 portlets for wsrp-portlet are available for use
16:35:01,356 INFO [HotDeployUtil:153] sevencogs-hook is still in queue because it is missing social-networking-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/wsrp-portlet/WEB-INF/classes/service.properties
16:35:01,511 INFO [DialectDetector:69] Determining dialect for HSQL Database Engine 1
16:35:01,512 WARN [DialectDetector:84] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal.properties.
16:35:01,513 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.HSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/wsrp-portlet/WEB-INF/classes/service.properties
28-mar-2011 16:35:02 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio social-networking-portlet de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/service.properties
16:35:03,164 INFO [DialectDetector:69] Determining dialect for HSQL Database Engine 1
16:35:03,165 WARN [DialectDetector:84] Liferay is configured to use Hypersonic as its database. Do NOT use Hypersonic in production. Hypersonic is an embedded database useful for development and demo'ing purposes. The database settings can be changed in portal.properties.
16:35:03,166 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.HSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/service.properties
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/service.properties
16:35:03,369 INFO [ServiceComponentLocalServiceImpl:187] Running SN SQL scripts
16:35:03,562 INFO [HookHotDeployListener:394] Registering hook for social-networking-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/portal.properties
16:35:03,755 INFO [HookHotDeployListener:649] Hook for social-networking-portlet is available for use
16:35:03,786 INFO [PortletHotDeployListener:220] Registering portlets for social-networking-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/portlet.properties
16:35:04,085 INFO [PortletHotDeployListener:374] 8 portlets for social-networking-portlet are available for use
16:35:04,085 INFO [HotDeployUtil:101] Deploying sevencogs-hook from queue
16:35:04,295 INFO [HookHotDeployListener:394] Registering hook for sevencogs-hook
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/sevencogs-hook/WEB-INF/classes/portal.properties
16:35:04,334 INFO [UpgradeProcess:108] Upgrading com.liferay.sevencogs.hook.upgrade.UpgradeProcess_1_0_0
16:35:04,346 INFO [UpgradeProcess:108] Upgrading com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany
16:35:21,497 INFO [HookHotDeployListener:649] Hook for sevencogs-hook is available for use
28-mar-2011 16:35:21 org.apache.coyote.http11.Http11Protocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8087
28-mar-2011 16:35:21 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
28-mar-2011 16:35:21 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/76 config=null
28-mar-2011 16:35:21 org.apache.catalina.startup.Catalina start
INFO: Server startup in 99175 ms

paso 2:
Si tienes otro servidor web corriendo debes modificar el hhtpport de tomcat en el archivo tomcat_home/conf/server.xml
localhost:8087

paso 3: en la instancia anterior la indtalacion configura la base de datos hipersonic que trae por defecto liferay, para poder configurar otra base de datos debemos crear un archivo el directorio ROOT/WEB-INF/classes con el nombre portal-ext.properties, aqui esta el contenido de este archivo para postgres:

    #
# PostgreSQL
#
#jdbc.default.driverClassName=org.postgresql.Driver
#jdbc.default.url=jdbc:postgresql://localhost:5432/lportal
#jdbc.default.username=
#jdbc.default.password=
slack@zion:~/programas/liferay-portal-6.0.6/tomcat-6.0.29/bin$ ./startup.sh

paso 4: Al arrancar tomcat de liferay se muestra este log, en el cual nos dice que va a utilizar
y crear la nueva estructura en la base de datos postgres configurada
Using CATALINA_BASE: /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29
Using CATALINA_HOME: /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29
Using CATALINA_TMPDIR: /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/temp
Using JRE_HOME: /home/slack/programas/java/jdk1.6.0_20
Using CLASSPATH: /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/bin/bootstrap.jar
slack@zion:~/programas/liferay-portal-6.0.6/tomcat-6.0.29/bin$ tail -f ../logs/catalina.out
29-mar-2011 21:55:45 org.apache.coyote.http11.Http11Protocol init
INFO: Inicializando Coyote HTTP/1.1 en puerto http-8087
29-mar-2011 21:55:45 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 577 ms
29-mar-2011 21:55:45 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
29-mar-2011 21:55:45 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
29-mar-2011 21:55:45 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración ROOT.xml
Loading jar:file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/system.properties
Loading jar:file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/portal-impl.jar!/portal.properties
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/classes/portal-ext.properties
21:55:54,858 INFO [DialectDetector:69] Determining dialect for PostgreSQL 8
21:55:54,968 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.PostgreSQLDialect
21:55:58,549 INFO [PortalImpl:278] Global lib directory /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/lib/ext/
21:55:58,551 INFO [PortalImpl:298] Portal lib directory /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/ROOT/WEB-INF/lib/
Starting Liferay Portal Community Edition 6.0.6 CE (Bunyan / Build 6006 / February 17, 2011)
21:56:13,648 ERROR [JDBCExceptionReporter:101] ERROR: relation "lock_" does not exist
Position: 403
21:56:14,227 WARN [ReleaseLocalServiceImpl:143] ERROR: relation "release_" does not exist
Position: 25
21:56:14,230 INFO [ReleaseLocalServiceImpl:84] Create tables and populate with default data
21:57:02,153 INFO [BaseDB:400] Database supports case sensitive queries
21:57:03,672 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyProcessSuite
21:57:03,673 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyProperties
21:57:03,674 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyMySQL
21:57:03,674 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyCounter
21:57:03,794 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyUUID
21:57:03,808 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyRole
21:57:03,815 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyBlogs
21:57:03,903 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyBookmarks
21:57:03,908 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyCalendar
21:57:03,914 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyDocumentLibrary
21:57:03,928 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyGroup
21:57:03,957 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyImageGallery
21:57:03,961 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyJournal
21:57:03,982 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyLayout
21:57:03,986 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyMessageBoards
21:57:04,016 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyOrganization
21:57:04,017 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifySocial
21:57:04,018 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyUser
21:57:04,031 INFO [VerifyProcess:76] Verifying com.liferay.portal.verify.VerifyWiki
21:57:06,419 INFO [PluginPackageUtil:1109] Reloading repositories
21:57:08,092 INFO [HotDeployUtil:69] Initializing hot deploy manager 4955751
21:57:08,236 INFO [AutoDeployDir:105] Auto deploy scanner started for /home/slack/programas/liferay-portal-6.0.6/deploy
29-mar-2011 21:57:16 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio default-site-templates-hook de la aplicación web
21:57:16,761 INFO [HookHotDeployListener:394] Registering hook for default-site-templates-hook
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/default-site-templates-hook/WEB-INF/classes/portal.properties
21:57:22,337 INFO [HookHotDeployListener:649] Hook for default-site-templates-hook is available for use
29-mar-2011 21:57:22 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio sevencogs-mobile-theme de la aplicación web
21:57:22,727 INFO [ThemeHotDeployListener:78] Registering themes for sevencogs-mobile-theme
21:57:22,750 INFO [ThemeHotDeployListener:89] 1 theme for sevencogs-mobile-theme is available for use
29-mar-2011 21:57:22 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio sevencogs-theme de la aplicación web
21:57:23,170 INFO [ThemeHotDeployListener:78] Registering themes for sevencogs-theme
21:57:23,494 INFO [ThemeHotDeployListener:89] 1 theme for sevencogs-theme is available for use
29-mar-2011 21:57:23 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio web-form-portlet de la aplicación web
21:57:24,138 INFO [PortletHotDeployListener:220] Registering portlets for web-form-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/web-form-portlet/WEB-INF/classes/portlet.properties
21:57:24,466 INFO [PortletHotDeployListener:369] 1 portlet for web-form-portlet is available for use
29-mar-2011 21:57:24 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio opensocial-portlet de la aplicación web
21:57:25,105 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/service.properties
21:57:25,258 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:25,382 INFO [ServiceComponentLocalServiceImpl:187] Running OpenSocial SQL scripts
21:57:29,640 INFO [PortletHotDeployListener:220] Registering portlets for opensocial-portlet
21:57:29,642 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:29,665 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:29,678 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
21:57:29,776 WARN [SAXReaderImpl:429] XSD validation is diasabled because org.apache.xerces.parsers.XIncludeAwareParserConfiguration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/portlet.properties
21:57:30,044 INFO [PortletHotDeployListener:374] 2 portlets for opensocial-portlet are available for use
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/service.properties
21:57:30,657 INFO [DialectDetector:69] Determining dialect for PostgreSQL 8
21:57:30,658 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.PostgreSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/opensocial-portlet/WEB-INF/classes/service.properties
29-mar-2011 21:57:44 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio mail-portlet de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
21:57:45,131 INFO [DialectDetector:69] Determining dialect for PostgreSQL 8
21:57:45,132 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.PostgreSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/service.properties
21:57:45,795 INFO [ServiceComponentLocalServiceImpl:187] Running Mail SQL scripts
21:57:47,894 INFO [HookHotDeployListener:394] Registering hook for mail-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portal.properties
21:57:47,950 INFO [HookHotDeployListener:649] Hook for mail-portlet is available for use
21:57:47,951 INFO [PortletHotDeployListener:220] Registering portlets for mail-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/mail-portlet/WEB-INF/classes/portlet.properties
21:57:48,202 INFO [PortletHotDeployListener:374] 2 portlets for mail-portlet are available for use
29-mar-2011 21:57:48 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio chat-portlet de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/service.properties
21:57:48,752 INFO [DialectDetector:69] Determining dialect for PostgreSQL 8
21:57:48,753 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.PostgreSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/service.properties
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/service.properties
21:57:49,155 INFO [ServiceComponentLocalServiceImpl:187] Running Chat SQL scripts
21:57:50,230 INFO [PortletHotDeployListener:220] Registering portlets for chat-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/chat-portlet/WEB-INF/classes/portlet.properties
21:57:50,392 INFO [PortletHotDeployListener:369] 1 portlet for chat-portlet is available for use
29-mar-2011 21:57:50 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio tunnel-web de la aplicación web
29-mar-2011 21:57:52 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio sevencogs-hook de la aplicación web
21:57:52,340 INFO [HotDeployEvent:95] Plugin sevencogs-hook requires google-maps-portlet, kaleo-web, mail-portlet, sevencogs-mobile-theme, sevencogs-theme, social-networking-portlet, web-form-portlet
21:57:52,341 INFO [HotDeployUtil:137] Queueing sevencogs-hook for deploy because it is missing google-maps-portlet, kaleo-web, social-networking-portlet
29-mar-2011 21:57:52 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio kaleo-web de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/kaleo-web/WEB-INF/classes/service.properties
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/kaleo-web/WEB-INF/classes/service.properties
21:57:53,054 INFO [DialectDetector:69] Determining dialect for PostgreSQL 8
21:57:53,056 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.PostgreSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/kaleo-web/WEB-INF/classes/service.properties
21:57:54,992 INFO [ServiceComponentLocalServiceImpl:187] Running Kaleo SQL scripts
21:57:59,428 INFO [HookHotDeployListener:394] Registering hook for kaleo-web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/kaleo-web/WEB-INF/classes/portal.properties
21:57:59,506 INFO [HookHotDeployListener:649] Hook for kaleo-web is available for use
21:57:59,508 INFO [HotDeployUtil:153] sevencogs-hook is still in queue because it is missing google-maps-portlet, social-networking-portlet
29-mar-2011 21:57:59 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio google-maps-portlet de la aplicación web
21:58:00,145 INFO [PortletHotDeployListener:220] Registering portlets for google-maps-portlet
21:58:00,283 INFO [PortletHotDeployListener:369] 1 portlet for google-maps-portlet is available for use
21:58:00,284 INFO [HotDeployUtil:153] sevencogs-hook is still in queue because it is missing social-networking-portlet
29-mar-2011 21:58:00 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio wsrp-portlet de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/wsrp-portlet/WEB-INF/classes/service.properties
21:58:00,732 INFO [ServiceComponentLocalServiceImpl:187] Running WSRP SQL scripts
21:58:01,741 INFO [PortletHotDeployListener:220] Registering portlets for wsrp-portlet
21:58:01,952 INFO [PortletHotDeployListener:374] 2 portlets for wsrp-portlet are available for use
21:58:01,954 INFO [HotDeployUtil:153] sevencogs-hook is still in queue because it is missing social-networking-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/wsrp-portlet/WEB-INF/classes/service.properties
21:58:02,131 INFO [DialectDetector:69] Determining dialect for PostgreSQL 8
21:58:02,133 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.PostgreSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/wsrp-portlet/WEB-INF/classes/service.properties
29-mar-2011 21:58:03 org.apache.catalina.startup.HostConfig deployDirectory
INFO: Despliegue del directorio social-networking-portlet de la aplicación web
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/service.properties
21:58:03,746 INFO [DialectDetector:69] Determining dialect for PostgreSQL 8
21:58:03,747 INFO [DialectDetector:49] Using dialect org.hibernate.dialect.PostgreSQLDialect
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/service.properties
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/service.properties
21:58:04,065 INFO [ServiceComponentLocalServiceImpl:187] Running SN SQL scripts
21:58:05,258 INFO [HookHotDeployListener:394] Registering hook for social-networking-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/portal.properties
21:58:05,360 INFO [HookHotDeployListener:649] Hook for social-networking-portlet is available for use
21:58:05,363 INFO [PortletHotDeployListener:220] Registering portlets for social-networking-portlet
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/social-networking-portlet/WEB-INF/classes/portlet.properties
21:58:05,993 INFO [PortletHotDeployListener:374] 8 portlets for social-networking-portlet are available for use
21:58:05,994 INFO [HotDeployUtil:101] Deploying sevencogs-hook from queue
21:58:06,166 INFO [HookHotDeployListener:394] Registering hook for sevencogs-hook
Loading file:/home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29/webapps/sevencogs-hook/WEB-INF/classes/portal.properties
21:58:06,230 INFO [UpgradeProcess:108] Upgrading com.liferay.sevencogs.hook.upgrade.UpgradeProcess_1_0_0
21:58:06,243 INFO [UpgradeProcess:108] Upgrading com.liferay.sevencogs.hook.upgrade.v1_0_0.UpgradeCompany
21:58:48,031 INFO [HookHotDeployListener:649] Hook for sevencogs-hook is available for use
29-mar-2011 21:58:48 org.apache.coyote.http11.Http11Protocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8087
29-mar-2011 21:58:48 org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
29-mar-2011 21:58:48 org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/40 config=null
29-mar-2011 21:58:48 org.apache.catalina.startup.Catalina start
INFO: Server startup in 182598 ms

paso 5: verificamos que en nuestra base de datos este la nueva estructura de datos y que la tabla user_ contenga datos. e ingresamos al portal a traves del browser y nos logueamos como bruno pass bruno

.... continua

miércoles, 23 de marzo de 2011

Por que Linux

Linux se ha convertido en un sistema operativo de escritorio de gran alcance que puede ejecutarse en hardware ya existente. En muchos casos, requiere menos memoria y potencia de procesamiento que otras alternativas para ofrecer un rendimiento similar en el cliente.
Debido a su diseño y al carácter de open source, Linux puede ser fácilmente personalizado.
Linux está disponible bajo la GNU General Public License2 (GPL), acuerdo y se puede obtener de forma gratuita. Sin embargo, la mayoría de las empresas adquieren una distribución de Linux como Red-Hat para aprovechar las características de grupos y soporte para algunos casos.
La potencia y flexibilidad de Linux, lo está convirtiendo en el sistema a utilizar para muchas organizaciones. Su funcionalidad, la estabilidad, escalabilidad, y el apoyo han sido factores clave que han ampliado el uso de Linux desde las áreas académicas hasta las empresas.
Con el apoyo de compañías como IBM y muchas otras que ofrecen los clientes clave, tales como Lotus Notes ®, el navegador web Mozilla, suites de oficina abierta como open office, y de escritorio Java, Linux está ganando impulso como plataforma operativa de escritorio.
Linux tiene soporte para la interfaz del sistema operativo portátil (POSIX) estándar que define como un UNIX ® como sistema operativo, especificando en detalle las llamadas y las interfaces. La compatibilidad POSIX ha hecho posible que los desarrolladores de muchas aplicaciones populares de UNIX portarlas a Linux y crear muchas utilidades más.
Linux también proporciona una implementación completa de la red TCP / IP.
Una gama completa de clientes y servicios están soportados, incluyendo una interfaz de programación para que los programas que utilizan TCP / IP puedan fácilmente trabajar co Linux.



Copias de las licencias GNU GPL se puede encontrar en http://www.gnu.org/copyleft/gpl.html


El proyecto GNU con el apoyo de la Free Software Foundation (FSF):
http://www.gnu.org/fsf/fsf.html

Linux es compatible con la norma ISO-9660 sistema de archivos para CD-ROM, la impresión de software, dispositivos multimedia, y los módems. En resumen, ofrece una plataforma 100% flexible, robusta, estable y rapida para apoyar las necesidades de una amplia gama de tipos de aplicaciones cliente, universidades, investigacion, empresas, etc.

viernes, 18 de marzo de 2011

Instalar Oracle XE

Desde los repositorios en 5 pasos con apt

Primer paso:
sudo vi /etc/apt/sources.list

Segundo paso:
deb http://oss.oracle.com/debian unstable main non-free

Tercer paso:
slack@zion:~$ wget http://oss.oracle.com/el4/RPM-GPG-KEY-oracle -O- | sudo apt-key add -
--2011-03-18 17:36:38-- http://oss.oracle.com/el4/RPM-GPG-KEY-oracle
Resolviendo oss.oracle.com... 141.146.12.120
Conectando a oss.oracle.com|141.146.12.120|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 1744 (1,7K) [text/plain]
Guardando en: «STDOUT»

100%[=============================================================================================================================================>] 1.744 --.-K/s en 0,001s

2011-03-18 17:36:51 (1,49 MB/s) - escrito en la salida estándar [1744/1744]

OK

Cuarto paso:
sudo apt-get update

Quinto paso:
slack@zion:~$ sudo apt-get install oracle-xe
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Los siguientes paquetes se instalaron automáticamente y no son necesarios:
libvncserver0 virtualbox-ose-dkms
Utilice «apt-get autoremove» para eliminarlos.
Se instalarán los siguientes paquetes NUEVOS:
oracle-xe
0 actualizados, 1 se instalarán, 0 para eliminar y 323 no actualizados.
Necesito descargar 221MB de archivos.
Se utilizarán 405MB de espacio de disco adicional después de esta operación.
Des:1 http://oss.oracle.com/debian/ unstable/non-free oracle-xe i386 10.2.0.1-1.1 [221MB]
Descargados 221MB en 49min 18s (74,6kB/s)
Seleccionando el paquete oracle-xe previamente no seleccionado.
(Leyendo la base de datos ... 00%
167518 ficheros y directorios instalados actualmente.)
Desempaquetando oracle-xe (de .../oracle-xe_10.2.0.1-1.1_i386.deb) ...
Procesando disparadores para desktop-file-utils ...
Procesando disparadores para python-gmenu ...
Rebuilding /usr/share/applications/desktop.es_ES.utf8.cache...
Procesando disparadores para man-db ...
Procesando disparadores para ureadahead ...
ureadahead will be reprofiled on next reboot
Procesando disparadores para python-support ...
Configurando oracle-xe (10.2.0.1-1.1) ...
update-rc.d: warning: /etc/init.d/oracle-xe missing LSB information
update-rc.d: see
Executing Post-install steps...

-e You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.


Suerte !!