File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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


I agree. Here's the link:
subject: connection pool problem