Hi, Nope, if you just use the unpacked directory structures to deploy, META-INF/context.xml will not be read.
Yoav Shapira http://www.yoavshapira.com >-----Original Message----- >From: Steve Kirk [mailto:[EMAIL PROTECTED] >Sent: Tuesday, October 26, 2004 12:46 PM >To: 'Tomcat Users List' >Subject: RE: JNDI DataSource GlobalResources problem > > >> >All I did was move my context config file from >> > conf/Catalina/localhost/mywebapp.xml >> >to >> > webapps/mywebapp/META-INF/context.xml >> > >> >is there something I've missed? >> >> Yeah. The META-INF/context.xml is consulted when deploying a >> WAR. Just >> putting it there for an already deployed and expanded WAR >> won't do much >> of anything. > >OK thanks. > >I should have said, I don't use war files, I just store files under >webapps/mywebapp in the file system. Will my context.xml ever be read, >e.g. >when TC is restarted? This is what I meant above when I said that I >thought >that context.xml is only useful when using the "deploy" feature (which I >don't use). > > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
