1 Reply Latest reply on Jan 19, 2005 2:53 PM by adrian.brock

    About XAResource

    wxwang

      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