public void delistResource(ResourceHandle h, int xaresFlag) {
try {
JavaEETransactionManager tm = ConnectorRuntime.getRuntime().getTransactionManager();
Transaction tran = tm.getTransaction();
if (tran != null) {
tm.delistResource(tran, h, xaresFlag);
}
} catch (SystemException ex) {
_logger.log(Level.WARNING,"poolmgr.system_exception",ex);
} catch (IllegalStateException ex) {
// ignore