-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matt,
Matthew Kerle wrote: > the doco is a bit... terse on the subject of setting up a JNDI > datasource outside the war file, and it's not as straightforward or easy > to find as compared to the method for placing the context.xml inside the > deployment war, which is well documented. I agree the documentation is terse and/or missing. If you implement any of these strategies, consider submitting an update to the documentation to help others in the future. It's easy to deploy using a context.xml file that is /not/ inside a WAR file: Start with the context.xml file that you would have put into your WAR file. Add the "docBase" element to the <Context> element to configure the location of the WAR file. Put your WAR file somewhere outside of the auto-deploying webapps directory. Put the context.xml file into $CATALINA_HOME/conf/[enginename]/[hostname]/[appname].xml. > How do you go about submitting an update > to the documentation? I assume there's a short list of committers... You can certainly post to this list. Several (of not all) Tomcat devs lurk on this list. Just mark your post clearly and see what happens. > every time we deployed a war without a context .xml tomcat would delete > the existing one, or overwrite it. You mean the context.xml file, not the WAR, right? When you step outside of the standard (read: recommended) configurations, then you will have to fight Tomcat to get things working properly. That's just the price you pay: your deployment will be complicated if you want to do things differently. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGxK6b9CaO5/Lv0PARAvLxAKCz5TsLIFE+yNgwRcqJSP2h0i2TcgCgh1c/ T35dIRLVMDSMAkR7Jyc30ak= =VEsi -----END PGP SIGNATURE----- --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]