Yes, you are right. 60 seconds is the defaut timelimit for TCP/IP
connection,also.Sebastian: unfortunatelly, you need to post all your code
that deals with connection...  

-----Mensagem original-----
De: Philipp Taprogge [mailto:[EMAIL PROTECTED]
Enviada em: terca-feira, 23 de dezembro de 2003 14:54
Para: Tomcat Users List
Assunto: Re: RES: TCP-FIN problem


Hi!

Sebastian Klenk wrote:
> I didn't do anything ... the only problem I have is that my app. is not 
> very fast, and that is because it has to wait for tomcat to close the 
> connection, but tomcat closes the connection a lot later (ca 1 minute).
> My question is now if there is a way to tell tomcat that all data has 
> been written an that the connection can be closend!?

Your problem is not tomcat, but the application. Tomcat uses a default 
timeout of 60 seconds on the socket. But what seems to happen in your 
case is not tomcat causing that timeout, but _experiencing_ it.
Your application is not closing the connection properly and tomcat 
keeps it open until the timeout occurs. Could you perhaps post more 
information on that application? Is it written in Java as well? 
Perhaps you could post some code snipplets?

        Phil


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to