http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%20Application%20Deployment
Look under Automatic Application Deployment

In a nutshell: Leave the context there, but remove the expanded directory.
If the directory is there then the war will not explode. This is all mute if
unpackWARs property is set to false.

Doug


----- Original Message ----- 
From: "Ramesh Thyagarajan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 26, 2004 3:01 PM
Subject: Re: Tomcat 4.1.29 Problem


> Doug,
>
> I have tried that but it does not seem to help. Are there any changes in
> other config files?
>
>
>
>
> From: "Parsons Technical Services" <[EMAIL PROTECTED]>
> Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <[EMAIL PROTECTED]>
> Subject: Re: Tomcat 4.1.29 Problem
> Date: Thu, 25 Mar 2004 21:48:02 -0500
>
> I think that you need docBase="test.war" to be docBase="test" .
> Not a 100% but thought that was what I read. Mine explodes and I do not
have
> .war on mine.
>
> Doug
>
> ----- Original Message -----
> From: "Ramesh Thyagarajan" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, March 25, 2004 9:41 PM
> Subject: Tomcat 4.1.29 Problem
>
>
>  > Hi,
>  >
>  > I am using Tomcat 4.1.29. I have added the following context to
> server.xml
>  >
>  >
>  > <Context className="org.apache.catalina.core.StandardContext"
>  >             cachingAllowed="true"
>  >             charsetMapperClass="org.apache.catalina.util.CharsetMapper"
>  >             cookies="true"
>  >             crossContext="true"
>  >             debug="0"
>  >             displayname="TEST"
>  >             docBase="test.war"
>  >
mapperClass="org.apache.catalina.core.StandardContextMapper"
>  >             path="/test"
>  >             privileged="false"
>  >             reloadable="true"
>  >             swallowOutput="false"
>  >             useNaming="true"
>  >             wrapperClass="org.apache.catalina.core.StandardWrapper">
>  >            <ResourceLink global="jdbc/db" name="jdbc/db"
>  > type="javax.sql.DataSource"/>
>  >    </Context>
>  >
>  >
>  > I have my test.war in the webapps directory. When I start Tomcat, the
war
>  > file does not explode automatically to create the test directory under
>  > webapps. I have also tried using the following values, but it does not
> help:
>  >
>  > (a) docBase = C:/Tomcat4.1/webapps/test directory
>  > (b) docBase = test
>  >
>  > But, if I remove the context definition, Tomcat uses the default
context
> and
>  > the .war file is exploded.
>  >
>  > Any suggestions/solutions?
>  >
>  > _________________________________________________________________
>  > Is your PC infected? Get a FREE online computer virus scan from McAfee�
>  > Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>  >
>  >
>  > ---------------------------------------------------------------------
>  > 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]
>
> _________________________________________________________________
> MSN Toolbar provides one-click access to Hotmail from any Web page - FREE
> download! http://toolbar.msn.com/go/onm00200413ave/direct/01/
>
>
> ---------------------------------------------------------------------
> 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