take a look at how the ROOT context is configured. If you goto 
http://localhost:8080/ROOT/ you will not see anything.

One of the differences is that ROOT is not a WAR, and also look into the autoDeploy 
WAR files property, since this will cause war files to deploy automatically.

Filip

-----Original Message-----
From: Scott, Sean [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 12:13 PM
To: 'Tomcat Users List'
Subject: Problem with double deployment


I have a problem where if I put a WAR file in the webapps directory and try
to assign it to the default context in the server.xml file the app is
deployed 2 times. Once at the default context, and the other at the war
name.

My server.xml contains
<Context path="" docBase="myapp.war"/>

When tomcat starts up, my app is deploy 2 times:
at http://localhost
and http://localhost/myapp

If I set the path="/myapp" in server.xml, the app only deploys one time. Any
ideas?

-sean

---------------------------------------------------------------------
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