cancel
Showing results for 
Search instead for 
Did you mean: 

ClassNotFoundException - org.alfresco.web.app.ContextListe..

dmattie
Champ in-the-making
Champ in-the-making
New install, Alfresco 3.0.1, Tomcat 6, Win 2003, MS SQL Server 2005   (Alfresco-Enterprise-3.0.1-Full-Setup.exe)
Share starts fine.
alfresco bails:  

localhost.__.log:
Feb 4, 2009 3:45:46 PM org.apache.catalina.core.StandardContext listenerStartSEVERE: Error configuring application listener of class org.alfresco.web.app.ContextListenerjava.lang.ClassNotFoundException: org.alfresco.web.app.ContextListener   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)   at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)   at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3786)   at org.apach….‍‍‍‍‍‍‍

catalina.__.log:
INFO: Starting Servlet Engine: Apache Tomcat/6.0.18Feb 4, 2009 3:47:45 PM org.apache.catalina.startup.HostConfig deployWARINFO: Deploying web application archive alfresco.warFeb 4, 2009 3:47:46 PM org.apache.catalina.core.StandardContext addApplicationListenerINFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.Feb 4, 2009 3:47:47 PM org.apache.catalina.core.StandardContext startSEVERE: Error listenerStartFeb 4, 2009 3:47:47 PM org.apache.catalina.core.StandardContext startSEVERE: Context [/alfresco] startup failed due to previous errors‍‍‍‍‍‍‍‍‍‍

Any ideas?   :?
3 REPLIES 3

abhishek385
Champ in-the-making
Champ in-the-making
drop the alfresco database and create it agian. Also delete the alf_data folder from the bin of your tomcat, restart the server…

jevon
Champ in-the-making
Champ in-the-making
Also, make sure that you have <em>alfresco-remote-api-x.x.x.jar</em> in your alfresco.war's /WEB-INF/lib folder.

mitpatoliya
Star Collaborator
Star Collaborator
This error some time comes due to partial shutdown of alfresco instance.
So, when we try to start it second time it gives error.
Either we can end all the alfresco related services forcefully and then try again.
Or if you are not able find the related jvm and other db services related to alfresco just restart your machine Smiley Happy