String connFactoryID = connFactoryJNDIMapper.registerConnectionFactory(null, null);
int connFactoryID = connFactoryJNDIMapper.registerConnectionFactory(null, null);
   private void createRecoverable() throws Exception   {      InitialContext ic = new InitialContext();      String connFactoryID = connFactoryJNDIMapper.registerConnectionFactory(null, null);      XAConnectionFactory xaConnFactory =         (XAConnectionFactory)connFactoryJNDIMapper.getConnectionFactory(connFactoryID);      JMSRecoverable recoverable = new JMSRecoverable(serverPeerID, xaConnFactory);      Context recCtx = null;      try      {         recCtx = (Context)ic.lookup(RECOVERABLE_CTX_NAME);      }      catch (NamingException e)      {         //Ignore      }      if (recCtx == null)      {         recCtx = ic.createSubcontext(RECOVERABLE_CTX_NAME);      }      recCtx.rebind(this.serverPeerID, recoverable);   }