> From: Michael Hencin [mailto:[EMAIL PROTECTED] > Subject: RE: placing context.xml in META-INF works? > > My ideal sequence of events is this. > 1) User installs tomcat > 2) User places our clean database file in the "recommended > location on the server machine. i.e c"\databse\ourfile.gdb" > 3) User drops our war file into the webapps directory. It > expands, copies the context.xml file we pre-configure with > the db file location from step 2. > 4 ) user can then fire up our app. And it connects ok to the db.
The copy of context.xml in step 3 is not required for proper deployment - the values in the META-INF/context.xml will still be available to the application. > If we can include a preconfigured contxt.xml, and have it > used when the app is deployed, it would then not require > the user to setup the context JNDI, or a global one. Placing your context.xml in the META-INF directory of your webapp will allow you to do that - no other steps are required. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]