Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-761

Tomcat EAR double deployment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-beta-2
    • Fix Version/s: 3.0
    • Component/s: None
    • Labels:
      None

      Description

      From Jonathan
      Jonathan Gallimore wrote on dev@openejb:

      I just gave this: http://www.nabble.com/Tomcat-hot-deployment-td13287215.html a go, and I encountered a minor problem where all my beans were being deployed twice, and I was getting this error:

      org.apache.openejb.DuplicateDeploymentIdException: Application cannot be deployed as it contains deployment-ids which are in use: app (and a list of all my EJBs)

      Looking at what was going on with a debugger attached it looked like the app was actually being deployed twice, once with the name of the directory that the ear is expanded into, and once with the name of the actual ear itself.

      If I stop Tomcat, delete the ear file from the webapps folder, and leave the folder the ear was expanded into alone, and restart Tomcat, it works perfectly.

        Attachments

          Activity

            People

            • Assignee:
              dain Dain Sundstrom
              Reporter:
              dblevins David Blevins
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: