]
Emanuel Muckenhuber resolved AS7-1606.
--------------------------------------
Fix Version/s: 7.1.0.Beta1
(was: 7.1.0.CR1)
Resolution: Done
host.xml parse error when debug-enabled is used
-----------------------------------------------
Key: AS7-1606
URL:
https://issues.jboss.org/browse/AS7-1606
Project: Application Server 7
Issue Type: Bug
Components: Domain Management
Affects Versions: 7.0.1.Final
Environment: RHEL6
Reporter: Georges Berscheid
Assignee: Emanuel Muckenhuber
Fix For: 7.1.0.Beta1
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>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: