Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-313

Classloader issue - messages not delivered to client

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Major Major
    • 1.1.0.CR1, 1.2.0.Beta1
    • 1.1.Beta7
    • Core
    • None

      I have two tests, they mirror each other, except that one uses DeltaSpike container control to start Weld and the other uses Arquillian. The tests can be seen here:

      https://github.com/johnament/restful-and-beyond-tut2184/blob/master/code/src/test/java/org/apache/deltaspike/example/tests/application/CourseCrudArgTest.java

      https://github.com/johnament/restful-and-beyond-tut2184/blob/master/code/src/test/java/org/apache/deltaspike/example/tests/application/CourseCrudTest.java

      If you run CourseCrudTest, you'll see that the client never receives the messages from the server. I ran through a debugger and it looks like the channel is being written to on the server side, but the client never receives the message.

      Running the exact same test, CourseCrudArgTest, which uses Arquillian to boot Weld, the message is correctly delivered to the client.

      I'm a bit lost as to why it's not getting in the former case, as I doubt booting one way or another would cause this difference.

            sdouglas1@redhat.com Stuart Douglas
            meetoblivion_jira John Ament (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: