[
https://jira.jboss.org/jira/browse/JBAS-6735?page=com.atlassian.jira.plug...
]
Ondrej Žižka commented on JBAS-6735:
------------------------------------
Seem's like this is intentional, as some methods return HTML code, e.g. those in
jboss.system:ServerInfo.
However, assuming the string is a HTML and treating it so seems unsystematic to me.
What about some ~AsHtml suffix which would hint JMX console that the method returns HTML?
JMX console: Escape HTML characters of invocation output
--------------------------------------------------------
Key: JBAS-6735
URL:
https://jira.jboss.org/jira/browse/JBAS-6735
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: JMX/Web Console
Affects Versions: JBossAS-5.1.0.CR1
Reporter: Ondrej Žižka
Assignee: Darran Lofthouse
For an example, open JMX web console, go to the jboss:service=JNDIView MBean, and invoke
its listXML() - which returns:
<context>
<name>java:comp</name>
<attribute
name="bean">jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3</attribute>
...
However, JMX console doesn't escape HTML chars, so what you really see is:
java:comp
jboss.j2ee:jar=profileservice-secured.jar,name=SecureProfileService,service=EJB3
...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira