Re: Sharing an abandoned connection pool help

2009-04-18 Thread Douglas Miller
*facepalm* I really should have found that reading the docs on my own,  
but thank you muchly for the help anyway. It works like a charm.


On 18/04/2009, at 12:17 AM, Caldarale, Charles R wrote:


From: Douglas Miller [mailto:dougmil...@themetacity.com]
Subject: Sharing an abandoned connection pool help

I have several web apps that are getting info from a database under
the same username. I had it set up with a context in each app.


Try using a global resource rather than one local to each webapp.

You didn't bother to tell us the version of Tomcat you're using, but  
for 6.0, the doc is here:

http://tomcat.apache.org/tomcat-6.0-doc/config/globalresources.html

(The outdated use of DefaultContext in the doc should really refer  
to conf/context.xml or conf/Catalina/[host]/context.xml.default.)


- 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



RE: Sharing an abandoned connection pool help

2009-04-17 Thread Caldarale, Charles R
 From: Douglas Miller [mailto:dougmil...@themetacity.com]
 Subject: Sharing an abandoned connection pool help
 
 I have several web apps that are getting info from a database under
 the same username. I had it set up with a context in each app.

Try using a global resource rather than one local to each webapp.

You didn't bother to tell us the version of Tomcat you're using, but for 6.0, 
the doc is here:
http://tomcat.apache.org/tomcat-6.0-doc/config/globalresources.html

(The outdated use of DefaultContext in the doc should really refer to 
conf/context.xml or conf/Catalina/[host]/context.xml.default.)

 - 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 unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org