日期:2014-05-20  浏览次数:20942 次

不知道什么错,网上找不到答案,请高手帮个忙。。
MESSAGE: Software caused connection abort: socket write error
严重: Servlet.service() for servlet action threw exception
com.mysql.jdbc.exceptions.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:


** BEGIN NESTED EXCEPTION ** 

com.mysql.jdbc.CommunicationsException
MESSAGE: Communications link failure due to underlying exception: 

** BEGIN NESTED EXCEPTION ** 

java.net.SocketException
MESSAGE: Software caused connection abort: socket write error

STACKTRACE:

java.net.SocketException: Software caused connection abort: socket write error
  at java.net.SocketOutputStream.socketWrite0(Native Method)
  at java.net.SocketOutputStream.socketWrite(Unknown Source)
  at java.net.SocketOutputStream.write(Unknown Source)
  at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
  at java.io.BufferedOutputStream.flush(Unknown Source)
  at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2637)
  at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1554)
  at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
  at com.mysql.jdbc.Connection.execSQL(Connection.java:3176)
  at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1153)
  at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1266)
  at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)
  at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
  at org.hibernate.loader.Loader.doQuery(Loader.java:662)

 
  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  at java.lang.Thread.run(Unknown Source)


** END NESTED EXCEPTION **



Last packet sent to the server was 0 ms ago.

STACKTRACE:

com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception

** BEGIN NESTED EXCEPTION ** 

java.net.SocketException
MESSAGE: Software caused connection abort: socket write error

STACKTRACE:

java.net.SocketException: Software caused connection abort: socket write error
  at java.net.SocketOutputStream.socketWrite0(Native Method)
  at java.net.SocketOutputStream.socketWrite(Unknown Source)
  at java.net.SocketOutputStream.write(Unknown Source)
  at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
  at java.io.BufferedOutputStream.flush(Unknown Source)
  at com.mysql.jdbc.MysqlIO.send(MysqlIO.java:2637)
  at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1554)
  at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665)
  at com.mysql.jdbc.Connection.execSQL(Connection.java:3176)
  at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1153)
  at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1266)
  at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)
  at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
  at org.hibernate.loader.Loader.doQuery(Loader.java:662)
  at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  at org.hibernate.loader.Loader.doList(Loader.java:2145)
  at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)