Instalación básica Alfresco 4

cancel
Showing results for 
Search instead for 
Did you mean: 
josgonbue
Member II

Instalación básica Alfresco 4

Buenas community,
hace tiempo instalé Alfresco 3.3 en Win2 y su instalación recuerdo que tampoco fuera muy complicada pero esta vez estoy intentando instalar Alfresco 4 en linux y no tengo valor. Para empezar decir que he intentado 3 veces hacerlo andar siguiendo las instrucciones oficiales de instalación y no tengo forma. Tengo varias dudas. Para empezar hay veces que pone <TOMCAT-HOME> y otras <TOMCAT_HOME> que como pone es el lugar de instalación de tomcat pero bien, entiendo que TOMCAT_HOME=/var/lib/tomcat6 no /usr/share/tomcat6 aunque no me queda claro. En las instalación de Tomcat 6 dice These instructions recommend that you name the required directories as shared/classes and shared/lib. En /var/lib/tomcat6/shared ya está classes, así que me hace dudar.Pero decimos venga seguimos a ver que pasa. Cuando llegamos a la configuración para usar mysql como sgbd, la primera en la frente te dice Copy the JAR file into the <TOMCAT_HOME>/lib directory for Tomcat 6. En /var/lib/tomcat6 no aparece lib, en cambio en /usr/share/tomcat6 si aparece lib además cargadito de JARS.¿Ahora qué?
Pues con estas dudas e intentando hacer combinaciones de posibilidades aún no he conseguido hacer andar Alfresco 4.
Si pudiérais echarme una manita os lo agradecería.
Un saludo y gracias.
5 Replies
cjimenez
Member II

Re: Instalación básica Alfresco 4

Hola cuando se dice <TOMCAT_HOME> o <TOMCAT-HOME> es igual que decir /var/lib/tomcat6
Además hay que crear una carpeta llamada /var/lib/tomcat6/shared/lib y ahi pone todos los .jar –> pero para que esto funcione debe modificar este archivo /var/lib/tomcat6/conf/catalina.properties más o menos asi o igual
shared.loader=${catalina.home}/shared/classes,${catalina.home}/shared/*.jar,/var/lib/tomcat6/shared/classes,/var/lib/tomcat6/shared/lib/*.jar 

I hope it helps xD
josgonbue
Member II

Re: Instalación básica Alfresco 4

Ante todo muchas gracias por el aporte,
siguiendo las instrucciones http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fsimpleinsta... sigo los pasos indicados, pongo los jar en /var/lib/tomcat6/shared/lib modifico los ficheros, etc creao que al pie de la letra. Pero me surgen diversas dudas, la primera con el directorio webserver/endorsed que aparece tras descomprimir los ficheros de alfresco ¿qué se hace?No creo que sobren… Con respecto a la base de datos supongo que se ejecutará al desplegar algún script que cree sus tablas, etc.Los permisos…A lo mejor hago una pregunta tonta pero, ¿todos los ficheros tienen que ser al menos del grupo tomcat6 no? Para que éste pueda echarles mano.
¿En que situación estoy?
Pues creo que con todos los archivos en su sitio los del famoso endorsed al contener jars los he metido en <TOMCAT_HOME>/shared/lib, entro en manager weapp parece que el sahre si arranca pero no me abre el navegador si hago click sobre él, alfresco ni siquiera arranca.
Voy a revisar un par de cosas y si sigue sin ir revisaré el log a ver si logro entender que c— pasa y si eso os lo posteo.Gracias por vuestra colaboración.
Un saludo.
cjimenez
Member II

Re: Instalación básica Alfresco 4

Ante todo muchas gracias por el aporte,
siguiendo las instrucciones http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Fconcepts%2Fsimpleinsta... sigo los pasos indicados, pongo los jar en /var/lib/tomcat6/shared/lib modifico los ficheros, etc creao que al pie de la letra. Pero me surgen diversas dudas, la primera con el directorio webserver/endorsed que aparece tras descomprimir los ficheros de alfresco ¿qué se hace?No creo que sobren… Con respecto a la base de datos supongo que se ejecutará al desplegar algún script que cree sus tablas, etc.Los permisos…A lo mejor hago una pregunta tonta pero, ¿todos los ficheros tienen que ser al menos del grupo tomcat6 no? Para que éste pueda echarles mano.
¿En que situación estoy?
Pues creo que con todos los archivos en su sitio los del famoso endorsed al contener jars los he metido en <TOMCAT_HOME>/shared/lib, entro en manager weapp parece que el sahre si arranca pero no me abre el navegador si hago click sobre él, alfresco ni siquiera arranca.
Voy a revisar un par de cosas y si sigue sin ir revisaré el log a ver si logro entender que c— pasa y si eso os lo posteo.Gracias por vuestra colaboración.
Un saludo.


Es cierto Alfresco se encarga de la base de datos pero primero tu debes crear la base de datos vacia y el usuario alfresco para que el sistema cree las tablas por primera vez
CREATE USER alfresco with Password 'alfresco'; 
CREATE DATABASE alfresco with owner alfresco;
grant all privileges on database alfresco to alfresco;


y para copiar los archivo yo hago lo siguiente, lo encontré en alguna parte del foro hace un tiempo asi que no te puedo dar la fuente
$ sudo -r ./Alfresco/web-server/shared /var/lib/tomcat6
$ sudo cp -r ./Alfresco/web-server/webapps /var/lib/tomcat6
$ sudo cp -r ./Alfresco/web-server/lib /var/lib/tomcat6/shared/lib
$ sudo cp -r ./Alfresco/bin /var/lib/tomcat6/bin
$ sudo cp -r ./Alfresco/licenses /var/lib/tomcat6/licenses
$ sudo cp -r ./Alfresco/README.txt /var/lib/tomcat6/README.txt

Alfresco es la carpeta donde descomprimí el archivo que uno descarga
josgonbue
Member II

Re: Instalación básica Alfresco 4

Yo sigo a lo mío a ver si me aclaro,
ante todo sigo sin poder hacer funcionar Alfresco 4 Smiley Surprisedops:  pero sigo en la lucha tras leer y releer las intrucciones junto con unas indicaciones de instalación de alfresco 3.3 en http://yoadminsis.blogspot.com/2010/04/instalacion-alfresco-33-community-war_15.html intentando ver algo que en las instrucciones oficiales se me hayan podido pasar por alto…Me tiré de lleno a los logs de hecho os pongo un cachito del catalina.out a ver si alguien es capaz de ver algo y/o entender lo que me pueda estar pasando.
Gracias otra vez de antemano.
Un saludo.

27-oct-2011 22:43:58 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
27-oct-2011 22:44:01 com.sun.xml.ws.transport.http.servlet.WSServletDelegate <init>
INFO: WSSERVLET14: JAX-WS servlet initializing
27-oct-2011 22:44:01 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
27-oct-2011 22:44:01 org.apache.catalina.core.StandardContext start
GRAVE: Falló en arranque del Contexto [/alfresco] debido a errores previos
27-oct-2011 22:44:01 com.sun.xml.ws.transport.http.servlet.WSServletDelegate destroy
INFO: WSSERVLET15: JAX-WS servlet destroyed
27-oct-2011 22:44:01 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFO: WSSERVLET13: JAX-WS context listener destroyed
27-oct-2011 22:44:01 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [net.sf.ehcache.CacheManager@4814f9] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:44:01 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@1660e34]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
27-oct-2011 22:44:01 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@12e9d91]) and a value of type [org.apache.ibatis.executor.ErrorContext] (value [
### The error may exist in alfresco/ibatis/#resource.dialect#/avm-common-SqlMap.xml]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
27-oct-2011 22:44:01 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@16ac126]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@1aed7c1]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
27-oct-2011 22:44:01 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@1091c3f]) and a value of type [java.util.WeakHashMap] (value [{class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@1894800}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
log4j:ERROR LogMananger.repositorySelector was null likely due to error in class reloading, using NOPLoggerRepository.
27-oct-2011 22:44:03 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración docs.xml
27-oct-2011 22:44:03 org.apache.catalina.startup.HostConfig deployWAR
INFO: Despliegue del archivo share.war de la aplicación web
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: alfresco.log (Permission denied)
   at java.io.FileOutputStream.openAppend(Native Method)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:192)
   at java.io.FileOutputStream.<init>(FileOutputStream.java:116)
   at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
   at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
   at org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:216)
   at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
   at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
   at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
   at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
   at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
   at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:544)
   at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:440)
   at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:476)
   at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:471)
   at org.apache.log4j.LogManager.<clinit>(LogManager.java:125)
   at org.apache.log4j.Logger.getLogger(Logger.java:105)
   at org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:289)
   at org.apache.commons.logging.impl.Log4JLogger.<init>(Log4JLogger.java:109)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
   at org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1116)
   at org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:914)
   at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:604)
   at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:336)
   at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:310)
   at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
   at org.apache.myfaces.webapp.StartupServletContextListener.<clinit>(StartupServletContextListener.java:58)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
   at java.lang.Class.newInstance0(Class.java:355)
   at java.lang.Class.newInstance(Class.java:308)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4079)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
   at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
log4j:ERROR Either File or DatePattern options are not set for appender [File].
2011-10-27 22:44:07,209  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2011-10-27 22:44:07,281  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2011-10-27 22:44:07,281  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2011-10-27 22:44:07,286  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
2011-10-27 22:44:08,864  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 311 Web Scripts (+0 failed), 321 URLs
2011-10-27 22:44:08,865  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 8 Package Description Documents (+0 failed)
2011-10-27 22:44:08,865  INFO  [extensions.webscripts.DeclarativeRegistry] [main] Registered 0 Schema Description Documents (+0 failed)
2011-10-27 22:44:08,951  INFO  [extensions.webscripts.AbstractRuntimeContainer] [main] Initialised Spring Surf Container Web Script Container (in 1662.3734ms)
2011-10-27 22:44:08,957  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor freemarker for extension ftl
2011-10-27 22:44:08,962  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor javascript for extension js
27-oct-2011 22:44:09 org.apache.coyote.http11.Http11Protocol start
INFO: Arrancando Coyote HTTP/1.1 en puerto http-8080
27-oct-2011 22:44:09 org.apache.catalina.startup.Catalina start
INFO: Server startup in 22505 ms
27-oct-2011 22:52:43 org.apache.coyote.http11.Http11Protocol init
GRAVE: Error inicializando punto final (endpoint)
java.net.BindException: Address already in use <null>:8080
   at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:549)
   at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:176)
   at org.apache.catalina.connector.Connector.initialize(Connector.java:1014)
   at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
   at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Caused by: java.net.BindException: Address already in use
   at java.net.PlainSocketImpl.socketBind(Native Method)
   at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)
   at java.net.ServerSocket.bind(ServerSocket.java:328)
   at java.net.ServerSocket.<init>(ServerSocket.java:194)
   at java.net.ServerSocket.<init>(ServerSocket.java:150)
   at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:50)
   at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:538)
   … 12 more
27-oct-2011 22:52:43 org.apache.catalina.startup.Catalina load
GRAVE: Catalina.start
LifecycleException:  Falló la inicialización del manejador de protocolo: java.net.BindException: Address already in use <null>:8080
   at org.apache.catalina.connector.Connector.initialize(Connector.java:1016)
   at org.apache.catalina.core.StandardService.initialize(StandardService.java:680)
   at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:795)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:524)
   at org.apache.catalina.startup.Catalina.load(Catalina.java:548)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:261)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
27-oct-2011 22:52:43 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 385 ms
27-oct-2011 22:52:43 org.apache.catalina.core.StandardService start
INFO: Arrancando servicio Catalina
27-oct-2011 22:52:43 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.28
27-oct-2011 22:52:43 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración examples.xml
27-oct-2011 22:52:43 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración manager.xml
27-oct-2011 22:52:43 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración host-manager.xml
27-oct-2011 22:52:43 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración ROOT.xml
27-oct-2011 22:52:43 org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Desplieque del descriptor de configuración alfresco.xml
27-oct-2011 22:52:44 org.apache.catalina.core.StandardContext addApplicationListener
INFO: El escuchador "org.apache.myfaces.webapp.StartupServletContextListener" ya está configurado para este contexto. La definición duplicada ha sido ignorada.
2011-10-27 22:52:53,938  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Starting 'sysAdmin' subsystem, ID: [sysAdmin, default]
2011-10-27 22:52:54,008  INFO  [management.subsystems.ChildApplicationContextFactory] [main] Startup of 'sysAdmin' subsystem, ID: [sysAdmin, default] complete
27-oct-2011 22:53:01 org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine default created
2011-10-27 22:53:02,404  WARN  [alfresco.util.AbstractTriggerBean] [main] Job ehCacheTracerJob is not active/enabled
2011-10-27 22:53:06,065  INFO  [extensions.webscripts.TemplateProcessorRegistry] [main] Registered template processor Repository Template Processor for extension ftl
2011-10-27 22:53:06,067  INFO  [extensions.webscripts.ScriptProcessorRegistry] [main] Registered script processor Repository Script Processor for extension js
2011-10-27 22:53:15,242  INFO  [domain.schema.SchemaBootstrap] [main] Schema managed by database dialect org.hibernate.dialect.MySQLInnoDBDialect.
2011-10-27 22:53:17,776  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-2806911550501934702.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-RepoTables.sql).
2011-10-27 22:53:18,844  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-3057052305964621876.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-LockTables.sql).
2011-10-27 22:53:18,899  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-2251519691063566587.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-ContentTables.sql).
2011-10-27 22:53:19,031  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-27942882906990093.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-PropertyValueTables.sql).
2011-10-27 22:53:19,180  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-4508577259326793181.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-AuditTables.sql).
2011-10-27 22:53:19,252  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-1931755313442816606.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-AvmTables.sql).
2011-10-27 22:53:20,863  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-8594727796057024446.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-ActivityTables.sql).
2011-10-27 22:53:20,907  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-261960381980760760.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-UsageTables.sql).
2011-10-27 22:53:20,954  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-6640872233544207214.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoCreate-SubscriptionTables.sql).
2011-10-27 22:53:21,013  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-698702321969314419.sql (Generated).
2011-10-27 22:53:28,221  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-7837931007314547825.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-JBPM-Extra.sql).
2011-10-27 22:53:28,228  INFO  [domain.schema.SchemaBootstrap] [main] Executing database script /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-5466717123463183256.sql (Copied from classpath:alfresco/dbscripts/create/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-JBPM-FK-indexes.sql).
27-oct-2011 22:53:28 org.activiti.engine.impl.ProcessEngineImpl <init>
INFO: ProcessEngine activitiBootstrapEngine created
27-oct-2011 22:53:28 org.activiti.engine.impl.db.DbSqlSession executeSchemaResource
INFO: performing create on engine with resource org/activiti/db/create/activiti.mysql.create.engine.sql
27-oct-2011 22:53:29 org.activiti.engine.impl.db.DbSqlSession executeSchemaResource
INFO: performing create on history with resource org/activiti/db/create/activiti.mysql.create.history.sql
27-oct-2011 22:53:30 org.activiti.engine.impl.db.DbSqlSession executeSchemaResource
INFO: performing create on identity with resource org/activiti/db/create/activiti.mysql.create.identity.sql
2011-10-27 22:53:30,755  INFO  [domain.schema.SchemaBootstrap] [main] All executed statements:  /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-All_Statements-1120965205938162002.sql.
2011-10-27 22:53:31,223  INFO  [domain.schema.SchemaBootstrap] [main] Normalized schema dumped to file /var/lib/tomcat6/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-7045987906538718377.xml.
27-oct-2011 22:53:31 org.activiti.engine.impl.jobexecutor.JobAcquisitionThread run
INFO: JobAcquisitionThread starting to acquire jobs
2011-10-27 22:53:31,310  ERROR [web.context.ContextLoader] [main] Context initialization failed
org.alfresco.error.AlfrescoRuntimeException: 09270001 Keystores are invalid
   at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:70)
   at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:60)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:388)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:259)
   at org.alfresco.encryption.EncryptionChecker.onBootstrap(EncryptionChecker.java:59)
   at org.springframework.extensions.surf.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:56)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEventInternal(SafeApplicationEventMulticaster.java:209)
   at org.alfresco.repo.management.SafeApplicationEventMulticaster.multicastEvent(SafeApplicationEventMulticaster.java:180)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:303)
   at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:911)
   at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:428)
   at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)
   at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)
   at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)
   at org.alfresco.web.app.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:63)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 09270000 Failed to create keystore:
   Location: /root/alf_data/keystore/keystore
   Provider: null
   Type:     JCEKS
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:630)
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:836)
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.validateKeys(AlfrescoKeyStoreImpl.java:185)
   at org.alfresco.encryption.KeyStoreChecker.validateKeyStores(KeyStoreChecker.java:47)
   at org.alfresco.encryption.EncryptionChecker$1.execute(EncryptionChecker.java:65)
   … 38 more
Caused by: java.lang.NullPointerException
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.getSecretKey(AlfrescoKeyStoreImpl.java:725)
   at org.alfresco.encryption.AlfrescoKeyStoreImpl.createKey(AlfrescoKeyStoreImpl.java:624)
   … 42 more
27-oct-2011 22:53:31 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
INFO: WSSERVLET12: JAX-WS context listener initializing
27-oct-2011 22:53:32 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextInitialized
GRAVE: WSSERVLET11: failed to parse runtime descriptor: java.lang.OutOfMemoryError: PermGen space
java.lang.OutOfMemoryError: PermGen space
   at javax.xml.stream.SecuritySupport.doesFileExist(SecuritySupport.java:104)
   at javax.xml.stream.FactoryFinder.find(FactoryFinder.java:205)
   at javax.xml.stream.XMLInputFactory.newInstance(XMLInputFactory.java:123)
   at com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.getXMLInputFactory(XMLStreamReaderFactory.java:109)
   at com.sun.xml.ws.api.streaming.XMLStreamReaderFactory.<clinit>(XMLStreamReaderFactory.java:78)
   at com.sun.xml.ws.transport.http.DeploymentDescriptorParser.parse(DeploymentDescriptorParser.java:144)
   at com.sun.xml.ws.transport.http.servlet.WSServletContextListener.contextInitialized(WSServletContextListener.java:108)
   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)
   at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)
   at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
   at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
   at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
   at org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:637)
   at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:563)
   at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:498)
   at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
   at org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
   at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
   at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:445)
   at org.apache.catalina.core.StandardService.start(StandardService.java:519)
   at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:581)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   at java.lang.reflect.Method.invoke(Method.java:597)
   at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
27-oct-2011 22:53:32 org.apache.catalina.core.StandardContext start
GRAVE: Error listenerStart
27-oct-2011 22:53:32 org.apache.catalina.core.StandardContext start
GRAVE: Falló en arranque del Contexto [/alfresco] debido a errores previos
27-oct-2011 22:53:32 com.sun.xml.ws.transport.http.servlet.WSServletContextListener contextDestroyed
INFO: WSSERVLET13: JAX-WS context listener destroyed
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [Timer-0] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-1] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-2] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-3] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-4] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-5] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-6] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-7] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-8] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-9] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_Worker-10] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [Thread-4] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [JobAcquisitionThread] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [SolrWatcherScheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearReferencesThreads
GRAVE: The web application [/alfresco] appears to have started a thread named [DefaultScheduler_QuartzSchedulerThread] but has failed to stop it. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@69757a]) and a value of type [org.alfresco.util.CachingDateFormat] (value [yyyy-MM-dd]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@19fd430]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@23dcc5]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.ClassFactory$1@7335b1]) and a value of type [java.util.WeakHashMap] (value [{class java.util.ArrayList=java.lang.ref.WeakReference@1ca1ead, class org.alfresco.repo.audit.model._3.PathMappings=java.lang.ref.WeakReference@a40029, class org.alfresco.repo.audit.model._3.DataGenerator=java.lang.ref.WeakReference@1068b41, class org.alfresco.repo.audit.model._3.DataGenerators=java.lang.ref.WeakReference@a0718c, class org.alfresco.repo.audit.model._3.Application=java.lang.ref.WeakReference@17eb11d, class org.alfresco.repo.audit.model._3.DataExtractors=java.lang.ref.WeakReference@9df819, class org.alfresco.repo.audit.model._3.DataExtractor=java.lang.ref.WeakReference@10b33ad, class javax.xml.bind.annotation.W3CDomHandler=java.lang.ref.WeakReference@6db2c7, class org.alfresco.repo.audit.model._3.RecordValue=java.lang.ref.WeakReference@1f43358, class org.alfresco.repo.audit.model._3.GenerateValue=java.lang.ref.WeakReference@156fc56, class org.alfresco.repo.audit.model._3.AuditPath=java.lang.ref.WeakReference@1d09296, class org.alfresco.repo.audit.model._3.PathMap=java.lang.ref.WeakReference@47eb19, class org.alfresco.repo.audit.model._3.Audit=java.lang.ref.WeakReference@19bce0b}]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
27-oct-2011 22:53:32 org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
GRAVE: The web application [/alfresco] created a ThreadLocal with key of type [null] (value [com.sun.xml.bind.v2.runtime.Coordinator$1@1f46f78]) and a value of type [java.lang.Object[]] (value [[Ljava.lang.Object;@c26dd5]) but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
Exception in thread "JobAcquisitionThread" java.lang.OutOfMemoryError: PermGen space
Exception in thread "SolrWatcherScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[192.168.2.17:50508]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[192.168.2.17:50504,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[192.168.2.17:50505,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[192.168.2.17:50502,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[192.168.2.17:50506,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
Exception in thread "RMI RenewClean-[192.168.2.17:50501,org.alfresco.util.remote.server.socket.HostConfigurableSocketFactory@0]" java.lang.OutOfMemoryError: PermGen space
cjimenez
Member II

Re: Instalación básica Alfresco 4

Uno de los errores indica que la dirección ya está en uso, será que tienes otra instancia de tomcat corriendo por el puerto 8080?

ahi ví varias cosas raras pero vamos una por una. si alguien más sabe bienvenido!  Smiley Very Happy