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

Deploying a war that also contains normal servlets the web.xml is modified as if they are all endpoints

    XMLWordPrintable

Details

    • Workaround Exists
    • Hide

      1 - Refactor the servlet classes so their name ends with 'Servlet'

      2 - Repackage the application so the endpoints are in their own war.

      Show
      1 - Refactor the servlet classes so their name ends with 'Servlet' 2 - Repackage the application so the endpoints are in their own war.

    Description

      When deploying a war that contains web services the servlet definitions for the endpoints need to be modified so that they reference a JBossWS servlet instead of the endpoint implementation, this JBossWS implementation then delegates to the endpoint.

      For JBossWS 1.0.0 servlet entries were only modified if they were identified as endpoints based on the deployment of the webservices.xml

      For JBossWS 1.0.1 as part of removing the dependencies on JBossAS this was refactored and now the non web services servlets are identified if their name ends 'Servlet'. The original logic from JBossWS 1.0.0 needs to be reimplemented but we also need to take into acount the different deployment scenarios.

      Attachments

        Activity

          People

            darran.lofthouse@redhat.com Darran Lofthouse
            darran.lofthouse@redhat.com Darran Lofthouse
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: