[jboss-as7-dev] What does this warning mean? ARJUNA12140: Adding multiple last resources is disallowed. Current resource is com.arjuna.ats.internal.arjuna.abstractrecords.LastResourceRecord at 37f017

Jaikiran Pai jpai at redhat.com
Wed Nov 16 09:03:13 EST 2011


That exception message does mean more than one non-XA tx aware resources 
participating in a transaction. If you are sure that there isn't any 
other resource other than the datasource, in that tx, then my _guess_ is 
that probably something is leaking a tx (which is already associated 
with some resource) against a thread. But that's just a guess. Enabling 
TRACE level logging of com.arjuna.ats package might help.

-Jaikiran
On Wednesday 16 November 2011 07:25 PM, Nicklas Karlsson wrote:
> It's a strange one. Got it today on upstream master after creating one 
> datasource with
>
> /subsystem=datasources/data-source="OSTiDataSource":add(jndi-name="java:jboss/datasources/OSTiDataSource", 
> pool-name="OSTiPool", driver-name="oracle", 
> connection-url="jdbc:oracle:thin:@host:port:sid", user-name="xxx", 
> password="xxx", flush-strategy="EntirePool", new-connection-sql="ALTER 
> SESSION SET NLS_NUMERIC_CHARACTERS='.,'", 
> stale-connection-checker-class-name="org.jboss.jca.adapters.jdbc.vendor.OracleStaleConnectionChecker", 
> valid-connection-checker-class-name="org.jboss.jca.adapters.jdbc.vendor.OracleValidConnectionChecker", 
> exception-sorter-class-name="org.jboss.jca.adapters.jdbc.vendor.OracleExceptionSorter", 
> idle-timeout-minutes=15)
> /subsystem=datasources/data-source="OSTiDataSource":enable
>
> and clicking around my app a bit (persisting etc)
>
> I re-created the DS with
>
> /subsystem=datasources/data-source="OSTiDataSource":add(jndi-name="java:jboss/datasources/OSTiDataSource", 
> pool-name="OSTiPool", driver-name="oracle", 
> connection-url="jdbc:oracle:thin:@ host:port:sid", user-name="xxx", 
> password="xxx", flush-strategy="EntirePool", new-connection-sql="ALTER 
> SESSION SET NLS_NUMERIC_CHARACTERS='.,'")
> /subsystem=datasources/data-source="OSTiDataSource":enable
>
> and I didn't get the application.
>
> but then I re-created the DS in the first manner and I *didn't* get 
> any exceptions.
>
>
>
> On Wed, Nov 16, 2011 at 3:49 PM, Scott Marlow <smarlow at redhat.com 
> <mailto:smarlow at redhat.com>> wrote:
>
>     What this warning mean "ARJUNA12140: Adding multiple last resources is
>     disallowed. Current resource is
>     com.arjuna.ats.internal.arjuna.abstractrecords.LastResourceRecord at 37f017"
>
>     The exception that follows is "javax.transaction.SystemException:
>     IJ000356: Failed to enlist: java.lang.Throwable: Unabled to enlist
>     resource, see the previous warnings. tx=TransactionImple < ac,
>     BasicAction: 0:ffffc082df3f:1b3f9691:4ec10467:3602 status:
>     ActionStatus.ABORT_ONLY >"
>
>     http://pastebin.com/GkRTN4jc contains the full exception call stack.
>
>     Does this mean that more than one non-XA datasources were enlisted
>     into
>     the transaction?  Or something else?
>
>     Scott
>     _______________________________________________
>     jboss-as7-dev mailing list
>     jboss-as7-dev at lists.jboss.org <mailto:jboss-as7-dev at lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
>
>
> -- 
> ---
> Nik
>
>
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



More information about the jboss-as7-dev mailing list