I found that basically Tomcat doesn't auto-deploy when one explicitly
declares a context.
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html#Automatic%20Application%20Deployment
Morten
-
To unsubscribe, e-mail:
Howdy,
Yup, by design, and that's why I said you were trying too many things at
once ;)
Yoav Shapira
Millennium ChemInformatics
-Original Message-
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Morten
Sent: Thursday, October 09, 2003 8:14 AM
To: [EMAIL PROTECTED]
Subject: Re:
Hi,
I'm curious what overhead there is in having a war file
in the context docPath attribute, eg.
Context path=/myapp docBase=/myapp.war
..
/Context
What's the overhead of this?
Ideally, I'd be able to use
Context path=/myapp docBase=myapp
...
/Context
But in this case, Tomcat (4.1.24)
Howdy,
You're doing too much I think ;)
Do you have any custom things inside the Context element, e.g. a
Logger/Valve? If not, you don't need a Context element in server.xml,
so take it out and let tomcat discover the webapp.
If you do have custom context configuration requirements, use either
Hi,
Thanks for the suggestions, but the problem is that I'm declaring
2 data sources for my context. Initally, I declared those in server.xml,
but that failed and while browsing about in the archives for a
solution, I saw that people recommended using a separate XML file in the
webapps