AnsweredAssumed Answered

Alfresco Listener startet nicht mehr

Question asked by dmc on Mar 28, 2008
Latest reply on Mar 28, 2008 by dmc
Hallo,

vor etwa einer Woche installierte ich Alfresco 2.1 mit einer MySQL 5.0 Datenbank und JDK 1.6.0_2 auf einem Windows 2003 Small Business Server.
Leider bin ich relativ neu auf dem Gebiet Alfresco, hatte bisher aber einen sehr positiven Eindruck.
Bisher nutze ich das DMS in der absoluten Standardkonfiguration.
Nun jeden Abend lief Skriptbasiert ein Backup der Datenbank und des alf_data Verzeichnis.
Vorgestern allerdings konnte Tomcat scheinbar nicht korrekt beendet werden und somit wurde Alfresco auch nicht neu gestartet (aufgrund eines Problems mit Port 50500).
Dies habe ich geprüft und Port 50500 sollte meiner Meinung nach nicht belegt sein!
Seitdem aber kann Alfresco leider garnicht mehr gestartet werden und beim Suchen nach dem Fehler habe ich einige Lösungsansätze probiert:
- neu indizieren
- komplette Neuinstallation (abgesehen von MySQL)
- umstellen des avm Port (zurückgestellt)

Nichts hat geholfen und so langsam gehen mir leider die Ideen aus, Tomcat läuft nur beim aufrufen von Alfresco bekomme ich den ja allseits bekannten Fehler 404

alfresco.log (gekürzt Java Exceptions teils durch … ersetzt)
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
Auszug catalina Log Datei
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)
Ich hoffe jemand kann mir helfen.
Schonmal Vielen Dank

Outcomes