I you define a context yourself, at least in Tomcat-4.x.x, you will have to "explode" the .war file yourself before the server starts if you want to point to the "tao" directory. In Tomcat5, you can point to "tao.war" and it will explode it anyway and run out of the directory, which is exactly what you want.

Note that if this is all you have defined for your context, don't define a context at all. Just drop the .war file into "webapps" and Tomcat (4.x.xx and 5.x.xx) will "explode" it and run from the directory.

Jake

At 06:37 PM 11/6/2003 +0100, you wrote:

Hi,

I've added my context in server.xml:

<Context path="/tao" docBase="tao" debug="5" privileged="false">
...

But tomcat does not find and explode the tao.war in the webapps
directory. So I need to set the docBase to "tao.war" which is
not the required setup.

Any hints?

Thanks,

Morten




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to