> From: Dan Eriksson [mailto:[EMAIL PROTECTED] > Subject: RE: [SOLVED] tomcat not able to connect to postgresql? > > Not sure about the context yet though, as I want to be able to > use the same parameters for some other applications and not be > dependent on the developers to do configuration changes as we > use war files to pack the applications.
If you're specifying <Resource> elements that all webapps should have access to, use <GlobalNamingResources> with embedded <Resource> elements in server.xml and just a <ResourceLink> in each webapp: http://tomcat.apache.org/tomcat-6.0-doc/config/globalresources.html If other configuration parameters are to be used for all webapps, you can place them in conf/context.xml, and they will be picked up for all. You can also override a <Context> element in a webapp's META-INF/context.xml file with one in a conf/Catalina/[host]/[appname].xml file. However, this may be overwritten during redeployment. - 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]