java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1033_WLStub cannot be cast to oracle.jdbc.internal.OracleConnection

Oracle Community | 957808 | 5 years 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

    oracle.jms.AQjmsException: Error creating the db_connection( OSB PS2.)

    Oracle Community | 5 years ago | 957808
    java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1033_WLStub cannot be cast to oracle.jdbc.internal.OracleConnection

    Root Cause Analysis

    1. java.lang.ClassCastException

      weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1033_WLStub cannot be cast to oracle.jdbc.internal.OracleConnection

      at oracle.jms.AQjmsGeneralDBConnection.getProviderKey()
    2. oracle.jms
      AQjmsXAQueueConnectionFactory.createXAQueueConnection
      1. oracle.jms.AQjmsGeneralDBConnection.getProviderKey(AQjmsGeneralDBConnection.java:96)
      2. oracle.jms.AQjmsGeneralDBConnection.<init>(AQjmsGeneralDBConnection.java:65)
      3. oracle.jms.AQjmsDBConnMgr.getConnection(AQjmsDBConnMgr.java:566)
      4. oracle.jms.AQjmsDBConnMgr.<init>(AQjmsDBConnMgr.java:399)
      5. oracle.jms.AQjmsXAConnection.<init>(AQjmsXAConnection.java:112)
      6. oracle.jms.AQjmsXAQueueConnectionFactory.createAllXAConnection(AQjmsXAQueueConnectionFactory.java:320)
      7. oracle.jms.AQjmsXAQueueConnectionFactory.createXAQueueConnection(AQjmsXAQueueConnectionFactory.java:198)
      7 frames
    3. weblogic.deployment.jms
      PooledConnectionFactory.createQueueConnection
      1. weblogic.deployment.jms.JMSConnectionHelper.openConnection(JMSConnectionHelper.java:282)
      2. weblogic.deployment.jms.JMSConnectionHelper.<init>(JMSConnectionHelper.java:144)
      3. weblogic.deployment.jms.JMSSessionPool.getConnectionHelper(JMSSessionPool.java:517)
      4. weblogic.deployment.jms.PooledConnectionFactory.createConnectionInternal(PooledConnectionFactory.java:355)
      5. weblogic.deployment.jms.PooledConnectionFactory.createQueueConnection(PooledConnectionFactory.java:188)
      5 frames