cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco listener doesn't start any more

belerofon
Champ in-the-making
Champ in-the-making
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 one17: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_data17:02:26,771 INFO  [org.alfresco.repo.admin.patch.PatchExecuter] Sucht nach anwendbaren Patches17: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,063MB17:02:26,990 WARN  [org.alfresco.service.descriptor.DescriptorService] Alfresco JVM - WARNING - maximum heap size 493,063MB is less than recommended 512MB17: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 6217:02:27,396 ERROR [org.springframework.web.context.ContextLoader] Context initialization failedorg.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.ContextLoaderListenerorg.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.ContextListenerorg.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 startINFO: Starting Coyote HTTP/1.1 on http-808025.10.2007 17:00:45 org.apache.catalina.storeconfig.StoreLoader loadINFO: Find registry server-registry.xml at classpath resource25.10.2007 17:00:45 org.apache.catalina.startup.Catalina startINFO: Server startup in 48188 ms25.10.2007 17:02:08 org.apache.coyote.http11.Http11BaseProtocol initINFO: Initializing Coyote HTTP/1.1 on http-808025.10.2007 17:02:08 org.apache.catalina.startup.Catalina loadINFO: Initialization processed in 484 ms25.10.2007 17:02:08 org.apache.catalina.core.StandardService startINFO: Starting service Catalina25.10.2007 17:02:08 org.apache.catalina.core.StandardEngine startINFO: Starting Servlet Engine: Apache Tomcat/5.5.2325.10.2007 17:02:08 org.apache.catalina.core.StandardHost startINFO: XML validation disabled25.10.2007 17:02:08 org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web application archive alfresco.war25.10.2007 17:02:27 org.apache.catalina.core.StandardContext startSCHWERWIEGEND: Error listenerStart25.10.2007 17:02:27 org.apache.catalina.core.StandardContext startSCHWERWIEGEND: Context [/alfresco] startup failed due to previous errors25.10.2007 17:02:28 org.apache.coyote.http11.Http11BaseProtocol startINFO: Starting Coyote HTTP/1.1 on http-808025.10.2007 17:02:28 org.apache.catalina.storeconfig.StoreLoader loadINFO: Find registry server-registry.xml at classpath resource25.10.2007 17:02:28 org.apache.catalina.startup.Catalina startINFO: Server startup in 20079 ms25.10.2007 17:03:20 org.apache.catalina.loader.WebappClassLoader loadClassINFO: 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)‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍
2 REPLIES 2

kevinr
Star Contributor
Star Contributor
Did you move the Data Dictionary folder or any of it's sub-folders?

hap234
Champ in-the-making
Champ in-the-making
Check value of following property
lucene.indexer.maxFieldLength=??

Default it is 10000, if you have changed then make it default and check.

Because i got this error when i set it with 10, still looking why so.

Hope this help.

Regards,
Hetal Patel