org.apache.derby.client.am.DisconnectException: A communication error has been detected. Communication protocol being used: Reply.fill(). Communication API being used: InputStream.read(). Location where the error was detected: insufficient data. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS Error Code: -4499 Call:SELECT ID, NAME, VALUE FROM SETTING WHERE (NAME = CAST (? AS VARCHAR(32672) )) bind => [admin.password] Query:ReportQuery(test.persistence.Setting)

Oracle Community | Dan_B | 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

    Can not catch DatabaseException!?

    Oracle Community | 1 decade ago | Dan_B
    org.apache.derby.client.am.DisconnectException: A communication error has been detected. Communication protocol being used: Reply.fill(). Communication API being used: InputStream.read(). Location where the error was detected: insufficient data. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS Error Code: -4499 Call:SELECT ID, NAME, VALUE FROM SETTING WHERE (NAME = CAST (? AS VARCHAR(32672) )) bind => [admin.password] Query:ReportQuery(test.persistence.Setting)
  2. 0

    db:: 3.40::ContextSwitchedDeadlock was detected Exception za

    hivmr.com | 1 year ago
    org.apache.derby.client.am.DisconnectException: A communication error has been detected. Communication protocol being used: Reply.fill(). Communication API being used: InputStream.read(). Location where the error was detected: insufficient data. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS Error Code: -4499 Call:SELECT ID, NAME, VALUE FROM SETTING WHERE (NAME = CAST (? AS VARCHAR(32672) )) bind = [admin.password] Query:ReportQuery(test.persistence.Setting)
  3. 0

    db:: 3.45::Communication Exception !!! is that size problem? 9j

    hivmr.com | 12 months ago
    org.apache.derby.client.am.DisconnectException: A communication error has been detected. Communication protocol being used: Reply.fill(). Communication API being used: InputStream.read(). Location where the error was detected: insufficient data. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS Error Code: -4499 Call:SELECT ID, NAME, VALUE FROM SETTING WHERE (NAME = CAST (? AS VARCHAR(32672) )) bind = [admin.password] Query:ReportQuery(test.persistence.Setting)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Catch DatabaseException

    Oracle Community | 1 decade ago | 843830
    org.apache.derby.client.am.DisconnectException: A communication error has been detected. Communication protocol being used: Reply.fill(). Communication API being used: InputStream.read(). Location where the error was detected: insufficient data. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS Error Code: -4499 Call:SELECT ID, NAME, VALUE FROM SETTING WHERE (NAME = CAST (? AS VARCHAR(32672) )) bind => [admin.password] Query:ReportQuery(test.persistence.Setting)

    Root Cause Analysis

    1. org.apache.derby.client.am.DisconnectException

      A communication error has been detected. Communication protocol being used: Reply.fill(). Communication API being used: InputStream.read(). Location where the error was detected: insufficient data. Communication function detecting the error: *. Protocol specific error codes(s) TCP/IP SOCKETS Error Code: -4499 Call:SELECT ID, NAME, VALUE FROM SETTING WHERE (NAME = CAST (? AS VARCHAR(32672) )) bind => [admin.password] Query:ReportQuery(test.persistence.Setting)

      at oracle.toplink.essentials.exceptions.DatabaseException.sqlException()
    2. oracle.toplink.essentials
      EJBQueryImpl.getSingleResult
      1. oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:303)
      2. oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:551)
      3. oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:437)
      4. oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.executeCall(UnitOfWorkImpl.java:1355)
      5. oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:213)
      6. oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:199)
      7. oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeSelectCall(DatasourceCallQueryMechanism.java:270)
      8. oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.selectAllRows(DatasourceCallQueryMechanism.java:600)
      9. oracle.toplink.essentials.internal.queryframework.ExpressionQueryMechanism.selectAllRowsFromTable(ExpressionQueryMechanism.java:2108)
      10. oracle.toplink.essentials.internal.queryframework.ExpressionQueryMechanism.selectAllReportQueryRows(ExpressionQueryMechanism.java:2074)
      11. oracle.toplink.essentials.queryframework.ReportQuery.executeDatabaseQuery(ReportQuery.java:774)
      12. oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:609)
      13. oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:677)
      14. oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:731)
      15. oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2211)
      16. oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:937)
      17. oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:909)
      18. oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:342)
      19. oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:452)
      19 frames
    3. test.persistence.mgr
      SettingMgrBean.findByName
      1. test.persistence.mgr.SettingMgrBean.findByName(SettingMgrBean.java:40)
      1 frame