1 Reply Latest reply on Jul 17, 2002 8:59 PM by David Jencks

    RA's with Local Transaction or No Transaction

    John Svazic Newbie

      Hi,

      Currently I'm using an MDB to receive messages that are to be passed on to my RA, but my RA uses local transactions or no transactions. However, I'm getting the following message:


      14:54:31,258 WARN [LocalTxConnectionManager$LocalConnectionEventListener] prepare called on a local tx. You are not getting the semantics you expect!


      Is there any way that I can supress this message, or is there some workaround that I can implement to get past this message? My concern is that when my prototype goes infront of my superiors that I will be faced with a dilema in suggesting we use JBoss for production. Thanks!

      - John

        • 1. Re: RA's with Local Transaction or No Transaction
          David Jencks Master

          You could set the log threshold to fatal for that category.

          You could find an adapter that supported xa transactions.

          You could figure out a way of implementing "last resource one phase optimization" so use of one local tx adapter with many xa resources gives the correct semantics.

          I agree that warning with every use is overkill here, but haven't thought of a more limited bandwidth method that will make it really obvious that use of a local tx resource with any other resource does not provide transactional semantics.