Michael Duffy wrote:
I think it's a better idea to make those app resources
local instead of global. If your app is the only one
that needs that data source, by all means it should
not be global. That's the way I prefer to do it. Keep those apps uncoupled and isolated from each
other. - MOD
Agreed.
The problem is that with tomcat4 (at least as far as I have learned), it is not possible to define a <Context>-Element in server.xml for a webapp that has not yet been deployed. If you want to use auto-deploy, you have to drop the war into the webapps directory, start and then stop tomcat so that the war get's unpacked and the context registered, next you have to add the <Context> element and finally start tomcat again for those changes to take effect. If you want to define datasources for a webapp that is not yet deployed, you have no choice than to make them global.
As I said earlier, this only applies to tomcat4.
If I am mistaken here, by all means tell me so, because this bahavior is a pain in the back...
Phil
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
