[jboss-jira] [JBoss JIRA] Commented: (JBAS-6776) JMX Console render empty page for mbean with UTF-8 chars in attributes description or values
MariuszS (JIRA)
jira-events at lists.jboss.org
Tue Apr 14 09:53:22 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-6776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12462042#action_12462042 ]
MariuszS commented on JBAS-6776:
--------------------------------
Changing header of jsp files partially fix this issue:
Change in header of inspectMBean.jsp:
{code}<?xml version="1.0" encoding="UTF-8"?>
<%@page contentType="text/html; charset=UTF-8"
{/code}
before was:
{code}<?xml version="1.0" ?>
<%@page contentType="text/html;"
{/code}
After this there is problem with printing UTF-8, values are printed as follow:
input type='text' size='80' name='SomeAttr' value='sdfóÅÅ' class='writable'
> JMX Console render empty page for mbean with UTF-8 chars in attributes description or values
> --------------------------------------------------------------------------------------------
>
> Key: JBAS-6776
> URL: https://jira.jboss.org/jira/browse/JBAS-6776
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMX/Web Console
> Affects Versions: JBossAS-5.0.1.GA
> Environment: JDK6, WindowsXP
> Reporter: MariuszS
> Assignee: Darran Lofthouse
>
> Using UTF-8 chars (example polish char coded properly in UTF-8) in java code or xmbeans xml description cause JMX Console view to break. JMX MBean View Frame is simply empty. There is no log error, warning etc. This work pretty well in JBoss 4.x series. As workaround I can remove all UTF-8 chars from xml definition of mbeans (convert to ISO-8859-1), but this not work for value of attributes.
--
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
More information about the jboss-jira
mailing list