MessagingPostOfficeService MBean View on jmx-console is not
gaohoward Feb 27, 2009 3:41 AMHi,
JBoss AS 4.2.3
JBM 1.4.2.GA-SP1
Starting JBoss AS, open jmx-console and open the mbean view for post office (service=postoffice), look at the Value fields of ControlChannelConfig and DataChannelConfig, you will see incomplete values for them, like:
<UDP discard_incompatible_packets=
The result is that, if you click 'Apply Changes' button, the console will end in exception:
exception
org.jboss.util.NestedRuntimeException: XML document structures must start and end within the same entity.; - nested throwable: (org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.)
org.jboss.util.propertyeditor.DocumentEditor.getAsDocument(DocumentEditor.java:88)
org.jboss.util.propertyeditor.ElementEditor.setAsText(ElementEditor.java:41)
org.jboss.util.propertyeditor.PropertyEditors.convertValue(PropertyEditors.java:260)
org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:190)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAdaptorServlet.java:252)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:98)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
root cause
org.xml.sax.SAXParseException: XML document structures must start and end within the same entity.
org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
org.jboss.util.propertyeditor.DocumentEditor.getAsDocument(DocumentEditor.java:79)
org.jboss.util.propertyeditor.ElementEditor.setAsText(ElementEditor.java:41)
org.jboss.util.propertyeditor.PropertyEditors.convertValue(PropertyEditors.java:260)
org.jboss.jmx.adaptor.control.Server.setAttributes(Server.java:190)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.updateAttributes(HtmlAdaptorServlet.java:252)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:98)
org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82)
javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
note The full stack trace of the root cause is available in the JBossWeb/2.0.1.GA logs.
Is that a known issue?