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

tomcat 4 and connection pool

 
lucio dalla
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I already posted a similar question but I got no answer so far so I try again...
I have an application using connection pooling to Oracle, it works fine on Tomcat 3 but on Tomcat 4 the number of active connections grows to a point when I have to kill them. The strange thing is it doesn't grow continously but it can stop on a certain number of active connections for a while and then increase. It's not a matter of closing the connections since I checked and all are closed and exactly the same application runs fine on v.3. Since I open the connection use it and then close it immediately I normally get 1 or 0 active connections on v.3 but on v.4 it goes up continously...it's like Tomcat is somehow interfering with Oracle's connection pooling. Anybody can help?
Thanks,
A.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic