Re: Tomcat 5.5.23: adding datasource to /conf/context.xml without restarting server to find it?

2007-08-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Cun, shunhecun wrote: > Because I have several applications which share the same dataource. I would configure them each separately in their own META-INF/context.xml file, even though all the values are the same. Is this feasible in your environment?

Re: Tomcat 5.5.23: adding datasource to /conf/context.xml without restarting server to find it?

2007-08-24 Thread David Smith
Then I don't think you can avoid a restart of tomcat. The only other method of defining a jdbc pool shared across webapps involves defining it in the ... of conf/server.xml and that also requires a restart. Pick your poison -- one db pool per webapp restarting each webapp or one db pool acro

Re: Tomcat 5.5.23: adding datasource to /conf/context.xml without restarting server to find it?

2007-08-24 Thread shunhecun
Because I have several applications which share the same dataource. David Smith-2 wrote: > > Ok... this begs the question: Why did you add the datasource to > $TOMCAT_BASE/conf/context.xml? The datasource should be in your > individual webapp's context.xml file where all you have to do is re

Re: Tomcat 5.5.23: adding datasource to /conf/context.xml without restarting server to find it?

2007-08-23 Thread David Smith
Ok... this begs the question: Why did you add the datasource to $TOMCAT_BASE/conf/context.xml? The datasource should be in your individual webapp's context.xml file where all you have to do is restart the webapp via the manager webapp. --David shunhecun wrote: Hi, I added a jdbc datasourc

Tomcat 5.5.23: adding datasource to /conf/context.xml without restarting server to find it?

2007-08-23 Thread shunhecun
Hi, I added a jdbc datasource to $TOMCAT_BASE/conf/context.xml using W3C DOM. But I have to restart the server find the new resource. I wonder is there a way to add new resources to $TOMCAT_BASE/conf/context.xml on Tomcat 5.5.23, without restarting server to find it? Regards, cun -- View this