java.lang.LinkageError: Class oracle/net/ns/Packet violates loader constraints: definition mismatch between parent and child loaders

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

    JDBC Datasource connection failure from WAS6.0

    Oracle Community | 1 decade ago | 558024
    java.lang.LinkageError: Class oracle/net/ns/Packet violates loader constraints: definition mismatch between parent and child loaders

    Root Cause Analysis

    1. java.lang.LinkageError

      Class oracle/net/ns/Packet violates loader constraints: definition mismatch between parent and child loaders

      at oracle.net.ns.NSProtocol.connect()
    2. Oracle jdbc
      OracleConnectionPoolDataSource.getPooledConnection
      1. oracle.net.ns.NSProtocol.connect(Unknown Source)
      2. oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:844)
      3. oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:268)
      4. oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
      5. oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
      6. oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
      7. oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
      8. oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:297)
      9. oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)
      10. oracle.jdbc.pool.OracleConnectionPoolDataSource.getPhysicalConnection(OracleConnectionPoolDataSource.java:157)
      11. oracle.jdbc.pool.OracleConnectionPoolDataSource.getPooledConnection(OracleConnectionPoolDataSource.java:94)
      11 frames
    3. com.ibm.ws
      DSConfigurationHelper$1.run
      1. com.ibm.ws.rsadapter.DSConfigurationHelper$1.run(DSConfigurationHelper.java:1012)
      1 frame