WildFly Enable JVM Debugging: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=Internal= | =Internal= | ||
* [[ | * [[WildFly Operations#Subjects|WildFly Operations]] | ||
=Relevance= | |||
* EAP 6 | |||
* WildFly 8 | |||
=Procedure= | =Procedure= | ||
Line 10: | Line 14: | ||
<pre> | <pre> | ||
... | ... | ||
#JAVA_OPTS="$JAVA_OPTS - | #JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n" | ||
... | ... | ||
</pre> | </pre> | ||
Line 18: | Line 22: | ||
<pre> | <pre> | ||
... | ... | ||
#JAVA_OPTS="$JAVA_OPTS - | #JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss" | ||
... | ... | ||
</pre> | </pre> |
Latest revision as of 23:14, 9 February 2016
Internal
Relevance
- EAP 6
- WildFly 8
Procedure
Modify corresponding ./bin/standalone.conf (or $JBOSS_PROFILE/profile.conf) and enable:
... #JAVA_OPTS="$JAVA_OPTS -agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n" ...
or
... #JAVA_OPTS="$JAVA_OPTS -Xrunjdwp:transport=dt_shmem,server=y,suspend=n,address=jboss" ...