WildFly Enable JVM Debugging: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * JBoss Operations")
 
No edit summary
Line 2: Line 2:


* [[JBoss Operations#Subjects|JBoss Operations]]
* [[JBoss Operations#Subjects|JBoss Operations]]
=Procedure=
Modify corresponding <tt>./bin/standalone.conf</tt> (or <tt>$JBOSS_PROFILE/profile.conf</tt>) and enable:
<pre>
...
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
...
</pre>
or
<pre>
...
#JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
...
</pre>

Revision as of 01:35, 19 January 2016

Internal


Procedure

Modify corresponding ./bin/standalone.conf (or $JBOSS_PROFILE/profile.conf) and enable:

...
#JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss"
...

or

...
#JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
...