cancel
Showing results for 
Search instead for 
Did you mean: 

Centos 5 HTTP 404 error

jarrox
Champ in-the-making
Champ in-the-making
Hi i've been using the http://wiki.alfresco.com/wiki/Installing_Alfresco_Community_WAR_on_Centos_5 guide and I can't get the page to load. I keep getting the
HTTP Status 404 -
type Status report

message

description The requested resource () is not available.

here is my catalina.out


Using CATALINA_BASE:   /usr/share/tomcat5
Using CATALINA_HOME:   /usr/share/tomcat5
Using CATALINA_TMPDIR: /usr/share/tomcat5/temp
Using JRE_HOME:      
Created MBeanServer with ID: -pkmqdp:fq74601d.0:localhost.localdomain:1
20-Jan-09 6:04:26 PM 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/lib/gcj-4.1.2
20-Jan-09 6:04:26 PM org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
20-Jan-09 6:04:26 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1826 ms
20-Jan-09 6:04:26 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
20-Jan-09 6:04:26 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.23
20-Jan-09 6:04:26 PM org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
20-Jan-09 6:04:26 PM org.apache.coyote.http11.Http11BaseProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
20-Jan-09 6:04:27 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
20-Jan-09 6:04:27 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/183  config=null
20-Jan-09 6:04:27 PM org.apache.catalina.storeconfig.StoreLoader load
INFO: Find registry server-registry.xml at classpath resource
20-Jan-09 6:04:27 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 979 ms
20-Jan-09 6:17:38 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive alfresco.war
20-Jan-09 6:17:54 PM 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 gnu.java.util.jar.JarUtils.readMFManifest(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.23.jar.so)
   at org.apache.catalina.util.ExtensionValidator.validateApplication(catalina-5.5.23.jar.so)
   at org.apache.catalina.core.StandardContext.start(catalina-5.5.23.jar.so)
   at org.apache.catalina.core.ContainerBase.addChildInternal(catalina-5.5.23.jar.so)
   at org.apache.catalina.core.ContainerBase.addChild(catalina-5.5.23.jar.so)
   at org.apache.catalina.core.StandardHost.addChild(catalina-5.5.23.jar.so)
   at org.apache.catalina.startup.HostConfig.deployWAR(catalina-5.5.23.jar.so)
   at org.apache.catalina.startup.HostConfig.deployWARs(catalina-5.5.23.jar.so)
   at org.apache.catalina.startup.HostConfig.deployApps(catalina-5.5.23.jar.so)
   at org.apache.catalina.startup.HostConfig.check(catalina-5.5.23.jar.so)
   at org.apache.catalina.startup.HostConfig.lifecycleEvent(catalina-5.5.23.jar.so)
   at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(catalina-5.5.23.jar.so)
   at org.apache.catalina.core.ContainerBase.backgroundProcess(catalina-5.5.23.jar.so)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(catalina-5.5.23.jar.so)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(catalina-5.5.23.jar.so)
   at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(catalina-5.5.23.jar.so)
   at java.lang.Thread.run(libgcj.so.7rh)
20-Jan-09 6:17:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Error getConfigured
20-Jan-09 6:17:54 PM org.apache.catalina.core.StandardContext start
SEVERE: Context [/alfresco] startup failed due to previous errors
20-Jan-09 6:17:54 PM org.apache.catalina.core.StandardContext stop
INFO: Container org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/alfresco] has not been started


what am i doing wrong
3 REPLIES 3

lotharm
Champ on-the-rise
Champ on-the-rise
java.util.jar.JarException: Section should start with a Name header: unexpected '‍

Looks like an error in some jar MANIFEST file. Did you add a custom one to WEB-INF/lib or shared/lib?

pconnors
Champ in-the-making
Champ in-the-making
I'm running into the same issue, and haven't installed anything in either directory.  This is a brand new installation.  Any other information you can give me!?

pconnors
Champ in-the-making
Champ in-the-making
I'm running into the same issue, and haven't installed anything in either directory.  This is a brand new installation.  Any other information you can give me!?

I solved this by reinstalling my Java JDK 1.5…