Yep. This is basically the direction I was already headed. Once I deploy my application I do get the JNDI name in the list of DataSources (as viewed from the Administration tool), but the data source has no parameters. It almost looks as if Tomcat's loader is ignoring the <ResourceParams> tag. My context.xml file is in the META-INF directory just under the document base directory.

Parsons Technical Services wrote:

For each app you have running you will need a context element in a xml
file. This should reside in the war. In this file you can setup the
resource which will be available only to that app. This will still give
you pooling. If you follow the instructions on the Tomcat site for the
JDBC How-To that will set things up. The only change is to put the
elements in with the context fragment in the xml file for your app
instead of the server.xml.


Yeah the web site should be changed considering that the preferred way
to set up app is not to put anything in the server.xml and yet this How
to has you do just that. Eventually they will get to it.









--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to