[jbossts-issues] [JBoss JIRA] (JBTM-1925) Enable remote debugger in JBossAS/WildFly for all tests

Gytis Trikleris (JIRA) jira-events at lists.jboss.org
Wed Oct 9 18:38:02 EDT 2013


     [ https://issues.jboss.org/browse/JBTM-1925?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gytis Trikleris updated JBTM-1925:
----------------------------------

              Status: Pull Request Sent  (was: Reopened)
    Git Pull Request: https://github.com/jbosstm/narayana/pull/489, https://github.com/jbosstm/narayana/pull/490  (was: https://github.com/jbosstm/narayana/pull/438, https://github.com/jbosstm/narayana/pull/437)

    
> Enable remote debugger in JBossAS/WildFly for all tests
> -------------------------------------------------------
>
>                 Key: JBTM-1925
>                 URL: https://issues.jboss.org/browse/JBTM-1925
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>      Security Level: Public(Everyone can see) 
>          Components: Testing
>            Reporter: Paul Robinson
>            Assignee: Gytis Trikleris
>             Fix For: 4.17.13, 5.0.0.Final
>
>
> We need to enable the debugger in all arquillian.xml files. To do this:
> 1. Add this to each arquillian.xml: 
>  {code}
>         <configuration>
>             <property name="javaVmArguments">${server.jvm.args}</property>
>             ....
>         </configuration>
> {code}
> 2. Update the server.jvm.args in each maven profile for running the Arquillian tests:
> {code}
> <server.jvm.args>..... ${jvm.args.debug}</server.jvm.args>
> {code}
> Look at the XTS/localjunit/pom.xml for an example. You will notice that not all Arquillian profiles configure the server.jvm.args. In which case you will need to add the config to match the others.
> 3. Add this property to the root pom,xml:
> {code}
>  <jvm.args.debug>-Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n</jvm.args.debug>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list