Could anyone tell me how can I reload or revive a XAResource in JBoss.

I am coding an application server which communicate with another Server through 
socket. After restarted Server, I need to reload or revive the XAResource of 
the application server(JBoss). I have no idea how to deal with the expired 
XAResource.

In weblogic, I can calling 

weblogic.transaction.TxHelper.getTransactionManager().unregisterResource(xares.getClass().getName());

and 

weblogic.transaction.TxHelper.getTransactionManager().registerDynamicResource(xares.getClass().getName(),
 xares);

for reload.

What can I do in Jboss?

Thank you

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862536#3862536

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862536


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to