2 Replies Latest reply on Oct 6, 2013 7:43 AM by ronnybr

    JBoss AS 7.2.0.Final deactivate transaction propagation

    ronnybr

      Hello everybody,

       

      I have the following problem:

      There is a client, server 1 with EJB1, server2 with EJB2 and a H2 database.

      The client performs a lookup for EJB1, EJB1 calls EJB2 and EJB2 persists an entity in the database.

       

      Both servers are have version 7.2.0.Final.

      Server1 runs with the standalone.xml and server2 with standalone-full.xml. The only additional configuration is the outbound-connection for server1.

       

      By default the transaction from EJB1 is propagated to EJB2. So if EJB1 fails (for example because of a timeout) the entity is not in the database.

      I don't want this behaviour. Is there a way to shut the transaction propagation off?