java.io.IOException: Connection reset by peer

Oracle Community | 807581 | 1 decade ago
  1. 0

    RAR5074

    Oracle Community | 1 decade ago | 807581
    java.io.IOException: Connection reset by peer
  2. 0

    Problems connecting my webservice to my mysql database.

    Oracle Community | 1 decade ago | 843833
    java.io.IOException: An established connection was aborted by the software in your host machine
  3. 0

    problem connecting my webservice to mysql database

    Oracle Community | 1 decade ago | 843833
    java.io.IOException: An established connection was aborted by the software in your host machine
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Problems connectig my webservice to my mysql database.

    Oracle Community | 1 decade ago | 843833
    java.io.IOException: An established connection was aborted by the software in your host machine
  6. 0

    problem connecting a webservice to a mysql database

    Oracle Community | 1 decade ago | 843833
    java.io.IOException: An established connection was aborted by the software in your host machine
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.IOException

    Connection reset by peer

    at sun.nio.ch.FileDispatcher.read0()
  2. Java RT
    SocketChannelImpl.read
    1. sun.nio.ch.FileDispatcher.read0(Native Method)
    2. sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:21)
    3. sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:233)
    4. sun.nio.ch.IOUtil.read(IOUtil.java:206)
    5. sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:207)
    5 frames
  3. com.sun.enterprise
    ASInputStream.read
    1. com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:82)
    2. com.sun.enterprise.server.ss.ASInputStream.read(ASInputStream.java:73)
    2 frames
  4. MySQL jdbc
    ConnectionWrapper.getTransactionIsolation
    1. com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:113)
    2. com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:160)
    3. com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:188)
    4. com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1902)
    5. com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2351)
    6. com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2862)
    7. com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1571)
    8. com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1666)
    9. com.mysql.jdbc.Connection.execSQL(Connection.java:2988)
    10. com.mysql.jdbc.Connection.execSQL(Connection.java:2917)
    11. com.mysql.jdbc.Statement.executeQuery(Statement.java:824)
    12. com.mysql.jdbc.Connection.getTransactionIsolation(Connection.java:3510)
    13. com.mysql.jdbc.jdbc2.optional.ConnectionWrapper.getTransactionIsolation(ConnectionWrapper.java:316)
    13 frames
  5. Embedded GlassFish Web
    ManagedConnection.getConnection
    1. com.sun.gjc.spi.ManagedConnectionFactory.resetIsolation(ManagedConnectionFactory.java:404)
    2. com.sun.gjc.spi.ManagedConnection.getConnection(ManagedConnection.java:304)
    2 frames
  6. Connectors Runtime
    ConnectionManagerImpl.allocateConnection
    1. com.sun.enterprise.resource.LocalTxConnectorAllocator.fillInResourceObjects(LocalTxConnectorAllocator.java:70)
    2. com.sun.enterprise.resource.IASNonSharedResourcePool.getUnenlistedResource(IASNonSharedResourcePool.java:431)
    3. com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:355)
    4. com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:250)
    5. com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:213)
    6. com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:174)
    7. com.sun.enterprise.connectors.ConnectionManagerImpl.internalGetConnection(ConnectionManagerImpl.java:276)
    8. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:190)
    9. com.sun.enterprise.connectors.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:121)
    9 frames
  7. Embedded GlassFish Web
    DataSource.getConnection
    1. com.sun.gjc.spi.DataSource.getConnection(DataSource.java:70)
    1 frame
  8. com.sun.sql
    CachedRowSetXImpl.execute
    1. com.sun.sql.rowset.internal.CachedRowSetXReader.connect(CachedRowSetXReader.java:344)
    2. com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:126)
    3. com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:950)
    4. com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1410)
    4 frames
  9. com.sun.data
    CachedRowSetDataProvider.close
    1. com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1219)
    2. com.sun.data.provider.impl.CachedRowSetDataProvider.absolute(CachedRowSetDataProvider.java:283)
    3. com.sun.data.provider.impl.CachedRowSetDataProvider.getRowKeys(CachedRowSetDataProvider.java:232)
    4. com.sun.data.provider.impl.CachedRowSetDataProvider.cursorFirst(CachedRowSetDataProvider.java:351)
    5. com.sun.data.provider.impl.CachedRowSetDataProvider.setCachedRowSet(CachedRowSetDataProvider.java:182)
    6. com.sun.data.provider.impl.CachedRowSetDataProvider.close(CachedRowSetDataProvider.java:209)
    6 frames
  10. clockwork
    register.destroy
    1. clockwork.register.destroy(register.java:320)
    1 frame
  11. com.sun.rave
    ViewHandlerImpl.afterPhase
    1. com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:580)
    2. com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.afterPhase(ViewHandlerImpl.java:466)
    2 frames
  12. JSF
    LifecycleImpl.render
    1. com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:235)
    2. com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    2 frames
  13. JavaEE 7
    FacesServlet.service
    1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    1 frame
  14. Java RT
    Method.invoke
    1. sun.reflect.GeneratedMethodAccessor217.invoke(Unknown Source)
    2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    3. java.lang.reflect.Method.invoke(Method.java:324)
    3 frames
  15. Glassfish Core
    SecurityUtil$1.run
    1. org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    1 frame
  16. Java RT
    Subject.doAsPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    2. javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
    2 frames
  17. Glassfish Core
    ApplicationFilterChain$1.run
    1. org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    2. org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    3. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    4. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    5. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    5 frames
  18. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  19. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    1 frame
  20. com.sun.rave
    UploadFilter.doFilter
    1. com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    1 frame
  21. Glassfish Core
    ApplicationFilterChain$1.run
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    2. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    3. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    3 frames
  22. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  23. Glassfish Core
    ApplicationFilterChain.doFilter
    1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    1 frame
  24. clockwork
    SecurityFilter.doFilter
    1. clockwork.SecurityFilter.doFilter(SecurityFilter.java:97)
    1 frame
  25. Glassfish Core
    ApplicationFilterChain$1.run
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    2. org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    3. org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    3 frames
  26. Java RT
    AccessController.doPrivileged
    1. java.security.AccessController.doPrivileged(Native Method)
    1 frame
  27. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    3. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    4. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    5. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    6. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    7. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    8. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    10. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    11. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    11 frames
  28. org.apache.coyote
    CoyoteAdapter.service
    1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
    1 frame
  29. Glassfish Core
    WorkerThread.run
    1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
    2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
    3. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
    4. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
    5. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
    6. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    6 frames