AnsweredAssumed Answered

Error when application starts

Question asked by scottlgs on Jan 5, 2007
Latest reply on Jan 17, 2007 by evanndroreis
I'm trying to work through some installation issues with alfresco and thought I would post here to see if anyone has any ideas that might help. 

* I'm running the 64bit version of Fedora Core 6.
* I have installed Tomcat 5.5.17 via RPM and verified it is working.
* I also have MySQL 5 installed and working.
* I have downloaded the MySQL java connector v3.1.14 and copied the jar file mysql-connector-java-3.1.14-bin.jar to /usr/share/tomcat5/common/lib.
* I have created the alfresco database and the alfresco user for MySQL.  I have verified the alfresco user can log in from localhost.
* I've downloaded the alfresco-community-war-1.4.0.tar.gz archive.  I then extracted the alfresco.war file to disk and used the Tomcat Manager interface to deploy the alfresco.war file.  The deployment goes OK, but when I restart Tomcat or attempt to manually start Alfresco I get the following error in the Tomcat Manager.

FAIL - Application at context path /alfresco could not be started

The catalina.out file contains information about a dependancy error, but I don't follow what it is exactly complaining about.  Can any one lend me a hand here?  Thanks!


5-Jan-07 11:19:37 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib64/gcj-4.1.1
5-Jan-07 11:19:37 AM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
5-Jan-07 11:19:37 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 542 ms
5-Jan-07 11:19:37 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
5-Jan-07 11:19:37 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
5-Jan-07 11:19:37 AM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
5-Jan-07 11:19:38 AM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
5-Jan-07 11:19:38 AM org.apache.catalina.core.StandardContext start
SEVERE: Error in dependencyCheck
java.util.jar.JarException: Section should start with a Name header: unexpected '^@'
   at gnu.java.util.jar.JarUtils.readSectionName(libgcj.so.7rh)
   at gnu.java.util.jar.JarUtils.readIndividualSections(libgcj.so.7rh)
   at java.util.jar.Manifest.read(libgcj.so.7rh)
   at java.util.jar.Manifest.<init>(libgcj.so.7rh)
   at java.util.jar.JarInputStream.readManifest(libgcj.so.7rh)
   at java.util.jar.JarInputStream.<init>(libgcj.so.7rh)
   at java.util.jar.JarInputStream.<init>(libgcj.so.7rh)
   at org.apache.catalina.util.ExtensionValidator.getManifest(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.util.ExtensionValidator.validateApplication(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.StandardContext.start(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.ContainerBase.addChildInternal(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.ContainerBase.addChild(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.StandardHost.addChild(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.startup.HostConfig.deployWAR(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.startup.HostConfig.deployWARs(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.startup.HostConfig.deployApps(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.startup.HostConfig.start(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.ContainerBase.start(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.StandardHost.start(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.ContainerBase.start(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.StandardEngine.start(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.StandardService.start(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.StandardServer.start(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.startup.Catalina.start(catalina-5.5.17.jar.so4ks2ue.so)
   at java.lang.reflect.Method.invoke(libgcj.so.7rh)
   at org.apache.catalina.startup.Bootstrap.start(bootstrap.jar.so)
   at org.apache.catalina.startup.Bootstrap.main(bootstrap.jar.so)
5-Jan-07 11:19:38 AM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
5-Jan-07 11:19:38 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
5-Jan-07 11:19:38 AM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco] has not been started
5-Jan-07 11:19:38 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
5-Jan-07 11:19:38 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
5-Jan-07 11:19:38 AM org.apache.catalina.core.ApplicationContext log
INFO: org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
5-Jan-07 11:19:38 AM org.apache.catalina.core.ApplicationContext log
INFO: ContextListener: contextInitialized()
5-Jan-07 11:19:38 AM org.apache.catalina.core.ApplicationContext log
INFO: SessionListener: contextInitialized()
5-Jan-07 11:19:39 AM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
5-Jan-07 11:19:39 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
5-Jan-07 11:19:39 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/31  config=null
5-Jan-07 11:19:39 AM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
5-Jan-07 11:19:39 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 2126 ms
5-Jan-07 11:19:39 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Associated with Deployer 'Catalina:type=Deployer,host=localhost'
5-Jan-07 11:19:39 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: init: Global resources are available
5-Jan-07 11:19:39 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: start: Starting web application at '/alfresco'
5-Jan-07 11:19:39 AM org.apache.catalina.core.StandardContext start
SEVERE: Error in dependencyCheck
java.util.jar.JarException: Section should start with a Name header: unexpected '^@'
   at gnu.java.util.jar.JarUtils.readSectionName(libgcj.so.7rh)
   at gnu.java.util.jar.JarUtils.readIndividualSections(libgcj.so.7rh)
   at java.util.jar.Manifest.read(libgcj.so.7rh)
   at java.util.jar.Manifest.<init>(libgcj.so.7rh)
   at java.util.jar.JarInputStream.readManifest(libgcj.so.7rh)
   at java.util.jar.JarInputStream.<init>(libgcj.so.7rh)
   at java.util.jar.JarInputStream.<init>(libgcj.so.7rh)
   at org.apache.catalina.util.ExtensionValidator.getManifest(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.util.ExtensionValidator.validateApplication(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.StandardContext.start(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.manager.ManagerServlet.start(catalina-manager-5.5.17.jar.so)
   at org.apache.catalina.manager.HTMLManagerServlet.start(catalina-manager-5.5.17.jar.so)
   at org.apache.catalina.manager.HTMLManagerServlet.doGet(catalina-manager-5.5.17.jar.so)
   at javax.servlet.http.HttpServlet.service(tomcat5-servlet-2.4-api-5.5.17.jar.so)
   at org.apache.catalina.core.StandardContextValve.invoke(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.StandardHostValve.invoke(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.valves.ErrorReportValve.invoke(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.core.StandardEngineValve.invoke(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.catalina.connector.CoyoteAdapter.service(catalina-5.5.17.jar.so4ks2ue.so)
   at org.apache.coyote.http11.Http11Processor.process(tomcat-http-5.5.17.jar.so)
   at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(tomcat-http-5.5.17.jar.so)
   at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(tomcat-util-5.5.17.jar.so)
   at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(tomcat-util-5.5.17.jar.so)
   at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(tomcat-util-5.5.17.jar.so)
   at java.lang.Thread.run(libgcj.so.7rh)
5-Jan-07 11:19:39 AM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
5-Jan-07 11:19:39 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
5-Jan-07 11:19:39 AM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco] has not been started
5-Jan-07 11:19:39 AM org.apache.catalina.core.ApplicationContext log
INFO: HTMLManager: list: Listing contexts for virtual host 'localhost'

Outcomes