lunes, 19 de marzo de 2012
ClassNotFoundException: org.hibernate.hql.ast.HqlToken
Este error hace referencia a la forma de traducir las querys de hibernate con ANTLR (herramienta de reconocimiento de lenguaje), para solucionar esto debemos decirle a hibernate que métodos utilizara para efectuar las consultas.
Hibernate posee propiedades que no siempre están declaradas en un contexto de aplicación en algun archivo xml de configuración, una de esas propiedades es miscelanea como se le califica "" debemos ejecutar la siguiente configuración en un entorno spring framework para una aplicación montada en eclipse.( que de paso para esta prueba de concepto estaba integrada con Oracle Weblogic como servidor de aplicaciones) .
en el archivo properties.xml (en la def de la base de datos):
// <!-- database URL for creating other dbs - used in db-create target -->
// <property name="database.admin.url" value="jdbc:${database.type}://${database.host}/template1"/>
// <property name="database.admin.username" value="postgres"/>
// <property name="database.admin.password" value="postgres"/>
// <property name="hibernate.dialect" value="org.hibernate.dialect.PostgreSQLDialect"/>
// <property name="hibernate.query.factory_class" value="org.hibernate.hql.classic.ClassicQueryTranslatorFactory"/>
// <property name="database.driver_class" value="org.postgresql.Driver"/>
// <property name="database.url" value="jdbc:${database.type}://${database.host}/${database.name}?useUnicode=true&amp;characterEncoding=utf-8"/>
// <property name="database.show_sql" value="true"/>
// <property name="database.schema" value=""/>
se agrega la linea : // <property name="hibernate.query.factory_class" value="org.hibernate.hql.classic.ClassicQueryTranslatorFactory"/>
Esto es para que interprete de forma clásica las querys de hibernate.
En el applicationContext-hibernate.xml :
// <property name="hibernateProperties">
// <props>
// <prop key="hibernate.dialect">@HIBERNATE-DIALECT@</prop>
// <prop key="hibernate.query.factory_class">@HIBERNATE-TRANSLATOR@</prop>
// <prop key="hibernate.query.substitutions">1</prop>
// <!-- Create/update the database tables automatically when the JVM starts up
// <prop key="hibernate.hbm2ddl.auto">update</prop> -->
// <!-- Turn batching off for better error messages under PostgreSQL
// <prop key="hibernate.jdbc.batch_size">0</prop> -->
// </props>
// </property>
Se le dice que utilice esa variable como translator.
y por ultimo se incluye en el buid.xml de nuestra app la siguiente declaracion:
// <!-- List of variables in .properties files that will be replaced at build time -->
// <filterset id="variables.to.replace">
// <filter token="APPNAME" value="${webapp.name}"/>
// <filter token="ENCRYPT-ALGORITHM" value="${encrypt.algorithm}"/>
// <filter token="ERROR-MAILTO" value="${error.mailTo}"/>
// <filter token="ERROR-MAILFROM" value="${mail.default.from}"/>
// <filter token="ERROR-MAILHOST" value="${mail.host}"/>
// <filter token="ERROR-SERVER" value="${error.server}"/>
// <filter token="SECURE-LOGIN" value="${secure.login}"/>
// <filter token="HIBERNATE-DIALECT" value="${hibernate.dialect}"/>
// <filter token="HIBERNATE-TRANSLATOR" value="${hibernate.query.factory_class}"/>
// </filterset>
Ahora iniciamos nuestro weblogic, generamos el war con eclipse y lo deployamos en nuestro server por consola web
Saludos y suerte !!
miércoles, 30 de noviembre de 2011
Java alternatives
- Instalar RPM de jre o jdk.
- Crear el archivo /etc/profile.d/java.sh
export PATH=/usr/java/jdk1.5.0_06/bin:$PATH
JAVA_HOME="/usr/java/jdk1.5.0_06/"
export JAVA_HOME
- Darle permisos de ejecución
# chmod 755 /etc/profile.d/java.sh - Configurar alternatives
# alternatives --install /usr/bin/java java /usr/java/jdk1.5.0_06/bin/java 2
# echo -ne "2\n" | alternatives --config java
y luego el comando java -version debe listar la jdk seleccionada con : alternatives
Saludos!
viernes, 3 de junio de 2011
Cursores de Oracle
ORA-01000 número máximo de cursores abiertos excedido, debemos ejecutar las sigtes acciones.
Saber el número maximo de cursores de un oracle debes ejecutar la siguiente query como admin de la base de datos (sys), por defecto es 200.
Select value from v$parameter Where name='open_cursors'
para modificar este valor a 1000 por ej, debes ejecutar la sigte query, tb como sys
Alter system set open_cursors = 1000;
Suerte !!
jueves, 28 de abril de 2011
Sun Java System Applicaciton Server (Glassfish)
GlassFish es un servidor de aplicaciones escrito en Java EE. Usa código de Sun Java Application Server y ahora de la arquitectura TopLink de Oracle. Es una excelente alternativa open source frente a Apache Tomcat, Geronimo o JBoss, weblogic, oracle, etc.
En Glassfish puedes contener aplicaciones J2EE, Web Services o BPEL, lo que permite implementar arquitecturas orientadas a servicios (SOA) fácilmente.
Entre las características más notables de GlassFish cabe destacar su velocidad, alta escalabilidad, manejo centralizado de clusters e instancias, bajo consumo de memoria, interoperabilidad con .NET 3 y una excelente consola de administración web o desde su ide integrado Netbeans.
Glassfish desarrollado por Sun y la comunidad es open source. La instalación de GlassFish en Linux y Windows es similar ya que es multiplataforma, y en la red hay abundante documentación disponible para resolver cualquier posible incidencia.
Por eso Netbans itś all you need
Aqui esta el link : http://glassfish.java.net/downloads
Saludos !!
lunes, 28 de marzo de 2011
Liferay en Linux
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 utilizarUsing CATALINA_BASE: /home/slack/programas/liferay-portal-6.0.6/tomcat-6.0.29
y crear la nueva estructura en la base de datos postgres configurada
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
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
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 !!