3 Replies Latest reply on Jun 7, 2004 5:45 PM by Adrian Brock

    3.2.4: managed parameter name cannot have spaces

    Dustin Barlow Newbie

      In migrating from 3.2.3 to 3.2.4, I found that spaces in the XDoclet managed-parameter name attribute of an XMBean no longer work. For example:

      * @jmx.managed-parameter name="Some Name" type="java.lang.String" description="Some Description"

      When the resulting SAR is deployed, JBoss 3.2.4 throws an exception stating that the XMBean is not a valid. In JBoss 3.2.3, the SAR deployed just fine.

      Taking the space out of the parameter name cures the exception.

      * @jmx.managed-parameter name="SomeName" type="java.lang.String" description="Some Description"

      I'm posting this just as an FYI for anyone else who may run into this minor snag when migrating to 3.2.4 from previous releases.

      Is there a reason spaces in the name are no longer valid?