java.io.IOException: Unexpected end of input stream

Oracle Community | 807581 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    MySQL & Sun ONE AS

    Oracle Community | 1 decade ago | 807581
    java.io.IOException: Unexpected end of input stream
  2. 0

    MySQL and Sun ONE AS 7 - connection pool

    Oracle Community | 1 decade ago | 807581
    java.io.IOException: Unexpected end of input stream

    Root Cause Analysis

    1. java.io.IOException

      Unexpected end of input stream

      at com.mysql.jdbc.MysqlIO.readPacket()
    2. MySQL jdbc
      MysqlDataSource.getConnection
      1. com.mysql.jdbc.MysqlIO.readPacket(MysqlIO.java:1096)
      2. com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:387)
      3. com.mysql.jdbc.Connection.createNewIO(Connection.java:1562)
      4. com.mysql.jdbc.Connection.<init>(Connection.java:491)
      5. com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:346)
      6. com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:199)
      7. com.mysql.jdbc.jdbc2.optional.MysqlDataSource.getConnection(MysqlDataSource.java:163)
      7 frames
    3. Connectors Runtime
      JdbcDataSource.getConnection
      1. com.sun.enterprise.resource.JdbcUrlAllocator.createResource(JdbcUrlAllocator.java:88)
      2. com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
      3. com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
      4. com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
      5. com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
      6. com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
      7. com.sun.enterprise.resource.JdbcXAConnection.<init>(JdbcXAConnection.java:74)
      8. com.sun.enterprise.resource.Jdbc10XaAllocator.createResource(Jdbc10XaAllocator.java:94)
      9. com.sun.enterprise.resource.IASNonSharedResourcePool.createSteadyResources(IASNonSharedResourcePool.java:856)
      10. com.sun.enterprise.resource.IASNonSharedResourcePool.initPool(IASNonSharedResourcePool.java:416)
      11. com.sun.enterprise.resource.IASNonSharedResourcePool.internalGetResource(IASNonSharedResourcePool.java:625)
      12. com.sun.enterprise.resource.IASNonSharedResourcePool.getResource(IASNonSharedResourcePool.java:520)
      13. com.sun.enterprise.resource.PoolManagerImpl.getResourceFromPool(PoolManagerImpl.java:263)
      14. com.sun.enterprise.resource.PoolManagerImpl.getResource(PoolManagerImpl.java:170)
      15. com.sun.enterprise.resource.JdbcDataSource.internalGetConnection(JdbcDataSource.java:241)
      16. com.sun.enterprise.resource.JdbcDataSource.getConnection(JdbcDataSource.java:129)
      16 frames
    4. com.stmd.dispatch
      UserData.loginUser
      1. com.stmd.dispatch.UserData.loginUser(UserData.java:140)
      1 frame