Error "ORA-24777: Use Of Non-Migratable Database Link Not Allowed" Using Oracle XA Datasource When Executing a Select via Database Link.

(Doc ID 879543.1)

Last updated on MAY 19, 2017

Applies to:

JDBC - Version and later
Information in this document applies to any platform.
***Checked for relevance on 16-Jan-2014***


Websphere Portal Server using Oracle XA Datasource , JDBC Version, fails with the following error when executing a select via a database link against an Oracle server:

java.sql.SQLException: ORA-24777: use of non-migratable database link not allowed
at oracle.jdbc.driver.DatabaseError.throwSqlException(
at oracle.jdbc.driver.T4CTTIoer.processError( Code))
at oracle.jdbc.driver.T4CTTIoer.processError( Compiled Code))
at oracle.jdbc.driver.T4C8Oall.receive( Code))
at oracle.jdbc.driver.T4CPreparedStatement.doOall8( Code))
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe( Code))
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe( Code))
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe( Code))
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout( Code))
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal( Code))
at oracle.jdbc.driver.OraclePreparedStatement.execute(

This issue can also occur with later JDBC versions and Oracle Server versions.


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms