Details
-
Bug
-
Resolution: Done
-
Major
-
7.0.1.Final
-
None
-
-
Low
Description
I asked this question on IRC but didn't get a reply. I believe it's a bug.
[19:11] <Georges> hi, how do I enable jvm debug on a server process in as7?
[19:11] <Georges> I tried <jvm name="default" debug-enabled="true" debug-options="runjdwp:transport=dt_socket,address=8787,server=y,suspend=n" /> in <servers><server> in host.xml
[19:11] <Georges> but I won't parse this
[19:11] <Georges> even though the XSD seems to suggest this should work as the <jvm> tag is in <server>, the serverJvmType complexType applies
[19:16] <Georges> and I think it's because the parser in org.jboss.as.controller.parsing.HostXml.java:509 is calling parseJvm without server=true parameter
This is the part of host.xml that causes the error:
<servers>
<server name="mercure-app" group="digicash-cluster" auto-start="true">
<socket-binding-group ref="ha-sockets" port-offset="100"/>
<jvm name="default" debug-enabled="true" debug-options="runjdwp:transport=dt_socket,address=8787,server=y,suspend=n" />
</server>
</servers>
Attachments
Issue Links
- relates to
-
WFCORE-348 review server debug-options configuration
- Open