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

Deployment error with empty relation-nam

    XMLWordPrintable

Details

    Description

      SourceForge Submitter: jboynes .
      Sun's PetStore 1.3.1 application contains empty
      ejb-relation-name entries such as:

      <ejb-relation>
      <ejb-relation-name></ejb-relation-name>
      ...
      </ejb-relation>

      Presumably this deploys fine on the reference
      implementation. However, JBoss returns an error saying
      that the ejb-relation-name must be unique.

      According to the EJB2.0 spec: "The ejb-relation-name
      element provides a unique name for a relationship." In
      EJB2.1 this is expanded to "The name of the
      relationship, if specified, is unique within the
      ejb-jar file." Note the "if specified"

      IMHO the spec isn't very precise here but, for
      compatibility with the RI and PetStore, JBoss should
      treat empty ejb-relation-name elements as if they were
      not specified.

      Attachments

        Activity

          People

            starksm64 Scott Stark (Inactive)
            sourceforge-user SourceForge legacy user (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: