This is fixed in JBoss HEAD and 4.x from 2004/4/28 (but not in the 3.2.x branch after 3.2.3).
The explanation is below:
"Update to jmx-1.2mr change for Illegal identifiers no longer produce exceptions (4839259) Version 1.1 of the spec said that identifiers in MBeans (class name strings, attribute, operation, and paramter names) should be valid Java identifiers, but did not enforce this. In version 1.2, the constructors of the various MBean*Info classes were modified so that they do enforce this requirement. This change broke existing code, as people in fact used non-Java-identifiers here.
The correction is that in the constructors for the classes BeanAttributeInfo,
MBeanConstructorInfo, MBeanFeatureInfo, MBeanInfo, MBeanNotificationInfo, MBeanOperationInfo, MBeanParameterInfo, the exception IllegalArgumentException is no longer thrown for illegal names."
Thank you. Code works well in Jboss-4.0.1.