Back to bug 1036197

Who When What Removed Added
Jean-frederic Clere 2013-12-02 09:31:41 UTC Component Tomcat Web
Assignee dknox rmaucher
Daniel Bobbert 2014-03-31 14:10:03 UTC Version 6.2.0, 6.2.1
James Livingston 2014-07-20 23:37:07 UTC Status NEW MODIFIED
Target Release --- EAP 6.3.0
CC jlivings
Target Milestone --- DR2
Radim Hatlapatka 2014-07-21 09:58:57 UTC Status MODIFIED ON_QA
Radim Hatlapatka 2014-07-21 10:00:19 UTC Status ON_QA VERIFIED
James Livingston 2014-07-22 01:12:41 UTC Doc Text Cause: JBossWeb Coyote's *Protocol classes start() methods constructed an MBean name using the getName() value, which is likely to contain a colon and the MBean object name cannot contain arbitrary colons.

Consequence: An error 'JBWEB003044: Threadpool JMX registration failed: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property' would be reported when JBoss tries to start if -Dorg.apache.tomcat.util.Constants.ENABLE_MODELER=true was set.

Fix: Use getJmxName() rather than getName() to correctly construct the name of the MBean.

Result: No exception occurs when -Dorg.apache.tomcat.util.Constants.ENABLE_MODELER=true is used, and the modeller is enabled.
Scott Mumford 2014-07-24 00:56:50 UTC CC smumford
Doc Text Cause: JBossWeb Coyote's *Protocol classes start() methods constructed an MBean name using the getName() value, which is likely to contain a colon and the MBean object name cannot contain arbitrary colons.

Consequence: An error 'JBWEB003044: Threadpool JMX registration failed: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property' would be reported when JBoss tries to start if -Dorg.apache.tomcat.util.Constants.ENABLE_MODELER=true was set.

Fix: Use getJmxName() rather than getName() to correctly construct the name of the MBean.

Result: No exception occurs when -Dorg.apache.tomcat.util.Constants.ENABLE_MODELER=true is used, and the modeller is enabled.
In previous releases of JBoss EAP 6, JBossWeb Coyote's *Protocol classes start() methods constructed an MBean name using the getName() value, which is likely to contain a colon and the MBean object name cannot contain arbitrary colons.

The following error would be reported when JBoss tries to start if `-Dorg.apache.tomcat.util.Constants.ENABLE_MODELER=true` was set:
----
JBWEB003044: Threadpool JMX registration failed: javax.management.MalformedObjectNameException: Invalid character ':' in value part of property
----

This release uses `getJmxName()` rather than `getName()` to correctly construct the name of the MBean.

As a result the exception no longer occurs when `-Dorg.apache.tomcat.util.Constants.ENABLE_MODELER=true` is used, and the modeller is enabled.
Misha H. Ali 2014-07-24 00:58:02 UTC CC mhusnain
Pavel Slavicek 2014-08-06 14:36:21 UTC Status VERIFIED CLOSED
Resolution --- CURRENTRELEASE
Last Closed 2014-08-06 10:36:21 UTC

Back to bug 1036197