RE: Configure JNDI resources in a separate file from server.xml

2008-07-17 Thread Radcliffe, William H.
Brantley Hobbs wrote: >My question is this: Is it possible to pull in an "include" file in >server.xml? I'd like to place all the database connection information >in a separate file. You are referring to placing a file called context.xml in the /META-INF folder of your web app. This file can b

Re: Configure JNDI resources in a separate file from server.xml

2008-07-17 Thread Mikolaj Rydzewski
Brantley Hobbs wrote: My question is this: Is it possible to pull in an "include" file in server.xml? I'd like to place all the database connection information in a separate file. I don't think it's possible. You can: 1. use conf/Catalina/.../.xml instead of application's context.xml 2.

Configure JNDI resources in a separate file from server.xml

2008-07-17 Thread Brantley Hobbs
All, We're trying to lock down our infrastructure here. We want to avoid having production database credentials in the web application's context.xml, so we're going to move them to tomcat's server.xml. (We have read the JNDI How-To and have noted the recommendation to place resources in the