This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 175265 - com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error: ** BEGIN NESTE
Summary: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No oper...
Status: VERIFIED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL: http://statistics.netbeans.org/except...
Keywords:
: 175389 176881 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-23 10:01 UTC by Michal Mocnak
Modified: 2009-11-26 02:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 160693


Attachments
stacktrace (5.78 KB, text/plain)
2009-10-23 10:01 UTC, Michal Mocnak
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Mocnak 2009-10-23 10:01:40 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910212001)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-90, Java(TM) SE Runtime Environment, 1.6.0_15-b03-219
OS: Mac OS X, 10.6.1, x86_64

Stacktrace: 
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION ** 

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException
MESSAGE: The last packet successfully received from the server was48023 seconds ago.The last packet sent successfully to the server was 48023 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.

STACKTRACE:

com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was48023 seconds ago.The last packet sent successfully to the server was 48023 seconds ago, which  is longer than the server configured value of 'wai
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:406)
        at com.mysql.jdbc.Util.getInstance(Util.java:381)
Comment 1 Michal Mocnak 2009-10-23 10:01:56 UTC
Created attachment 89964 [details]
stacktrace
Comment 2 Jiri Rechtacek 2009-10-25 19:37:50 UTC
*** Issue 175389 has been marked as a duplicate of this issue. ***
Comment 3 Jiri Rechtacek 2009-11-13 03:42:55 UTC
I hope it's fixed in core-main/rev/33bd90c1ee1e
Comment 4 Quality Engineering 2009-11-16 03:13:36 UTC
Integrated into 'main-golden', will be available in build *200911160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/33bd90c1ee1e
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #176347, #175265, #175002: Incorrect work with disconnected mysql server
Comment 5 Jiri Rechtacek 2009-11-16 05:19:52 UTC
*** Bug 176881 has been marked as a duplicate of this bug. ***
Comment 6 Michal Mocnak 2009-11-26 02:55:04 UTC
Verified