Application lost database connection
am 09.03.2010 06:21:34 von Manasi Save--=_3sxlyuup8qtc
Content-Type: text/plain;
charset=UTF-8
Content-Description: Plaintext Version of Message
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Hi All,
I am really not sure whether this question should be asked here or not but I am hoping that someone must have faced this problem.
My Servers are losing connections with database because of inactivity and on next activity I am getting following error :-
"The last packet successfully received from the server was40939 seconds ago.The last packet sent successfully to the server was 40939 seconds ago, which is longer than the server configured value of 'wait_timeout'. You should consider either expiring and/or testing connection validity before use in your application, increasing the server configured values for client timeouts, or using the Connector/J connection property 'autoReconnect=true' to avoid this problem."
Do I need to change in the application for this or what changes do I need to do to fix this error.
Please provide me some input.
Thanks in advance.
--
Regards,
Manasi Save
--=_3sxlyuup8qtc
Content-Type: multipart/related;
boundary="=_3x044t38ui0w";
start="3x0yz0c6knnk@mail.artificialmachines.com"
Content-Transfer-Encoding: 7bit
This message is in MIME format.
--=_3x044t38ui0w
Content-Type: text/html;
charset=UTF-8
Content-Description: HTML Version of Message
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Content-ID: 3x0yz0c6knnk@mail.artificialmachines.com
Hi All,
I am really not sure whether this question should be asked here or not but I am
hoping that someone must have faced this problem.
My Servers are losing connections with database because of inactivity and on
next activity I am getting following error :-
"The last packet successfully received from the server was40939 seconds ago.The
last packet sent successfully to the server was 40939 seconds ago, which
is longer than the server configured value of 'wait_timeout'. You should
consider either expiring and/or testing connection validity before use in your
application, increasing the server configured values for client timeouts, or
using the Connector/J connection property 'autoReconnect=true' to avoid this
problem."
Do I need to change in the application for this or what changes do I need to do
to fix this error.
Please provide me some input.
Thanks in advance.
--
Regards,
Manasi Save
--=_3x044t38ui0w--
--=_3sxlyuup8qtc--