tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "KUMAR, NANDA [AG-Contractor/1000]" <nanda.ku...@monsanto.com>
Subject RE: Error: Io exception: Connection reset
Date Wed, 30 Nov 2005 15:29:18 GMT
Thanks Tobias,
 I will try as you mentioned below. Could you please let me know what
"validationQuery" parameter does and where I can find these information on
tomcat documentation.

-Nanda

-----Original Message-----
From: Tobias Meyer [mailto:tm@allocation.net]
Sent: Wednesday, November 30, 2005 12:38 AM
To: 'Tomcat Users List'
Subject: AW: Error: Io exception: Connection reset 


Maybe the user hit the "stop" button on the browser while downloading a page
or binary.

IIRC this will give you IOExceptions in your servlet when trying to push
more data in the "dead" connection.

It could also be your firewall, that times out connections which have not
been used for some time.
If you use tomcat connection pooling, try using 
	<parameter>
		<name>validationQuery</name>
		<value>select 1</value>
	</parameter>
in the ResourceParams of your jdbc connection definition in server.xml 
(see tomcat documentation for details)


Hth,
Tobias

> -----Urspr√ľngliche Nachricht-----
> Von: KUMAR, NANDA [AG-Contractor/1000] 
> [mailto:nanda.kumar@monsanto.com]
> Gesendet: Mittwoch, 30. November 2005 00:54
> An: users@tomcat.apache.org
> Betreff: Error: Io exception: Connection reset 
> 
> 
> Very often we are getting Io Exception: Connection reset 
> error. There is a
> firewall between tomcat app server and DB server.
> I wonder whether firewall is closing the connection or what 
> could be the
> reason. Please let me know how to get rid of this error. 
> 
> Thanks in advance.
> 
> 
> 
> --------------------------------------------------------------
> -------------------------------------------
> This e-mail message may contain privileged and/or 
> confidential information, and is intended to be received only 
> by persons entitled to receive such information. If you have 
> received this e-mail in error, please notify the sender 
> immediately. Please delete it and all attachments from any 
> servers, hard drives or any other media. Other use of this 
> e-mail by you is strictly prohibited.
> 
> 
> All e-mails and attachments sent and received are subject to 
> monitoring, reading and archival by Monsanto. The recipient 
> of this e-mail is solely responsible for checking for the 
> presence of "Viruses" or other "Malware". Monsanto accepts no 
> liability for any damage caused by any such code transmitted 
> by or accompanying this e-mail or any attachment.
> --------------------------------------------------------------
> -------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------------------------------------------
This e-mail message may contain privileged and/or confidential information, and is intended
to be received only by persons entitled to receive such information. If you have received
this e-mail in error, please notify the sender immediately. Please delete it and all attachments
from any servers, hard drives or any other media. Other use of this e-mail by you is strictly
prohibited.


All e-mails and attachments sent and received are subject to monitoring, reading and archival
by Monsanto. The recipient of this e-mail is solely responsible for checking for the presence
of "Viruses" or other "Malware". Monsanto accepts no liability for any damage caused by any
such code transmitted by or accompanying this e-mail or any attachment.
---------------------------------------------------------------------------------------------------------


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message