> From: Prarthana Agwania [mailto:prarthana.agwa...@gmail.com] > Subject: Tomcat 8.0.23, Apache Commons 2.2: Object pool shared across Tomcat > servers/clusters?
> Currently in our project, we have multiple Tomcat servers running on a > single physical server each having its own connection pool. We have a > requirement where in, we could have a shared connection pool across > multiple Tomcat servers. Whoever came up with that requirement is seriously confused. Underlying every database connection is a TCP/IP connection, which by definition, is point-to-point. There is no possible way for a single TCP/IP connection to be usable other than by the two end points (discounting MITM hacks). At best, you could invent a proxy machine which would connect to the DB server, and each Tomcat server could connect to the proxy. The added complication, performance impact, and overall cost make this a completely nonsensical thing to do. - 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