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]



Reply via email to