tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From johannes.fi...@fwd.at
Subject context.xml - docBase setting is ignored
Date Mon, 28 Apr 2003 17:00:04 GMT
Hi there,

I've tried to deploy a webapp using the manager task and used the 
following docBase-setting in META-INF/context.xml:

<Context crossContext="true" debug="0" 
docBase="f:\tomcat-4.1.24\work\Standalone\localhost\manager\myapp-1.2.7.0.war" 
path="/myapp" reloadable="true">
...
</Context>

When I do a manager app list then, I see that my docBase setting has been 
ignored, replaced by the setting to the WAR file deployed( myapp.war).
     [list] 
/myapp:running:0:F:\tomcat-4.1.24\work\Standalone\localhost\manager\myapp.war

So my approach to deploy an application which points to an already 
installed WAR-file doesn't seem to work.
Does anybody know why or know a workaround for this issue?

If I stop Tomcat and edit server.xml manually, replacing the myapp.war 
with myapp-1.2.7.0.war then the application works as expected.

thx alot
Johannes
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message