I have the autoDeploy set to false in my server.xml file
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="false">
I tried to look at /ROOT and I recieve :
HTTP Status 404 - /ROOT/
-------------------------------------------------------------
type Status report
message /ROOT/
description The requested resource (/ROOT/) is not available.
However, when I go to the manager ( http://localhost/manager/html/list )
It displays 3 contexts:
/ (mapped to myapp)
/manager ( manager app )
/myapp (mapped to myapp)
I am using version 4.1.18
-sean
-----Original Message-----
From: Filip Hanik [mailto:[EMAIL PROTECTED]
Sent: Friday, February 28, 2003 1:14 PM
To: Tomcat Users List
Subject: RE: Problem with double deployment
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]