This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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.

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Multiple instance in Single DBCP
It's not a secret anymore!