Hi, It's not your web.xml that's the problem, nor the JAVA_HOME environment variable. What are the contents of your WAR? Specifically, is there a context.xml file in the META-INF directory? How are you deploying?
Yoav Shapira Millennium Research Informatics >-----Original Message----- >From: Peter Huesser [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 15, 2004 10:15 AM >To: [EMAIL PROTECTED] >Subject: Problems while deploying > >Hello > >I want to deploy a webapplication which has the web.xml file at the end >of this mail. Unfortunately I get the following error message: > >FAIL - Encountered exception java.util.zip.ZipException: No such file or >directory > >In the Tomcat (version 5.0.25) logfile I see the following: > >2004-07-15 18:12:10 StandardContext[/manager]HTMLManager: >ManagerServlet.configure[jar:file:////afs/psi.ch/user/h/huesser/ >Projekte/Servlet/mydemo/mydemo.war!/META-INF/context.xml] >java.util.zip.ZipException: No such file or directory > at java.util.zip.ZipFile.open(Native Method) > at java.util.zip.ZipFile.<init>(ZipFile.java:112) > ... > >For me it looks as if the JAVA_HOME variable on the tomcat server ist >not set correctly. But I allready checked this. > >Has there anybody an idea ? > >Thank's for any help > >Pedro > > > >----------------------------------------------------------------------- ---- >- > ><?xml version="1.0" encoding="ISO-8859-1"?> > ><!DOCTYPE web-app > PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" > "http://java.sun.com/dtd/web-app_2_2.dtd"> > ><web-app> > > <servlet> > <servlet-name> > Demo > </servlet-name> > <servlet-class> > mydemo.DemoServlet > </servlet-class> > </servlet> > > <servlet-mapping> > <servlet-name> > Demo > </servlet-name> > <url-pattern> > /Demo > </url-pattern> > </servlet-mapping> ></web-app> > > > >--------------------------------------------------------------------- >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]