NamingAlias ClassNotFoundException when migrating SAR to JBoss EAP 6

Solution Unverified - Updated -

Issue

We are encoutering a little problem with "MBean" and "org.jboss.naming.NamingAlias" : deployment descriptor fails to deploy within JBoss 6.

Our problem come from a SAR archive which contains a "jboss-service.xml" file :

<server>
    <mbean code="org.jboss.naming.NamingAlias" name="com.example:service=NamingAlias,name=Test">
        <attribute name="FromName">/FromExample</attribute>
        <attribute name="ToName">ToExample</attribute>
    </mbean>

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In