Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Tomcat and the fly likes Multiple instance in Single DBCP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Multiple instance in Single DBCP" Watch "Multiple instance in Single DBCP" New topic
Author

Multiple instance in Single DBCP

eric sato
Ranch Hand

Joined: Oct 01, 2002
Posts: 37
hi all,
Currently Tomcat is running in multiple instances. Each of the instance has its own Database Connection Pool(DBCP). How do i configure/make changes in order only has a single DBCP in multiple tomcat instances? It allows me more efficient to manage DB connection.
Pls advise if you know the way.
Thanks in advance.
sato.


If you can't change the direction the the wind, change your sail.
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

There's no way I know of to do this.

Where do you imagine you might configure the DBCP? In one of the Tomcat instances in your cluster? What if that is the one that goes down?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple instance in Single DBCP