Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
JBossAS-4.0.3 SP1
-
None
-
Compatibility/Configuration
Description
JBAS 4 management module implementation (JSR-77) is not compliant with specification (while JBAS 3.2.x was ok).
JSR-77 specification excerpt:
--------------------------------
JSR77.3.9.1.1 ejbs
OBJECT_NAME [] ejbs
A list of EJB components contained in the deployed EJB JAR module. For
each EJB component contained in the deployed EJB JAR there must be one EJB
OBJECT_NAME in the ejbs list that identifies it.
--------------------------------
JBAS 4 implementation of JSR-77 returnes String[] insteadof OBJECT_NAME [].
I believe this problem affect also WebModule and other JSR-77 classes.
JBAS 4 code fragment:
/**
- @jmx:managed-attribute
*/
public String[] getejbs() { return (String[]) mEJBs.toArray(new String[mEJBs.size()]); }
JBAS 3 code fragment:
/**
- @jmx:managed-attribute
*/
public ObjectName[] getEjbs() { return (ObjectName[]) mEJBs.toArray(new ObjectName[0]); }