Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connection not close

 
cairo fivez
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I've with one application consist of servlets and jsp (hundred of files). I'm going to deploy this application on sun one and use sun one data source connection pooling.
The problem is that this apps open a connection in various places (jsp&servlet) but never close it. Is there any way that I can do to ask the connection pooling to close the connection. This is becase it's hard for me to manually close all open connection as there are many jsps and some of the servlet/classes couldn't be decompile (We're missing the source code)
Appreciate if someone could give an idea/hint on how to tacke this issue.
Thanks
 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cairo,
If it is possible to decompile & change your connection pool class,you can
manipulate close method ,overridden from java.sql.Connection.
Cheers
Praful
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic