It's a strange one. Got it today on upstream master after creating one datasource with<div><br></div><div><div>/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)</div>
<div>/subsystem=datasources/data-source="OSTiDataSource":enable</div><div><br></div><div>and clicking around my app a bit (persisting etc)</div><div><br></div><div>I re-created the DS with </div><div><br></div><div>
<div>/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='.,'")</div><div>/subsystem=datasources/data-source="OSTiDataSource":enable</div>
</div><div><br></div><div>and I didn't get the application.</div><div><br></div><div>but then I re-created the DS in the first manner and I *didn't* get any exceptions.</div><div><br></div><div><br></div><br><div class="gmail_quote">
On Wed, Nov 16, 2011 at 3:49 PM, Scott Marlow <span dir="ltr"><<a href="mailto:smarlow@redhat.com">smarlow@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
What this warning mean "ARJUNA12140: Adding multiple last resources is<br>
disallowed. Current resource is<br>
com.arjuna.ats.internal.arjuna.abstractrecords.LastResourceRecord@37f017"<br>
<br>
The exception that follows is "javax.transaction.SystemException:<br>
IJ000356: Failed to enlist: java.lang.Throwable: Unabled to enlist<br>
resource, see the previous warnings. tx=TransactionImple < ac,<br>
BasicAction: 0:ffffc082df3f:1b3f9691:4ec10467:3602 status:<br>
ActionStatus.ABORT_ONLY >"<br>
<br>
<a href="http://pastebin.com/GkRTN4jc" target="_blank">http://pastebin.com/GkRTN4jc</a> contains the full exception call stack.<br>
<br>
Does this mean that more than one non-XA datasources were enlisted into<br>
the transaction? Or something else?<br>
<br>
Scott<br>
_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>---<br>Nik<br>
</div>