java.lang.ClassCastException: oracle.tip.adapter.db.DBConnectionFactory cannot be cast to javax.sql.DataSource. This exception is considered not retriable, likely due to a modelling mistake. This polling process will shut down, unless the fault is r elated to processing a particular row, in which case polling will continue but the row will be rejected (faulted).

Oracle Community | user12180448 | 6 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

    ClassCastException on DB Adapter

    Oracle Community | 6 years ago | user12180448
    java.lang.ClassCastException: oracle.tip.adapter.db.DBConnectionFactory cannot be cast to javax.sql.DataSource. This exception is considered not retriable, likely due to a modelling mistake. This polling process will shut down, unless the fault is r elated to processing a particular row, in which case polling will continue but the row will be rejected (faulted).
  2. 0

    Problem connection to WebSphere5 Datasource

    Oracle Community | 1 decade ago | 365300
    java.lang.ClassCastException: com.ibm.ws.rsadapter.jdbc.WSJdbcDataSource
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    datasource toplink ClassCastException URGENT please !

    Oracle Community | 1 decade ago | 457663
    java.lang.ClassCastException

    Root Cause Analysis

    1. java.lang.ClassCastException

      oracle.tip.adapter.db.DBConnectionFactory cannot be cast to javax.sql.DataSource

      at oracle.toplink.jndi.JNDIConnector.connect()
    2. oracle.toplink.jndi
      JNDIConnector.connect
      1. oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:107)
      2. oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:84)
      2 frames
    3. oracle.toplink.sessions
      DatasourceLogin.connectToDatasource
      1. oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:153)
      1 frame
    4. oracle.toplink.internal
      DatabaseSessionImpl.login
      1. oracle.toplink.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:273)
      2. oracle.toplink.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:230)
      3. oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:350)
      4. oracle.toplink.internal.sessions.DatabaseSessionImpl.connect(DatabaseSessionImpl.java:230)
      5. oracle.toplink.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:612)
      5 frames
    5. oracle.tip.adapter
      InboundWorkWrapper.run
      1. oracle.tip.adapter.db.inbound.SequencingPollingStrategy.initializePollingStrategy(SequencingPollingStrategy.java:170)
      2. oracle.tip.adapter.db.inbound.PollingStrategy.initialize(PollingStrategy.java:134)
      3. oracle.tip.adapter.db.inbound.AbstractSequencingPollingStrategy.initialize(AbstractSequencingPollingStrategy.java:201)
      4. oracle.tip.adapter.db.InboundWork.initPollingStrategy(InboundWork.java:384)
      5. oracle.tip.adapter.db.InboundWork.init(InboundWork.java:298)
      6. oracle.tip.adapter.db.InboundWork.run(InboundWork.java:464)
      7. oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
      7 frames
    6. oracle.integration.platform
      WorkManagerExecutor$1.run
      1. oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
      1 frame
    7. weblogic.work.j2ee
      J2EEWorkManager$WorkWithListener.run
      1. weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
      1 frame
    8. weblogic.work
      DaemonWorkThread.run
      1. weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)
      1 frame