TS: How to use -Djpda with clustered tests
------------------------------------------
Key: AS7-2840
URL:
https://issues.jboss.org/browse/AS7-2840
Project: Application Server 7
Issue Type: Bug
Components: Clustering, Documentation, Test Suite
Affects Versions: 7.1.0.Beta1
Reporter: Radoslav Husar
Assignee: Radoslav Husar
Priority: Minor
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.
{code}
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.
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira