Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-2658

EJBModule is not compliant with JSR-77 specification

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • JBossAS-4.0.3 SP1
    • Management services
    • 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]); }

      Attachments

        Activity

          People

            Unassigned Unassigned
            mhaduk_jira mhaduk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: