tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Huesser <peter.hues...@psi.ch>
Subject Problems while deploying
Date Thu, 15 Jul 2004 14:14:52 GMT
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message