Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Multiple instance in Single DBCP

 
eric sato
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Mike Curwen
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic