2 Replies Latest reply on Dec 17, 2008 9:58 AM by alrubinger

    "removedislocal" Error

    alrubinger

      I've fixed the deployment for "removedislocal" integration tests.

      This is a simple SLSB call, the only change is that the "IsLocalInterceptor" is commented out.

      The resulting error is:

      Caused by: java.lang.RuntimeException: cannot import a transaction context when a transaction is already associated with the thread
       at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:62)


      What do we want to do with this? In theory we shouldn't need IsLocalInterceptor as it's only there for performance reasons.

      S,
      ALR

        • 1. Re:
          wolfc

          ClientTxPropagationInterceptor and TxPropagationInterceptor are opposite ends which expect to run in different threads. Now some LocalClientInvoker has decided to do make it a local call. :-)

          • 2. Re:
            alrubinger

            Yes, but that doesn't answer my question for how we'd like to handle the case. :)

            1) Test/feature is invalid
            2) Test is known issue currently unsupported
            3) Fix it

            S,
            ALR