AnsweredAssumed Answered

Error when trying to deploy Alfresco 3.3g war in Tomcat 6

Question asked by rzs on Jun 28, 2010
Latest reply on Jun 29, 2010 by rzs
Hello,

Im trying to deploy the war file of Alfresco 3.3g in Tomcat 6 on my machine running Windows XP . I am referring to the instructions at http://www.heiflo.com/2010/03/deploy-alfresco-share-on-tomcat-6/.
I have added
 set CATALINA_OPTS="-Xms256m -Xmx512m -XX:MaxPermSize=196m"
at the top of startup.bat located  in my tomcat\bin folder.The tables get created in the mysql database, but when i try to hit http://localhost:8080/alfresco ,it just loops indefinitely and alfresco does not load.Below is the tomcat log. It shows SEVERE: Error listenerStart.



Jun 28, 2010 7:57:10 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jun 28, 2010 7:57:10 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Jun 28, 2010 7:57:10 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 28, 2010 7:57:10 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Jun 28, 2010 7:57:10 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 594 ms
Jun 28, 2010 7:57:10 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 28, 2010 7:57:10 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
Jun 28, 2010 7:57:10 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory docs
Jun 28, 2010 7:57:10 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory examples
Jun 28, 2010 7:57:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory host-manager
Jun 28, 2010 7:57:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory manager
Jun 28, 2010 7:57:11 PM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deploying web application directory ROOT
Jun 28, 2010 7:57:11 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Jun 28, 2010 7:57:11 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Jun 28, 2010 7:57:11 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 503 ms
Jun 28, 2010 8:03:41 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
Jun 28, 2010 8:04:11 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.
Jun 28, 2010 8:04:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Jun 28, 2010 8:04:20 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
Jun 28, 2010 8:04:20 PM org.apache.catalina.loader.WebappClassLoader clearReferencesJdbc
SEVERE: A web application registered the JBDC driver [org.postgresql.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
Jun 28, 2010 8:04:20 PM org.apache.catalina.loader.WebappClassLoader clearThreadLocalMap
SEVERE: A web application created a ThreadLocal with key of type [java.lang.ThreadLocal] (value [java.lang.ThreadLocal@190d1e8]) and a value of type [org.apache.cxf.bus.CXFBusImpl] (value [org.apache.cxf.bus.CXFBusImpl@c5119e]) but failed to remove it when the web application was stopped. To prevent a memory leak, the ThreadLocal has been forcibly removed.
Jun 28, 2010 8:04:45 PM org.apache.coyote.http11.Http11AprProtocol pause
INFO: Pausing Coyote HTTP/1.1 on http-8080
Jun 28, 2010 8:04:45 PM org.apache.coyote.ajp.AjpAprProtocol pause
INFO: Pausing Coyote AJP/1.3 on ajp-8009
Jun 28, 2010 8:04:46 PM org.apache.catalina.core.StandardService stop
INFO: Stopping service Catalina
Jun 28, 2010 8:04:46 PM org.apache.coyote.http11.Http11AprProtocol destroy
INFO: Stopping Coyote HTTP/1.1 on http-8080
Jun 28, 2010 8:04:46 PM org.apache.coyote.ajp.AjpAprProtocol destroy
INFO: Stopping Coyote AJP/1.3 on ajp-8009
Jun 28, 2010 8:04:47 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.20.
Jun 28, 2010 8:04:47 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
Jun 28, 2010 8:04:48 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Jun 28, 2010 8:04:48 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Jun 28, 2010 8:04:48 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 604 ms
Jun 28, 2010 8:04:48 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Jun 28, 2010 8:04:48 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.26
Jun 28, 2010 8:04:48 PM org.apache.catalina.startup.HostConfig deployDescriptor
INFO: Deploying configuration descriptor alfresco.xml
Jun 28, 2010 8:04:49 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.apache.myfaces.webapp.StartupServletContextListener" is already configured for this context. The duplicate definition has been ignored.


Please help.
Thank You

Outcomes