Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-276

Clustering tests cannot be run with -Djpda debugger

XMLWordPrintable

      The doc now says whats pasted below, but I am not sure if both servers are listening on 8787 because (that would fail the startup), if I have to connect to both or where do I configure that, etc.

      Running JBoss AS instances with debugger
      
      Adding -Djpda (May be changed to -Ddebug in the future) will make JBoss AS run with JPDA JVM arguments for debugging.
      
      It will suspend and wait for the debugger to connect at port 8787.
      
      JBoss AS is started by Arquillian, when the first test which requires given instance is run. There's (currently) no challenge text in the console, it will look like the first test is stuck. This is being solved in http://jira.codehaus.org/browse/SUREFIRE-781.
      
      Depending on which test group(s) you run, multiple instances may be started. In that case, you need to attach the debugger multiple times.
      

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: