[
http://jira.jboss.com/jira/browse/JBAS-1608?page=comments#action_12411432 ]
Steve Stair commented on JBAS-1608:
-----------------------------------
Assuming jboss:service=Mail is the only MBean where this problem occurs, and therefore the
"org.w3c.dom.Element" is the only attribute which causes trouble, the following
change works:
Change:
if( attrType.equals("javax.management.ObjectName") )
avalue = quoteName(avalue);
%>
<input type="text" name="<%= attrName %>"
value='<%= avalue %>' <%= readonly %>>
<%
to:
if( attrType.equals("javax.management.ObjectName") )
avalue = quoteName(avalue);
if (attrType.equals("org.w3c.dom.Element"))
{
%>
<textarea name="<%= attrName %>" rows="5"
cols="30" wrap="off" <%= readonly %>><%= avalue
%></textarea>
<%
}
else
{
%>
<input type="text" name="<%= attrName %>"
value='<%= avalue %>' <%= readonly %>>
<%
}
Configuration (RW) attribute on JMX-Console breaks for
jboss:service=Mail MBean
-------------------------------------------------------------------------------
Key: JBAS-1608
URL:
http://jira.jboss.com/jira/browse/JBAS-1608
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Management services
Affects Versions: JBossAS-4.0.1 Final, JBossAS-3.2.7 Final, JBossAS-4.0.0 Final,
JBossAS-3.2.6 Final, JBossAS-3.2.5 Final, JBossAS-4.0.2RC1, JBossAS-4.0.1RC1,
JBossAS-4.0.1 SP1
Environment: Nothing specific
Reporter: Amit Bhayani
Priority: Minor
The Configuration (RW) attribute of jboss:service=Mail MBean breaks (doesn't display
the whole property but while setting it works fine) when encounters " (double
inverted comma).
For example set the following in Configuration (RW) attribute
<configuration><property name="mail.from"
value="xyz(a)nosuchhost.nosuchdomain.com"/></configuration> and apply
changes. Now on Configuration textbox you can see <configuration><property name=
only.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira