At 03:23 PM 6/20/2004 +0200, you wrote:
Hello Jacob,
I thing your analyze is not correct.
Well, if your findings are right, then I'm glad I'm wrong :-) Last time I checked, this was not working for me, but I can't remember how far back that was. Just to be clear, I was wrong on only the bit on dropping a .war file into the webapps directory not deploying the META-INF/context.xml file to the conf/Catalina/localhost directory. The rest should be correct.
Jake
The problem is:
currently the auto deployment for directories not implement. Copy a war with META-INF/context.xml at your webapps (host.appbase) dir the file context.xml was extracted and deployed. Tested with 5.0.25.
see my log
20.06.2004 15:20:16 org.apache.catalina.startup.Catalina start
INFO: Server startup in 13259 ms
20.06.2004 15:20:24 org.apache.catalina.core.StandardHostDeployer install
INFO: Processing Context configuration file URL file:D:\tomcat\temp\temp\release
filter\webdev-server\conf\Catalina\localhost\releasefilter.xml
I thing, it was also a usefull feature to implement this for directory deployment.
Easier for some non expert customer or developer ;-)
regards peter
Jacob Kjome schrieb:
At 12:26 PM 6/20/2004 +0400, you wrote:
Hi, I've just upgraded from TC4.1.12 to TC5.0.25.
Everything is OK, but TC evidently ignores my context configuration file unless I place it directly into 'conf\Catalina\localhost\'. It is ignored both if placed as 'webapps\my-app\META-INF\context.xml' and as 'webapps\my-app.xml'.
What is wrong? Should I fix some server setting?
Nothing is wrong. The loading of the context configuration files has simply changed between 4.1.xx and 5.0.xx. The appropriate place for the context configuration file (CCF) is conf/[Engine]/[Host]. You can either put it there manually or you can go though the manager interface to deploy an application where either the WAR file has a META-INF/context.xml or you point the to the CCF explicitly.
Unfortunately, just dropping the WAR file into webapps won't autodeploy the META-INF/context.xml, so you'll have to put that under the conf directory manually.
Jake
Regards, Sergey
--------------------------------------------------------------------- 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]
-- J2EE Systemarchitekt und Tomcat Experte
http://objektpark.de/ http://www.webapp.de/
Am Josephsschacht 72, 44879 Bochum, Deutschland Telefon: (49) 234 9413228 Mobil: (49) 175 1660884 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]
