Howdy, File permissions for the daemon process maybe? Yoav Shapira Millennium ChemInformatics
>-----Original Message----- >From: Martin Morawetz [mailto:[EMAIL PROTECTED] >Sent: Thursday, February 26, 2004 8:12 AM >To: [EMAIL PROTECTED] >Subject: Unable to use war-files with tomcat 5.0.18 / Linux > >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(HTMLManagerSe >rvlet.java:320) > at >org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.jav >a: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(Applicatio >nFilterChain.java:284) > at >org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterC >hain.java:204) > at >org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.j >ava:257) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte >xt.java:151) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) > at >org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContex >tValve.java:245) > at >org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.j >ava:199) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte >xt.java:151) > at >org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBas >e.java:587) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte >xt.java:149) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) > at >org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:19 >5) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte >xt.java:151) > at >org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:16 >4) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte >xt.java:149) > at >org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564) > at >org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.jav >a:156) > at >org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveConte >xt.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.processConn >ection(Http11Protocol.java:700) > at >org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:584) > at >org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.ja >va: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 : [EMAIL PROTECTED] > adresse : Münichreiterstraße 25, A-1130 Wien > tel/fax : +43 -1- 8763389-0 / -10 > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]