Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 61825 invoked from network); 25 Feb 2011 06:32:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 25 Feb 2011 06:32:07 -0000 Received: (qmail 44417 invoked by uid 500); 25 Feb 2011 06:32:04 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 43785 invoked by uid 500); 25 Feb 2011 06:31:58 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 43775 invoked by uid 99); 25 Feb 2011 06:31:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 06:31:57 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of abhishek.netjain@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-ew0-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Feb 2011 06:31:51 +0000 Received: by ewy24 with SMTP id 24so637989ewy.18 for ; Thu, 24 Feb 2011 22:31:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=QXJWF4x+BmLONaTP4Tgu94BlVTtknXvI+/jByv3iu5Y=; b=Pj4XcmneKiU5eeWW0vLBmN63t5NiKmAU7B6sM6YP2zRCIV/qOkiffjmxpOGRH0kPdf MElkXgDxZ722j2Yf77IsMAMkl4GJj2mRPGIISE87KBdPhys3BlXLL0Ededs5MiowhWXJ llJNF4DMUDQ/UArC/4vo14U6kLsOJZ/7msEZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=xjZBnjbmH+cjaAEIHfyy4WPpAoL8gxsjP2wyiTDRZZMRydU897AN2oFl3A6Cf+/KgN vg1uh4Ezk0SJySszCo0RIO8G9UCHPEhpCDgRyrSfmeVbyAmoPEdrnf4fXUoUQrHFDkTB o8p0GmIqbbolBc1eae+lr/mr13bA6Gm6DlANk= MIME-Version: 1.0 Received: by 10.213.114.19 with SMTP id c19mr241540ebq.71.1298615489872; Thu, 24 Feb 2011 22:31:29 -0800 (PST) Received: by 10.213.14.11 with HTTP; Thu, 24 Feb 2011 22:31:29 -0800 (PST) Date: Fri, 25 Feb 2011 12:01:29 +0530 Message-ID: Subject: Exception in hibernate3 relating to timeout From: abhishek jain To: Tomcat Users List Content-Type: multipart/alternative; boundary=0015174bdebcf9435c049d157a01 --0015174bdebcf9435c049d157a01 Content-Type: text/plain; charset=ISO-8859-1 hi, I am not sure if i am ringing the correct list, but i am sure people here must have encountered this problem. I am new to hibernate and when i ran the code on server it was fine , strangely next day it keep on giving this error till i restart tomcat. The last packet successfully received from the server was 54,880,316 milliseconds ago. The last packet sent successfully to the server was 54,880,317 milliseconds ago. 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. I have searched a lot on net and added the following properties on hibernate.cfg.xml, as people there were suggesting this,but of no use. 5 20 300 50 3000 thread Pl. help me. I have used hibernate3 with myeclipse as the development environment, and am using mysql 5.x and centos (Linux) with Tomcat 5.x -- Thanks and kind Regards, Abhishek jain --0015174bdebcf9435c049d157a01--