Hi,

Thanks Geeta for your mail, We have closed all the statements and result
blocks, connections that we opened. But we still have not been able to
overcome the problem. After a few executions the java server hangs.

To be able to execute the server we have to restart the server, after
which it executes fine again.

Could anyone suggest a solution to this problem.

Mefta

On Wed, 24 Oct 2001, Geeta Ramani wrote:

> 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
>
>

___________________________________________________________________________
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

Reply via email to