Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-358

Unpackaged ear deployments with unpackaged jars inside them do not undeploy WS correctly.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-ws4ee-4.0.4RC1
    • jboss-ws4ee-4.0.2, jboss-ws4ee-4.0.3
    • jbossws-native
    • None

      When undeploying unpackaged ear deployments that have unpackaged jars inside them the corresponding web services are not undeployed.

      The unpackaged jar inside the unpackaged ear has a service endpoint in its ejb-jar.xml and has all required xml and wsdl files in the META-DATA directory and deploys fine.

      This issue seems to be similar to issue JBWS-123, except it deals with jars inside an ear deployment.

      I have found that if you put a packaged jar inside the unpackaged ear file, the web service undeploys correctly, or if you package both the jar and the ear it undeploys correctly. This allows you to leave your class files in an unpackaged jar inside the ear file, and then make a packaged jar inside the ear file that will deploy web services, and web services will undeploy correctly. This method is shown in the second attachment.

        1. hello.ear
          5 kB
          Jeremiah Marcum
        2. hello-with-packaged-jar.ear
          5 kB
          Jeremiah Marcum

              tdiesler@redhat.com Thomas Diesler
              jmarcum_jira Jeremiah Marcum (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: