WildFly Enable JVM Debugging

From NovaOrdis Knowledge Base
Revision as of 23:14, 9 February 2016 by Ovidiu (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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"
...