tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Morawetz <martin.moraw...@kreativezone.at>
Subject Unable to use war-files with tomcat 5.0.18 / Linux
Date Thu, 26 Feb 2004 13:11:53 GMT
Problem: tomcat doesn't unpack war files when run as daemon!

The error-message in logs/catalina.out is:
Feb 26, 2004 11:46:41 AM org.apache.catalina.startup.HostConfig deployWARs
WARNING: Exception while expanding web application archive myapp-0.1-dev.war

The message unfortunately comes without a stacktrace.
How do I get the exception-stacktrace? Is there an other logfile?

So I tried to deploy the war file via the manager-application. Now the 
logs/host.2004-02-26.log file told me that the manifest.mf file is missing:

2004-02-26 12:41:34 StandardContext[/manager]HTMLManager: 
ManagerServlet.install[/myapp-0.1-dev]
java.io.FileNotFoundException: webapps/myapp-0.1-dev/META-INF/MANIFEST.MF
         at java.io.FileOutputStream.open(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
         at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:307)
         at org.apache.catalina.startup.ExpandWar.expand(ExpandWar.java:232)
         at 
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:303)
         at 
org.apache.catalina.core.StandardHost.install(StandardHost.java:875)
         at 
org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:927)
         at 
org.apache.catalina.manager.HTMLManagerServlet.deployInternal(HTMLManagerServlet.java:320)
         at 
org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:144)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:257)
         at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
         at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
         at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:587)
         at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
         at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
         at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
         at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
         at 
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
         at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
         at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:828)
         at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:700)
         at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584)
         at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)


I opended the war-archive and the file was where it should be.


Tomcat is able to expand the war files when start by the 
./bin/startup.sh skript!


Any ideas what I'm doing wrong?

Martin Morawetz
kreative|zone°

                                                        kreative|zone°
----------------------------------------------------------------------
                                           Kommunikationsagentur GmbH
   browse  : www.kreativezone.at
   e-mail  : empfang@kreativezone.at
   adresse : Münichreiterstraße 25, A-1130 Wien
   tel/fax : +43 -1- 8763389-0 / -10



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message