[jboss-user] [IronJacamar] - Re: JCA Adapter & Recovery

Ant Kutschera do-not-reply at jboss.com
Thu Jul 4 16:24:08 EDT 2013


Ant Kutschera [https://community.jboss.org/people/maxant] created the discussion

"Re: JCA Adapter & Recovery"

To view the discussion, visit: https://community.jboss.org/message/826480#826480

--------------------------------------------------------------
@Jesper: I have switched to Wildfly 8.0.0.Alpha2

I set a breakpoint in my JCA Adapters XA Resource "commit" method, which is called after the prepare method.  I crash the server during the commit so that I can test what happens when the server restarts.  The server recognises that there is still a transaction to complete, but it just logs the following, similar to before:

22:18:33,199 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016037: Could
not find new XAResource to use for recovering non-serializable XAResource XAReso
urceRecord < resource:null, txid:< formatId=131077, gtrid_length=29, bqual_lengt
h=36, tx_uid=0:ffffc0a80127:-2363921:51d5d802:d, node_name=1, branch_uid=0:ffffc
0a80127:-2363921:51d5d802:13, subordinatenodename=null, eis_name=java:/eis/SAPRe
sourceAdapter >, heuristic: TwoPhaseOutcome.FINISH_OK, product: SAP Resource Ada
pter/1.0, jndiName: java:/eis/SAPResourceAdapter com.arjuna.ats.internal.jta.res
ources.arjunacore.XAResourceRecord at 117c7fd >
22:18:36,503 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016037: Could
not find new XAResource to use for recovering non-serializable XAResource XAReso
urceRecord < resource:null, txid:< formatId=131077, gtrid_length=29, bqual_lengt
h=36, tx_uid=0:ffffc0a80127:-2363921:51d5d802:d, node_name=1, branch_uid=0:ffffc
0a80127:-2363921:51d5d802:16, subordinatenodename=null, eis_name=unknown eis nam
e >, heuristic: TwoPhaseOutcome.FINISH_OK com.arjuna.ats.internal.jta.resources.
arjunacore.XAResourceRecord at 19cda3d >
22:18:40,607 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016038: No XAR
esource to recover < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0
:ffffc0a80127:-2363921:51d5d802:d, node_name=1, branch_uid=0:ffffc0a80127:-23639
21:51d5d802:13, subordinatenodename=null, eis_name=java:/eis/SAPResourceAdapter
>
22:18:43,384 WARN  [com.arjuna.ats.jta] (Periodic Recovery) ARJUNA016038: No XAR
esource to recover < formatId=131077, gtrid_length=29, bqual_length=36, tx_uid=0
:ffffc0a80127:-2363921:51d5d802:d, node_name=1, branch_uid=0:ffffc0a80127:-23639
21:51d5d802:16, subordinatenodename=null, eis_name=unknown eis name >


Do I need to make any of the classes serializable?  Since it says: "Could not find new XAResource to use for recovering ***non-serializable*** XAResource"?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/826480#826480]

Start a new discussion in IronJacamar at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2098]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130704/bec0e5d4/attachment-0001.html 


More information about the jboss-user mailing list