5 Replies Latest reply on May 10, 2002 12:48 PM by David Jencks

    Managed connection and resource adapter problem

    Radu Mateescu Newbie

      Hello,
      I am using the following scenario: from an external client, I start a User Transaction; inside this transaction I call some EJB methods who will connect to an external resource (Trellix) through a resource adapter. Here is the code from within the EJB component:
      com.whatever.ra.Trellix.Connection trellixConnection = null;
      try {
      com.whatever.ra.Trellix.ConnectionFactoryImpl trellixFactory = (com.whatever.ra.Trellix.ConnectionFactoryImpl)initialContext.lookup("java:/Trellix");
      trellixConnection = trellixFactory.getConnection();
      trellixConnection.addLine(new Date(System.currentTimeMillis()).toString() + text);
      }
      catch(Exception exception){}
      finally {trellixConnection.close();}

      During execution, apparently everything goes fine with the external resource, but I've noticed a strange behaviour during subsequent executions. Here is the output from JBOSS (displayed messages are pretty self-explanatory, I think):


      ------------ Execution 1 ----------------
      2002-05-09 13:31:47,153 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPL: getConnection()
      2002-05-09 13:31:47,240 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
      2002-05-09 13:31:47,241 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: createPhysicalConnection - Creates a Connection Factory instance.
      2002-05-09 13:31:47,270 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
      2002-05-09 13:31:47,289 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
      2002-05-09 13:31:47,293 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
      2002-05-09 13:31:47,336 INFO [STDOUT] TRELLIX: XAResourceImpl : public constructor
      2002-05-09 13:31:47,352 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
      2002-05-09 13:31:47,380 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
      2002-05-09 13:31:47,383 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@4492fb
      2002-05-09 13:31:47,388 INFO [STDOUT] TRELLIX: XAResourceImpl: START XAResource: com.whatever.ra.Trellix.XAResourceImpl@4492fb with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//0, BranchQual=1]
      2002-05-09 13:31:47,389 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
      2002-05-09 13:31:47,401 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
      2002-05-09 13:31:47,407 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : close()
      2002-05-09 13:31:47,409 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - closes the ManagedConnection com.whatever.ra.Trellix.ManagedConnectionImpl@8706f6
      2002-05-09 13:31:47,411 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - Sends the closing event to all connection managers...
      2002-05-09 13:31:47,416 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
      2002-05-09 13:31:47,419 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@4492fb
      2002-05-09 13:31:47,421 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      2002-05-09 13:31:47,422 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
      2002-05-09 13:31:47,425 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@cafa1
      2002-05-09 13:31:47,428 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@4492fb
      2002-05-09 13:31:47,431 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      2002-05-09 13:31:47,498 INFO [STDOUT] TRELLIX: XAResourceImpl : ROLLBACK


      ------------ Execution 2 ----------------
      2002-05-09 13:32:17,083 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPL: getConnection()
      2002-05-09 13:32:17,084 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: matchManagedConnections - Returns a matched connection from the candidate set of connections.
      2002-05-09 13:32:17,086 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
      2002-05-09 13:32:17,089 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@4492fb
      2002-05-09 13:32:17,091 INFO [STDOUT] TRELLIX: XAResourceImpl: START XAResource: com.whatever.ra.Trellix.XAResourceImpl@4492fb with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//1, BranchQual=1]
      2002-05-09 13:32:17,093 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
      2002-05-09 13:32:17,095 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
      2002-05-09 13:32:17,097 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : close()
      2002-05-09 13:32:17,098 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - closes the ManagedConnection com.whatever.ra.Trellix.ManagedConnectionImpl@8706f6
      2002-05-09 13:32:17,100 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - Sends the closing event to all connection managers...
      2002-05-09 13:32:17,103 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@cafa1
      2002-05-09 13:32:17,106 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@4492fb
      2002-05-09 13:32:17,107 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      2002-05-09 13:32:17,148 INFO [STDOUT] TRELLIX: XAResourceImpl : ROLLBACK


      ------------ Execution 3 ----------------
      2002-05-09 13:32:44,806 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPL: getConnection()
      2002-05-09 13:32:44,808 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
      2002-05-09 13:32:44,809 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: createPhysicalConnection - Creates a Connection Factory instance.
      2002-05-09 13:32:44,816 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
      2002-05-09 13:32:44,818 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
      2002-05-09 13:32:44,819 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
      2002-05-09 13:32:44,822 INFO [STDOUT] TRELLIX: XAResourceImpl : public constructor
      2002-05-09 13:32:44,823 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
      2002-05-09 13:32:44,824 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
      2002-05-09 13:32:44,827 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@e4d0cd
      2002-05-09 13:32:44,829 INFO [STDOUT] TRELLIX: XAResourceImpl: START XAResource: com.whatever.ra.Trellix.XAResourceImpl@e4d0cd with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//2, BranchQual=1]
      2002-05-09 13:32:44,831 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
      2002-05-09 13:32:44,832 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
      2002-05-09 13:32:44,835 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : close()
      2002-05-09 13:32:44,836 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - closes the ManagedConnection com.whatever.ra.Trellix.ManagedConnectionImpl@b38cdc
      2002-05-09 13:32:44,837 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - Sends the closing event to all connection managers...
      2002-05-09 13:32:44,841 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
      2002-05-09 13:32:44,842 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@e4d0cd
      2002-05-09 13:32:44,844 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      2002-05-09 13:32:44,846 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
      2002-05-09 13:32:44,847 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@484c6b
      2002-05-09 13:32:44,850 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@e4d0cd
      2002-05-09 13:32:44,851 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      2002-05-09 13:32:44,911 INFO [STDOUT] TRELLIX: XAResourceImpl : ROLLBACK


      ------------ Execution 4 ----------------
      2002-05-09 13:33:15,322 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: matchManagedConnections - Returns a matched connection from the candidate set of connections.
      2002-05-09 13:33:15,323 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
      2002-05-09 13:33:15,325 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@e4d0cd
      2002-05-09 13:33:15,327 INFO [STDOUT] TRELLIX: XAResourceImpl: START XAResource: com.whatever.ra.Trellix.XAResourceImpl@e4d0cd with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//3, BranchQual=1]
      2002-05-09 13:33:15,330 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: associateConnection - Used by the container to change the association of an application-level connection handle with a ManagedConneciton instance.
      2002-05-09 13:33:15,345 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPL: getConnection()
      2002-05-09 13:33:15,346 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
      2002-05-09 13:33:15,348 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: createPhysicalConnection - Creates a Connection Factory instance.
      2002-05-09 13:33:15,355 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
      2002-05-09 13:33:15,356 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
      2002-05-09 13:33:15,358 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
      2002-05-09 13:33:15,361 INFO [STDOUT] TRELLIX: XAResourceImpl : public constructor
      2002-05-09 13:33:15,362 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
      2002-05-09 13:33:15,363 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
      2002-05-09 13:33:15,366 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@2c7ac5
      2002-05-09 13:33:15,367 INFO [STDOUT] TRELLIX: XAResourceImpl:IS_SAME_RM - COMPARING com.whatever.ra.Trellix.XAResourceImpl@2c7ac5 AND com.whatever.ra.Trellix.XAResourceImpl@e4d0cd
      2002-05-09 13:33:15,371 INFO [STDOUT] TRELLIX: XAResourceImpl: START XAResource: com.whatever.ra.Trellix.XAResourceImpl@2c7ac5 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//3, BranchQual=2]
      2002-05-09 13:33:15,372 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
      2002-05-09 13:33:15,374 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
      2002-05-09 13:33:15,376 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : close()
      2002-05-09 13:33:15,377 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - closes the ManagedConnection com.whatever.ra.Trellix.ManagedConnectionImpl@62e703
      2002-05-09 13:33:15,379 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - Sends the closing event to all connection managers...
      2002-05-09 13:33:15,382 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
      2002-05-09 13:33:15,384 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@2c7ac5
      2002-05-09 13:33:15,385 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      2002-05-09 13:33:15,387 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
      2002-05-09 13:33:15,389 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@303a60
      2002-05-09 13:33:15,391 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@e4d0cd
      2002-05-09 13:33:15,393 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      2002-05-09 13:33:15,395 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@2c7ac5
      2002-05-09 13:33:15,396 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      2002-05-09 13:33:15,449 INFO [STDOUT] TRELLIX: XAResourceImpl : ROLLBACK
      2002-05-09 13:33:15,450 INFO [STDOUT] TRELLIX: XAResourceImpl : ROLLBACK


      ------------ Execution 5 ----------------
      13:33:51,262 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: matchManagedConnections - Returns a matched connection from the candidate set of connections.
      13:33:51,264 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
      13:33:51,266 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@2c7ac5
      13:33:51,268 INFO [STDOUT] TRELLIX: XAResourceImpl: START XAResource: com.whatever.ra.Trellix.XAResourceImpl@2c7ac5 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//4, BranchQual=1]
      13:33:51,270 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: associateConnection - Used by the container to change the association of an application-level connection handle with a ManagedConneciton instance.
      13:33:51,272 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: associateConnection - Used by the container to change the association of an application-level connection handle with a ManagedConneciton instance.
      13:33:51,341 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPL: getConnection()
      13:33:51,343 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
      13:33:51,356 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: createPhysicalConnection - Creates a Connection Factory instance.
      13:33:51,377 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
      13:33:51,379 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
      13:33:51,392 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
      13:33:51,405 INFO [STDOUT] TRELLIX: XAResourceImpl : public constructor
      13:33:51,406 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
      13:33:51,408 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
      13:33:51,410 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@1a9310
      13:33:51,411 INFO [STDOUT] TRELLIX: XAResourceImpl:IS_SAME_RM - COMPARING com.whatever.ra.Trellix.XAResourceImpl@1a9310 AND com.whatever.ra.Trellix.XAResourceImpl@2c7ac5
      13:33:51,415 INFO [STDOUT] TRELLIX: XAResourceImpl: START XAResource: com.whatever.ra.Trellix.XAResourceImpl@1a9310 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//4, BranchQual=2]
      13:33:51,416 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
      13:33:51,418 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
      13:33:51,425 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : close()
      13:33:51,427 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - closes the ManagedConnection com.whatever.ra.Trellix.ManagedConnectionImpl@ec42e0
      13:33:51,428 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - Sends the closing event to all connection managers...
      13:33:51,431 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
      13:33:51,433 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@1a9310
      13:33:51,435 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      13:33:51,437 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
      13:33:51,438 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@ad093c
      13:33:51,441 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
      13:33:51,442 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@2c7ac5
      13:33:51,443 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      13:33:51,444 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@1a9310
      13:33:51,445 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      13:33:51,516 INFO [STDOUT] TRELLIX: XAResourceImpl : ROLLBACK
      13:33:51,517 INFO [STDOUT] TRELLIX: XAResourceImpl : ROLLBACK


      ------------ Execution 6 ----------------
      13:34:14,499 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPL: getConnection()
      13:34:14,500 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: matchManagedConnections - Returns a matched connection from the candidate set of connections.
      13:34:14,502 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPL: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
      13:34:14,504 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@1a9310
      13:34:14,506 INFO [STDOUT] TRELLIX: XAResourceImpl: START XAResource: com.whatever.ra.Trellix.XAResourceImpl@1a9310 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//5, BranchQual=1]
      13:34:14,509 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
      13:34:14,510 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
      13:34:14,512 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : close()
      13:34:14,514 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - closes the ManagedConnection com.whatever.ra.Trellix.ManagedConnectionImpl@ec42e0
      13:34:14,515 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - Sends the closing event to all connection managers...
      13:34:14,519 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@ad093c
      13:34:14,522 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPL: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.ra.Trellix.XAResourceImpl@1a9310
      13:34:14,523 INFO [STDOUT] TRELLIX: XAResourceImpl : END
      13:34:14,604 INFO [STDOUT] TRELLIX: XAResourceImpl : ROLLBACK





      So, here is the strange thing: during execution1, there is no managed connection in the pool, so the ManagedConnectionFactory will create one.
      During execution2, the managed connection is found in the pool and used. Here, the cleanup isn't called, so, for the execution3, a new managed connection is created, which is fair. And here comes the part I can't understand: in the execution4, there is a piece of code which is executed BEFORE getConnection(). Who creates this new managed connection and why is it enlisted into my transaction context by the transaction manager? Because my isSameRM() always returns false, there will be two branches in the transaction , but this can be solved with a proper implementation of isSameRM(). The question about the additional managed connection stands though.

      Any clues on this?
      Thanks
      Radu

        • 1. Re: Managed connection and resource adapter problem
          Radu Mateescu Newbie

          forgot to mention: I use 3.0 CR1.
          I haven't noticed this behaviour in 3.0 alpha or older

          • 2. Re: Managed connection and resource adapter problem
            David Jencks Master

            This is really bizarre. Is the code you show really the only code executing that uses Trellix connections? AssociateConnection should be called only if you hold a connection over a method boundary--either caching a handle between invocations or holding it while you call out to another ejb.

            I also do not understand why cleanup is not being called in every invocation unless you are holding onto a handle in one of these ways. Is this thing xa or local tx ? Why are both getXAResource and getLocalTransaction apparently being called?

            Can you print the identity of the ManagedConnection in the associate connection call so we can see which one it is?

            • 3. Re: Managed connection and resource adapter problem
              Radu Mateescu Newbie

              Hi David,
              I create and close the connection to Trellix in the same method. My ejb is stateless. The whole thing is supposed to be XA, but I have to mention that the rollback is generated from the client ( the client detects error somewhere in the request state and rollbacks the whole transaction) rather then from the resource adapter. The RA is still an experiment thus prepare() always votes OK.
              The message associated with the local transaction is from the local transaction constructor which is called from managed connection constructor. It isn't actually a getLocalTransaction() in the sense getXAResource() is invoked.
              Tomorrow morning I will print the identity of the managed connection from associateConnection()
              Now, regarding the cleanup: I wasn't too worried about why this method isn't called once managedconnection.close() being called, because I thought it is part of the pooling strategy chosen by JBoss. In the light of your consideration, I became suspicious :)
              Thanks again for help... I'll come back tomorrow
              Radu

              • 4. Re: Managed connection and resource adapter problem
                Radu Mateescu Newbie

                Hi David,
                I changed the resource adapter to display all object identities. the isSameRM() is now implemented.
                Here is the new listing:


                --Execution 1--
                11:28:28,019 INFO [STDOUT] *********** Before getting the Trellix connection
                11:28:28,021 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:28:28,104 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
                11:28:28,106 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createPhysicalConnection - Creates a Connection Factory instance.
                11:28:28,108 INFO [STDOUT] fileManagementConnectionFactoryClassName:----com.whatever.iqos.ra.Trellix.FileManagementConnectionFactory
                11:28:28,110 INFO [STDOUT] factoryMethodName:----getFileManagementConnection
                11:28:28,111 INFO [STDOUT] fileName:----../log/Trellix.output
                11:28:28,153 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
                11:28:28,169 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
                11:28:28,173 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
                11:28:28,338 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7 : public constructor
                11:28:28,361 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
                11:28:28,419 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
                11:28:28,422 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7
                11:28:28,447 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//1, BranchQual=1]
                11:28:28,448 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:28:28,511 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:28:28,513 INFO [STDOUT] *********** After getting the Trellix connection
                11:28:28,519 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@af8502 : close()
                11:28:28,526 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312 : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312
                11:28:28,527 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312 : close() - Sends the closing event to all connection managers...
                11:28:28,565 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312 : close() 1
                11:28:28,568 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:28:28,571 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7
                11:28:28,573 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7 : END
                11:28:28,575 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:28:28,577 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312 : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@a59490
                11:28:28,580 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7
                11:28:28,581 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7 : END
                11:28:28,610 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:28:28,616 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7 : ROLLBACK
                11:28:28,619 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++


                --Execution 2--
                11:28:49,231 INFO [STDOUT] *********** Before creating the Trellix factory
                11:28:49,234 INFO [STDOUT] *********** After creating the Trellix factory
                11:28:49,236 INFO [STDOUT] *********** Before getting the Trellix connection
                11:28:49,238 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:28:49,239 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Returns a matched connection from the candidate set of connections.
                11:28:49,242 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
                11:28:49,244 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7
                11:28:49,247 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//105, BranchQual=1]
                11:28:49,249 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:28:49,260 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:28:49,261 INFO [STDOUT] *********** After getting the Trellix connection
                11:28:49,263 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@5e8aa5 : close()
                11:28:49,265 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312 : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312
                11:28:49,267 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312 : close() - Sends the closing event to all connection managers...
                11:28:49,269 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312 : close() 1
                11:28:49,271 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312 : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@a59490
                11:28:49,273 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a51312: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7
                11:28:49,275 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7 : END
                11:28:49,280 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:28:49,285 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@292ba7 : ROLLBACK
                11:28:49,287 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 3--
                11:29:04,729 INFO [STDOUT] *********** Before creating the Trellix factory
                11:29:04,732 INFO [STDOUT] *********** After creating the Trellix factory
                11:29:04,734 INFO [STDOUT] *********** Before getting the Trellix connection
                11:29:04,736 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:29:04,737 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
                11:29:04,739 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createPhysicalConnection - Creates a Connection Factory instance.
                11:29:04,741 INFO [STDOUT] fileManagementConnectionFactoryClassName:----com.whatever.iqos.ra.Trellix.FileManagementConnectionFactory
                11:29:04,743 INFO [STDOUT] factoryMethodName:----getFileManagementConnection
                11:29:04,744 INFO [STDOUT] fileName:----../log/Trellix.output
                11:29:04,746 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
                11:29:04,747 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
                11:29:04,749 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
                11:29:04,752 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b : public constructor
                11:29:04,753 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
                11:29:04,785 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
                11:29:04,787 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b
                11:29:04,789 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//109, BranchQual=1]
                11:29:04,806 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:29:04,807 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:29:04,809 INFO [STDOUT] *********** After getting the Trellix connection
                11:29:04,811 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@d21538 : close()
                11:29:04,812 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2 : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2
                11:29:04,840 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2 : close() - Sends the closing event to all connection managers...
                11:29:04,842 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2 : close() 1
                11:29:04,844 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:29:04,847 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b
                11:29:04,848 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b : END
                11:29:04,850 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:29:04,852 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2 : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@6f4652
                11:29:04,855 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b
                11:29:04,866 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b : END
                11:29:04,869 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:29:04,871 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b : ROLLBACK
                11:29:04,873 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 4--
                11:29:18,326 INFO [STDOUT] *********** Before creating the Trellix factory
                11:29:18,328 INFO [STDOUT] *********** After creating the Trellix factory
                11:29:18,330 INFO [STDOUT] *********** Before getting the Trellix connection
                11:29:18,356 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:29:18,357 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Returns a matched connection from the candidate set of connections.
                11:29:18,359 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
                11:29:18,361 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b
                11:29:18,365 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//113, BranchQual=1]
                11:29:18,366 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:29:18,369 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:29:18,370 INFO [STDOUT] *********** After getting the Trellix connection
                11:29:18,372 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@1c135c : close()
                11:29:18,374 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2 : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2
                11:29:18,375 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2 : close() - Sends the closing event to all connection managers...
                11:29:18,377 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2 : close() 1
                11:29:18,379 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2 : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@6f4652
                11:29:18,382 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@9db0e2: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b
                11:29:18,383 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b : END
                11:29:18,388 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:29:18,389 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@e4776b : ROLLBACK
                11:29:18,391 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 5--
                11:29:28,178 INFO [STDOUT] *********** Before creating the Trellix factory
                11:29:28,180 INFO [STDOUT] *********** After creating the Trellix factory
                11:29:28,182 INFO [STDOUT] *********** Before getting the Trellix connection
                11:29:28,199 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:29:28,201 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
                11:29:28,203 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createPhysicalConnection - Creates a Connection Factory instance.
                11:29:28,204 INFO [STDOUT] fileManagementConnectionFactoryClassName:----com.whatever.iqos.ra.Trellix.FileManagementConnectionFactory
                11:29:28,207 INFO [STDOUT] factoryMethodName:----getFileManagementConnection
                11:29:28,208 INFO [STDOUT] fileName:----../log/Trellix.output
                11:29:28,209 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
                11:29:28,211 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
                11:29:28,213 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
                11:29:28,215 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4 : public constructor
                11:29:28,226 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
                11:29:28,227 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
                11:29:28,229 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4
                11:29:28,231 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//117, BranchQual=1]
                11:29:28,234 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:29:28,237 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:29:28,239 INFO [STDOUT] *********** After getting the Trellix connection
                11:29:28,240 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@25ee49 : close()
                11:29:28,242 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097 : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097
                11:29:28,244 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097 : close() - Sends the closing event to all connection managers...
                11:29:28,246 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097 : close() 1
                11:29:28,248 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:29:28,249 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4
                11:29:28,252 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4 : END
                11:29:28,253 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:29:28,255 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097 : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@3f212a
                11:29:28,258 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4
                11:29:28,260 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4 : END
                11:29:28,265 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:29:28,266 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4 : ROLLBACK
                11:29:28,268 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 6--
                11:30:10,923 INFO [STDOUT] *********** Before creating the Trellix factory
                11:30:10,926 INFO [STDOUT] *********** After creating the Trellix factory
                11:30:10,928 INFO [STDOUT] *********** Before getting the Trellix connection
                11:30:10,930 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:30:10,931 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Returns a matched connection from the candidate set of connections.
                11:30:10,933 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
                11:30:10,935 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4
                11:30:10,938 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//121, BranchQual=1]
                11:30:10,939 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:30:10,941 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:30:10,943 INFO [STDOUT] *********** After getting the Trellix connection
                11:30:10,944 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@bbaa16 : close()
                11:30:10,946 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097 : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097
                11:30:10,948 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097 : close() - Sends the closing event to all connection managers...
                11:30:10,950 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097 : close() 1
                11:30:10,951 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097 : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@3f212a
                11:30:10,964 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@e90097: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4
                11:30:10,967 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4 : END
                11:30:10,971 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:30:10,972 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@b5eba4 : ROLLBACK
                11:30:10,974 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 7--
                11:30:32,402 INFO [STDOUT] *********** Before creating the Trellix factory
                11:30:32,404 INFO [STDOUT] *********** After creating the Trellix factory
                11:30:32,407 INFO [STDOUT] *********** Before getting the Trellix connection
                11:30:32,408 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:30:32,409 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
                11:30:32,425 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createPhysicalConnection - Creates a Connection Factory instance.
                11:30:32,427 INFO [STDOUT] fileManagementConnectionFactoryClassName:----com.whatever.iqos.ra.Trellix.FileManagementConnectionFactory
                11:30:32,429 INFO [STDOUT] factoryMethodName:----getFileManagementConnection
                11:30:32,430 INFO [STDOUT] fileName:----../log/Trellix.output
                11:30:32,431 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
                11:30:32,432 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
                11:30:32,434 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
                11:30:32,436 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69 : public constructor
                11:30:32,438 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
                11:30:32,445 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
                11:30:32,446 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69
                11:30:32,449 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//125, BranchQual=1]
                11:30:32,455 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:30:32,458 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:30:32,459 INFO [STDOUT] *********** After getting the Trellix connection
                11:30:32,460 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@e28a61 : close()
                11:30:32,462 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b
                11:30:32,464 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b : close() - Sends the closing event to all connection managers...
                11:30:32,466 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b : close() 1
                11:30:32,467 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:30:32,470 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69
                11:30:32,471 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69 : END
                11:30:32,473 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:30:32,475 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@eb2133
                11:30:32,477 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69
                11:30:32,479 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69 : END
                11:30:32,483 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:30:32,484 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69 : ROLLBACK
                11:30:32,486 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 8--
                11:31:05,580 INFO [STDOUT] *********** Before creating the Trellix factory
                11:31:05,603 INFO [STDOUT] *********** After creating the Trellix factory
                11:31:05,605 INFO [STDOUT] *********** Before getting the Trellix connection
                11:31:05,606 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:31:05,608 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Returns a matched connection from the candidate set of connections.
                11:31:05,616 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
                11:31:05,618 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69
                11:31:05,620 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//129, BranchQual=1]
                11:31:05,636 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:31:05,637 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:31:05,639 INFO [STDOUT] *********** After getting the Trellix connection
                11:31:05,641 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@26c5a5 : close()
                11:31:05,642 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b
                11:31:05,644 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b : close() - Sends the closing event to all connection managers...
                11:31:05,646 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b : close() 1
                11:31:05,648 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@eb2133
                11:31:05,650 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@2bbe6b: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69
                11:31:05,655 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69 : END
                11:31:05,659 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:31:05,665 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3c1b69 : ROLLBACK
                11:31:05,667 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 9--
                11:31:19,222 INFO [STDOUT] *********** Before creating the Trellix factory
                11:31:19,225 INFO [STDOUT] *********** After creating the Trellix factory
                11:31:19,227 INFO [STDOUT] *********** Before getting the Trellix connection
                11:31:19,228 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:31:19,230 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
                11:31:19,232 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createPhysicalConnection - Creates a Connection Factory instance.
                11:31:19,233 INFO [STDOUT] fileManagementConnectionFactoryClassName:----com.whatever.iqos.ra.Trellix.FileManagementConnectionFactory
                11:31:19,235 INFO [STDOUT] factoryMethodName:----getFileManagementConnection
                11:31:19,236 INFO [STDOUT] fileName:----../log/Trellix.output
                11:31:19,237 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
                11:31:19,239 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
                11:31:19,241 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
                11:31:19,243 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3861e6 : public constructor
                11:31:19,249 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
                11:31:19,252 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
                11:31:19,253 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@3861e6
                11:31:19,256 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3861e6: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@3861e6 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//133, BranchQual=1]
                11:31:19,257 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:31:19,259 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:31:19,265 INFO [STDOUT] *********** After getting the Trellix connection
                11:31:19,266 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@132e76 : close()
                11:31:19,268 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac
                11:31:19,286 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac : close() - Sends the closing event to all connection managers...
                11:31:19,287 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac : close() 1
                11:31:19,289 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:31:19,291 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@3861e6
                11:31:19,293 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3861e6 : END
                11:31:19,300 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:31:19,302 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@4f71a3
                11:31:19,315 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@a37fac: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@3861e6
                11:31:19,317 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3861e6 : END
                11:31:19,321 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:31:19,322 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@3861e6 : ROLLBACK
                11:31:19,324 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 10--
                11:31:45,315 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Returns a matched connection from the candidate set of connections.
                11:31:45,316 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
                11:31:45,319 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@987298: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@927275
                11:31:45,321 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@927275: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@927275 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//163, BranchQual=1]
                11:31:45,323 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@987298: associateConnection - Used by the container to change the association of an application-level connection handle with a ManagedConneciton instance.
                11:31:45,325 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@987298: associateConnection - Connection: com.whatever.iqos.ra.Trellix.ConnectionImpl@8b7298
                11:31:45,327 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@987298: associateConnection - ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@987298
                11:31:45,332 INFO [STDOUT] *********** Before creating the Trellix factory
                11:31:45,334 INFO [STDOUT] *********** After creating the Trellix factory
                11:31:45,337 INFO [STDOUT] *********** Before getting the Trellix connection
                11:31:45,338 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:31:45,340 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
                11:31:45,342 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createPhysicalConnection - Creates a Connection Factory instance.
                11:31:45,343 INFO [STDOUT] fileManagementConnectionFactoryClassName:----com.whatever.iqos.ra.Trellix.FileManagementConnectionFactory
                11:31:45,345 INFO [STDOUT] factoryMethodName:----getFileManagementConnection
                11:31:45,346 INFO [STDOUT] fileName:----../log/Trellix.output
                11:31:45,347 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
                11:31:45,349 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
                11:31:45,350 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
                11:31:45,352 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6 : public constructor
                11:31:45,354 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
                11:31:45,356 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
                11:31:45,357 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6
                11:31:45,360 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6:IS_SAME_RM - COMPARING com.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6 AND com.whatever.iqos.ra.Trellix.XAResourceImpl@927275
                11:31:45,362 INFO [STDOUT] RESOURCE MANAGERS ARE IDENTICAL => SAME BRANCH
                11:31:45,364 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//163, BranchQual=1]
                11:31:45,366 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:31:45,368 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:31:45,369 INFO [STDOUT] *********** After getting the Trellix connection
                11:31:45,370 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@7e6064 : close()
                11:31:45,372 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a
                11:31:45,374 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a : close() - Sends the closing event to all connection managers...
                11:31:45,376 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a : close() 1
                11:31:45,377 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:31:45,379 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6
                11:31:45,381 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6 : END
                11:31:45,383 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:31:45,384 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@ea817f
                11:31:45,387 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@b8099a: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6
                11:31:45,389 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6 : END
                11:31:45,391 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@987298: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@927275
                11:31:45,392 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@927275 : END
                11:31:45,396 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:31:45,397 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@927275 : ROLLBACK
                11:31:45,399 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@bef4c6 : ROLLBACK
                11:31:45,401 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 11--
                11:32:26,710 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Returns a matched connection from the candidate set of connections.
                11:32:26,712 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
                11:32:26,713 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@ff0239
                11:32:26,716 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@ff0239: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@ff0239 with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//171, BranchQual=1]
                11:32:26,718 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: associateConnection - Used by the container to change the association of an application-level connection handle with a ManagedConneciton instance.
                11:32:26,720 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: associateConnection - Connection: com.whatever.iqos.ra.Trellix.ConnectionImpl@8b7298
                11:32:26,721 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: associateConnection - ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5
                11:32:26,723 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: associateConnection - Used by the container to change the association of an application-level connection handle with a ManagedConneciton instance.
                11:32:26,726 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: associateConnection - Connection: com.whatever.iqos.ra.Trellix.ConnectionImpl@7e6064
                11:32:26,727 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: associateConnection - ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5
                11:32:26,730 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: associateConnection - Used by the container to change the association of an application-level connection handle with a ManagedConneciton instance.
                11:32:26,732 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: associateConnection - Connection: com.whatever.iqos.ra.Trellix.ConnectionImpl@239780
                11:32:26,733 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: associateConnection - ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5
                11:32:26,738 INFO [STDOUT] *********** Before creating the Trellix factory
                11:32:26,741 INFO [STDOUT] *********** After creating the Trellix factory
                11:32:26,743 INFO [STDOUT] *********** Before getting the Trellix connection
                11:32:26,744 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:32:26,785 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createManagedConnection - Creates a new physical connection to the underlying EIS resource manager,
                11:32:26,787 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: createPhysicalConnection - Creates a Connection Factory instance.
                11:32:26,789 INFO [STDOUT] fileManagementConnectionFactoryClassName:----com.whatever.iqos.ra.Trellix.FileManagementConnectionFactory
                11:32:26,790 INFO [STDOUT] factoryMethodName:----getFileManagementConnection
                11:32:26,792 INFO [STDOUT] fileName:----../log/Trellix.output
                11:32:26,794 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - Public Constructor
                11:32:26,855 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION_FACTORY: - getFileManagementConnection
                11:32:26,856 INFO [STDOUT] TRELLIX: FILE_MANAGEMENT_CONNECTION : Public Constructor
                11:32:26,859 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd : public constructor
                11:32:26,860 INFO [STDOUT] TRELLIX: LOCAL_TRANSACTION_IMPL : public constructor
                11:32:26,861 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: addConnectionEventListener - Adds a connection event listener to the ManagedConnection instance.
                11:32:26,874 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd
                11:32:26,876 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd:IS_SAME_RM - COMPARING com.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd AND com.whatever.iqos.ra.Trellix.XAResourceImpl@ff0239
                11:32:26,878 INFO [STDOUT] RESOURCE MANAGERS ARE IDENTICAL => SAME BRANCH
                11:32:26,880 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//171, BranchQual=1]
                11:32:26,895 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:32:26,897 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:32:26,899 INFO [STDOUT] *********** After getting the Trellix connection
                11:32:26,905 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@c13406 : close()
                11:32:26,906 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e
                11:32:26,908 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e : close() - Sends the closing event to all connection managers...
                11:32:26,926 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e : close() 1
                11:32:26,927 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:32:26,929 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd
                11:32:26,933 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd : END
                11:32:26,935 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:32:26,937 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@bb1ee
                11:32:26,939 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: cleanup - Application server calls this method to force any cleanup on the ManagedConnection instance.
                11:32:26,945 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd
                11:32:26,948 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd : END
                11:32:26,949 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@eaefc5: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@ff0239
                11:32:26,955 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@ff0239 : END
                11:32:26,958 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:32:26,965 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@ff0239 : ROLLBACK
                11:32:26,967 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd : ROLLBACK
                11:32:26,969 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                --Execution 12--
                11:32:57,579 INFO [STDOUT] *********** Before creating the Trellix factory
                11:32:57,586 INFO [STDOUT] *********** After creating the Trellix factory
                11:32:57,588 INFO [STDOUT] *********** Before getting the Trellix connection
                11:32:57,590 INFO [STDOUT] TRELLIX: CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ConnectionFactoryImpl@8a6e6e: getConnection()
                11:32:57,591 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Returns a matched connection from the candidate set of connections.
                11:32:57,593 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_FACTORY_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionFactoryImpl@c6f734: matchManagedConnections - Yoopppppppieeeeeeeeeeeee
                11:32:57,595 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd
                11:32:57,606 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd: START XAResource: com.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd with XID: XidImpl [FormatId=257, GlobalId=rtest.whatever.com//175, BranchQual=1]
                11:32:57,607 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: getConnection - Creates a new connection handle for the underlying physical connection represented by the ManagedConnection instance.
                11:32:57,609 INFO [STDOUT] TRELLIX: CONNECTION_IMPL : public constructor
                11:32:57,611 INFO [STDOUT] *********** After getting the Trellix connection
                11:32:57,612 INFO [STDOUT] TRELLIX: CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ConnectionImpl@56acfa : close()
                11:32:57,614 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e : close() - closes the ManagedConnection com.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e
                11:32:57,626 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e : close() - Sends the closing event to all connection managers...
                11:32:57,627 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e : close() 1
                11:32:57,629 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e : close() - CONNECTION_CLOSED sent to the listener: org.jboss.resource.connectionmanager.XATxConnectionManager$XAConnectionEventListener@bb1ee
                11:32:57,632 INFO [STDOUT] TRELLIX: MANAGED_CONNECTION_IMPLcom.whatever.iqos.ra.Trellix.ManagedConnectionImpl@ba007e: getXAResource - Returns an javax.transaction.xa.XAresource instance. com.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd
                11:32:57,633 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd : END
                11:32:57,637 INFO [STDOUT] +++++++++++++++ Rollback transaction ++++++++++++++++
                11:32:57,638 INFO [STDOUT] TRELLIX: XAResourceImplcom.whatever.iqos.ra.Trellix.XAResourceImpl@6e4ddd : ROLLBACK
                11:32:57,649 INFO [STDOUT] +++++++++++++++ End of Rollback transaction ++++++++++++++++



                As you can see, starting with execution 10, the same problem. Besides, some XAResource get the END message twice (for some managed connections, cleanup is called twice) I thought that once method isSameRM() implemented, only one XAResource will participate in transaction, but I see there are two actually. Maybe I lost something, but why whould be 2 identical XAResource involved in a one branch transaction?

                Thanks
                Radu



                • 5. Re: Managed connection and resource adapter problem
                  David Jencks Master

                  Well, this is even more mystifying. Is there any chance you could send me that adapter and the code that demonstrates this problem?

                  Thanks
                  david jencks
                  davidjencks@directvinternet.com