I fixed a similar problem by setting timeouts for sockets.

So if you use any sockets in your code try socket.setSOTimeout(ms).

And of course you should do

public void finalize() {
  if (socket != null) socket.close();
}

good luck
stefan

-----Ursprüngliche Nachricht-----
Von: A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]Im Auftrag von
Apurva KiritKumar Shah
Gesendet: Freitag, 6. April 2001 07:17
An: [EMAIL PROTECTED]
Betreff: Servlet stops to respond


Respected Friends
I am in great trouble.
Friends I have redhat linux 6.1,with tomcat-3.2.1,mysql-3.23.32 and
mm.mysql.jdbc 1.2c driver,apache 1.3.9 .I have a site named
lucky-tickets.com .On which i am using servlet with applet.Now my servlet is
for authentication and user registratrion .My servlet are sunning fine for
whole one day,and another day it suddenly stop to responding .I don't what
happens.but it shows nothing,no exception ,nothing else only white page.Than
i restart tomcat and it runs fine for another one day.I have put nothing in
web.xml except some necessary lines.No servlet named specify in web.xml
.Please help me to solve this problem.I know this is not a bug from your
side ,but no body give me solution regarding this.
When servlet related to this site stops another servlet of other site
responds.I read the error log of mysql.There was a request time out for the
database this site uses.
Please help me!

Thank You
Regards
Apurva shah

_____________________________________________________
Chat with your friends as soon as they come online. Get Rediff Bol at
http://bol.rediff.com

___________________________________________________________________________
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