This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes JSP and the fly likes connection pool problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "connection pool problem" Watch "connection pool problem" New topic

connection pool problem

gaurav chaudhary
Ranch Hand

Joined: Jun 24, 2002
Posts: 64
I am having a LibPool class which is calling the ConnectionPool class.
The codes are as follows

This is for LibPool and the following is for ConnectionPool class

Now I am calling this in JSP like this

To free the connection,

Now, Everything is working fine but sometimes I think the POOL object becomes NULL at random intervals inspite of being declared STATIC
The backend I am using is MSSQLServer2000 and server is weblogic 6.1


It is sorta covered in the JavaRanch Style Guide.
subject: connection pool problem
It's not a secret anymore!