java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(SocketOutputStream.java:0) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123) Caused: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was61574 seconds ago.The last packet sent successfully to the server was 61574 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. 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.SQLError.createCommunicationsException(SQLError.java:1074) at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:3246) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1917) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2060) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2536) at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465) at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1383) at com.mysql.jdbc.DatabaseMetaData$9.forEach(DatabaseMetaData.java:4826) at com.mysql.jdbc.IterateBlock.doForAll(IterateBlock.java:50) at com.mysql.jdbc.DatabaseMetaData.getTables(DatabaseMetaData.java:4804) Caused: org.netbeans.modules.db.metadata.model.api.MetadataException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was61574 seconds ago.The last packet sent successfully to the server was 61574 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. at org.netbeans.modules.db.metadata.model.jdbc.JDBCSchema.createTables(JDBCSchema.java:166) at org.netbeans.modules.db.metadata.model.jdbc.JDBCSchema.initTables(JDBCSchema.java:217) at org.netbeans.modules.db.metadata.model.jdbc.JDBCSchema.getTables(JDBCSchema.java:99) at org.netbeans.modules.db.metadata.model.api.Schema.getTables(Schema.java:101) at org.netbeans.modules.db.explorer.node.TableNodeProvider$1.run(TableNodeProvider.java:104) at org.netbeans.modules.db.explorer.node.TableNodeProvider$1.run(TableNodeProvider.java:100) Caused: org.netbeans.modules.db.metadata.model.api.MetadataModelException: org.netbeans.modules.db.metadata.model.api.MetadataException: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: The last packet successfully received from the server was61574 seconds ago.The last packet sent successfully to the server was 61574 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. at org.netbeans.modules.db.metadata.model.JDBCConnMetadataModel.runReadAction(JDBCConnMetadataModel.java:99) at org.netbeans.modules.db.metadata.model.api.MetadataModel.runReadAction(MetadataModel.java:89) at org.netbeans.modules.db.explorer.node.TableNodeProvider.initialize(TableNodeProvider.java:99) at org.netbeans.api.db.explorer.node.NodeProvider.getNodes(NodeProvider.java:103) at org.netbeans.modules.db.explorer.node.NodeRegistry.getNodes(NodeRegistry.java:149) at org.netbeans.api.db.explorer.node.ChildNodeFactory.createKeys(ChildNodeFactory.java:104) at org.openide.nodes.AsynchChildren.run(AsynchChildren.java:158) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)