Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-309

ARQ protocol ignores setup actions

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.0.Alpha8
    • Fix Version/s: core_1.0.0.Beta3
    • Component/s: core
    • Labels:
      None

      Description

      In wildfly we have a number of thread context related things go on that associate the current thread with the deployment unit that the call originates from. For this to work in the context of an ARQ deployment we need to call SetupActions in the server side test piece.

      With standalone WildFly, this happens in the jmx protocol, which is not being used by Swarm.

      While this functionality is missing, certain JNDI, CDI and possibly other stuff won't work from a Swarm ARQ deployment.

      This code, for example, fails with NNFE although the bean is registered under this name.

              InitialContext context = new InitialContext();
              context.lookup("java:module/MySingletonBean");
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                thomas.diesler Thomas Diesler
                Reporter:
                thomas.diesler Thomas Diesler
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: