Mefta: This sort of thing happens if you are not careful to close result sets, statements and connections. Also make sure that you add the code to close in a "finally" clause so that statements etc are closed no matter if the code in the try block succeeds or not.
Regards, Geeta Mohammad - Meftauddin wrote: > Hi, > > Iam developing a servlet on the following platform: > Solaris 8.0 > Apache : 1.3.17 > Tomcat 4.0 > > My servlet runs fine, but after a couple of executions of the same.. it > hangs. If i reboot the server and restart it, it again starts working and > hangs after a couple of more executions. > > I have a hunch that it is a problem with having multiple open connections. > If it is, i dont have a clue as to how i could fix this problem. > > Could anyone suggest the solution to the above problem. > > Thanking you > Mefta > > ___________________________________________________________________________ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
