tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christos Karras <>
Subject problem with WAR files
Date Thu, 08 Nov 2001 22:10:03 GMT
I'm trying to deploy an application by making a .WAR archive, but I'm
unable to find
how to properly configure tomcat to use it.

The application is currently placed in an "unpacked" war directory
structure, with
all servlets in ed/www/WEB-INF/classes:

    <Context path="" docBase="" debug="0" reloadable="true" />
    <Context path="/ed" docBase="ed/www" debug="0" reloadable="true"/>

With this setup, I'm able to access a servlet with

I made a war file that contains everything that's in ed/www/, I changed
the setup to use the .war file, restarted the
server, and the URL won't work anymore.

    <Context path="" docBase="" debug="0" reloadable="true" />
    <Context path="/ed" docBase="ed/ed.war" debug="0"

I've also set unpackWARs="true" for the <Host> entry

What am I doing wrong?


To unsubscribe:   <>
For additional commands: <>
Troubles with the list: <>

View raw message