AnsweredAssumed Answered

Alfresco listener doesn't start any more

Question asked by belerofon on Oct 26, 2007
Latest reply on Nov 29, 2010 by hap234
Hello,

about one week ago I installed alfresco 2.1 on a Windows 2003 SBS Server with JDK 1.6.0_02 and MySQL 5.0.
I only added the mysql-connector-java-5.0.7-bin.jar to the '\Alfresco\tomcat\server\lib’  folder and to the '\Alfresco\tomcat\common\lib' folder and configured the custom_repository.properties and Custom-hibernate.dialect.properties file to use MySQL.
Then I checked in some really important documents and every evening a script backed up the database and the alf_data folder.
At monday the same procedure seemed crashed, tomcat seemed to don't shutdown correctly and since that alfresco don't starts (because of a problem with port 50500).
I checked this and I think the port shouldn't be busy.
I searched for some solutions but nothing has worked.
I already tried the following:
- create new indexes
- change avm port
- New installation (also with an empty alf_data and a new aimed database but without reinstalling jdk or MySQL)

Nothing has helped and now I don't have any further ideas.
I hope somebody can help me, here are some logs of alfresco.log (I replaced some Java Exceptions with …)

17:02:19,755 WARN  [org.springframework.remoting.rmi.RmiRegistryFactoryBean] Could not detect RMI registry - creating new one
17:02:21,615 WARN  [org.alfresco.util.OpenOfficeConnectionTester] A connection to OpenOffice could not be established.
17:02:25,537 INFO  [org.alfresco.repo.domain.schema.SchemaBootstrap] No changes were made to the schema.
17:02:26,646 WARN  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco 'dir.root' property is set to a relative path './alf_data'.  'dir.root' should be overridden to point to a specific folder.
17:02:26,646 INFO  [org.alfresco.repo.admin.ConfigurationChecker] The Alfresco root data directory ('dir.root') is: .\alf_data
17:02:26,771 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Sucht nach anwendbaren Patches
17:02:26,833 INFO  [org.alfresco.repo.module.ModuleServiceImpl] Found 0 module(s).
17:02:26,990 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - v1.6.0_02-b05; maximum heap size 493,063MB
17:02:26,990 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493,063MB is less than recommended 512MB
17:02:26,990 INFO  [org.alfresco.service.descriptor.DescriptorService] Alfresco started (Community Network): Current version 2.1.0 (R1 443) schema 62 - Installed version 2.1.0 (R1 443) schema 62
17:02:27,396 ERROR [org.springframework.web.context.ContextLoader] Context initialization failed
org.alfresco.web.scripts.WebScriptException: Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:webscripts must exist; it was not found
   at org.alfresco.web.scripts.RepoStore$1$1.execute(RepoStore.java:219)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
   at org.alfresco.web.scripts.RepoStore$1.doWork(RepoStore.java:206)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:260)
   at org.alfresco.web.scripts.RepoStore.init(RepoStore.java:202)
   at org.alfresco.web.scripts.RepoStore$ProcessorLifecycle.onBootstrap(RepoStore.java:188)
   at org.alfresco.util.AbstractLifecycleBean.onApplicationEvent(AbstractLifecycleBean.java:62)
   at org.alfresco.web.scripts.RepoStore.onApplicationEvent(RepoStore.java:177)
   at org.springframework.context.event.SimpleApplicationEventMulticaster$1.run(SimpleApplicationEventMulticaster.java:77)
   at org.springframework.core.task.SyncTaskExecutor.execute(SyncTaskExecutor.java:49)
   at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:75)
   at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:241)

org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
   at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
   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:295)
   at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
17:02:27,396 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.alfresco.web.scripts.WebScriptException: Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:webscripts must exist; it was not found
   at org.alfresco.web.scripts.RepoStore$1$1.execute(RepoStore.java:219)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:225)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)
   at org.alfresco.web.scripts.RepoStore$1.doWork(RepoStore.java:206)
   at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:260)


17:02:27,412 ERROR [org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.alfresco.web.app.ContextListener
org.alfresco.web.scripts.WebScriptException: Web Script Store workspace://SpacesStore/app:company_home/app:dictionary/cm:webscripts must exist; it was not found


abridgement of the catalina Logfile


25.10.2007 17:00:44 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
25.10.2007 17:00:45 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
25.10.2007 17:00:45 org.apache.catalina.startup.Catalina start
INFO: Server startup in 48188 ms
25.10.2007 17:02:08 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
25.10.2007 17:02:08 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 484 ms
25.10.2007 17:02:08 org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
25.10.2007 17:02:08 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
25.10.2007 17:02:08 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
25.10.2007 17:02:08 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
25.10.2007 17:02:27 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Error listenerStart
25.10.2007 17:02:27 org.apache.catalina.core.StandardContext start
SCHWERWIEGEND: Context [/alfresco] startup failed due to previous errors
25.10.2007 17:02:28 org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
25.10.2007 17:02:28 org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
25.10.2007 17:02:28 org.apache.catalina.startup.Catalina start
INFO: Server startup in 20079 ms
25.10.2007 17:03:20 org.apache.catalina.loader.WebappClassLoader loadClass
INFO: Illegal access: this web application instance has been stopped already.  Could not load org.quartz.StatefulJob.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1245)
   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
   at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:169)
   at org.quartz.JobDetail.class$(JobDetail.java:279)
   at org.quartz.JobDetail.isStateful(JobDetail.java:425)
   at org.quartz.simpl.RAMJobStore.triggerFired(RAMJobStore.java:1296)
   at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:313)

Outcomes