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).

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Oracle Community by user12180448, 1 year ago
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).
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).
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:107)
at oracle.toplink.jndi.JNDIConnector.connect(JNDIConnector.java:84)
at oracle.toplink.sessions.DatasourceLogin.connectToDatasource(DatasourceLogin.java:153)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connectInternal(DatasourceAccessor.java:273)
at oracle.toplink.internal.databaseaccess.DatabaseAccessor.connectInternal(DatabaseAccessor.java:230)
at oracle.toplink.internal.databaseaccess.DatasourceAccessor.connect(DatasourceAccessor.java:350)
at oracle.toplink.internal.sessions.DatabaseSessionImpl.connect(DatabaseSessionImpl.java:230)
at oracle.toplink.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:612)
at oracle.tip.adapter.db.inbound.SequencingPollingStrategy.initializePollingStrategy(SequencingPollingStrategy.java:170)
at oracle.tip.adapter.db.inbound.PollingStrategy.initialize(PollingStrategy.java:134)
at oracle.tip.adapter.db.inbound.AbstractSequencingPollingStrategy.initialize(AbstractSequencingPollingStrategy.java:201)
at oracle.tip.adapter.db.InboundWork.initPollingStrategy(InboundWork.java:384)
at oracle.tip.adapter.db.InboundWork.init(InboundWork.java:298)
at oracle.tip.adapter.db.InboundWork.run(InboundWork.java:464)
at oracle.tip.adapter.db.inbound.InboundWorkWrapper.run(InboundWorkWrapper.java:43)
at oracle.integration.platform.blocks.executor.WorkManagerExecutor$1.run(WorkManagerExecutor.java:77)
at weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:183)
at weblogic.work.DaemonWorkThread.run(DaemonWorkThread.java:30)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.