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

Duplicate servlets with embedded container

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.6.0
    • 1.7.0
    • None
    • None

    Description

      Embedded TomEE fails to deploy a WAR with a @WebServlet-annotated class when this class is also on the application classpath.

      This is essentially the same as TOMEE-923, it only requires a directory (not a JAR) with a META-INF folder on the classpath.

      I'll attach a test case and a patch.

      Attachments

        1. TOMEE-1119.patch
          0.9 kB
          Harald Wellmann
        2. TOMEE-1119.zip
          10 kB
          Harald Wellmann

        Activity

          People

            romain.manni-bucau Romain Manni-Bucau
            hwellmann Harald Wellmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: