Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: java.sql.SQLException: ORA-24777: use of non-migratable database link not allowed

Re: java.sql.SQLException: ORA-24777: use of non-migratable database link not allowed

From: Finn Jorgensen <finn.oracledba_at_gmail.com>
Date: Mon, 10 Dec 2007 20:35:52 -0500
Message-ID: <74f79c6b0712101735n6e58dea4paeb1d12c110031d0@mail.gmail.com>


I think this is because this is an XA transaction. You need to configure MTS in order for your JBOSS connection to work. It works locally, but not through JBOSS.

There are many references to this on Metalink.

Finn

On Dec 10, 2007 6:52 PM, Prasad <p4cldba_at_gmail.com> wrote:

> All,
>
>
> when I try to update or insert a remote db from sqlplus with db link it
> works fine . but the web application which runs on the JBOSS server it
> complains
>
> java.sql.SQLException: ORA-24777: use of non-migratable database link not
> allowed
> ORA-06512: at "ACTIONLIST.TRG_PRODUCT_ACTIONLIST", line 39
> ORA-04088: error during execution of trigger '
> ACTIONLIST.TRG_PRODUCT_ACTIONLIST'
>
> at oracle.jdbc.dbaccess.DBError.throwSqlException (DBError.java:134)
>
> Appreciate any idea.
>
> Thanks
> -Prasad
>

--
http://www.freelists.org/webpage/oracle-l
Received on Mon Dec 10 2007 - 19:35:52 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US