Uploaded image for project: 'TomEE'
  1. TomEE
  2. TOMEE-505

OpenEJB DeploymentId improvement

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.1
    • 1.6.0
    • None
    • None

    Description

      IF I have two applications running on same TomEE instance and such that they employ EJB with the identical name (e.g. in my case it is some security relevant bean used in all my apps) the deployment of the second bean will fail because the bean with the same name already exists.

      As I understand the openejb.deploymentId.format parameter has default value of

      {ejbName}

      I suggest to change default value to {appId}/{ejbName}

      , this would elegantly and generally avoid this issue?

      example: openejb.deploymentId.format =

      {appId}

      /

      {ejbName}

      Attachments

        Activity

          People

            Unassigned Unassigned
            reinis_v Reinis Vicups
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: