Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-351

Implement the HttpService ontop of JBossWeb

    Details

      Description

      Resolving this issue consolidates the Http services that we ship and should replace pax-web with an HttpService implemenation based on JBossWeb.
      RFC-66 (WebApp) support is also covered by this issue.

        Gliffy Diagrams

        1. DefaultHttpContext.java
          2 kB
          Remy Maucherat
        2. http-service-1.2.pdf
          159 kB
          Thomas Diesler
        3. HttpServiceImpl.java
          6 kB
          Remy Maucherat
        4. registerServlet
          0.6 kB
          Remy Maucherat
        5. ResourceServlet.java
          4 kB
          Remy Maucherat

          Issue Links

            Activity

            Hide
            ceefour Hendy Irawan added a comment -

            Just to let you know that someone also cares about this issue.

            Thanks for everybody working on this issue. Great work!

            Show
            ceefour Hendy Irawan added a comment - Just to let you know that someone also cares about this issue. Thanks for everybody working on this issue. Great work!
            Hide
            ceefour Hendy Irawan added a comment -

            Especially Thomas Diesler

            Show
            ceefour Hendy Irawan added a comment - Especially Thomas Diesler
            Hide
            thomas.diesler Thomas Diesler added a comment - - edited

            Wrapper osgiServletWrapper = context.createWrapper();
            osgiServletWrapper.setName("???"); // Generate something ?
            osgiServletWrapper.setServlet(servletInstance);
            osgiServletWrapper.setServletClass(servletInstance.getClass().getName());
            context.addChild(osgiServletWrapper);
             
            context.addServletMapping(alias, "???");
             
            // Must be added to the main mapper as no dynamic servlets usually
            injectedWebServerService.getService().getMapper().addWrapper(injectedHost.getName(), context.getPath(), alias, osgiServletWrapper, false);
            

            Show
            thomas.diesler Thomas Diesler added a comment - - edited Wrapper osgiServletWrapper = context.createWrapper(); osgiServletWrapper.setName("???"); // Generate something ? osgiServletWrapper.setServlet(servletInstance); osgiServletWrapper.setServletClass(servletInstance.getClass().getName()); context.addChild(osgiServletWrapper);   context.addServletMapping(alias, "???");   // Must be added to the main mapper as no dynamic servlets usually injectedWebServerService.getService().getMapper().addWrapper(injectedHost.getName(), context.getPath(), alias, osgiServletWrapper, false);
            Hide
            thomas.diesler Thomas Diesler added a comment -

            Running org.jboss.as.test.smoke.osgi.SimpleHttpServiceTestCase
            Tests run: 4, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.503 sec
            

            Show
            thomas.diesler Thomas Diesler added a comment - Running org.jboss.as.test.smoke.osgi.SimpleHttpServiceTestCase Tests run: 4, Failures: 0, Errors: 0, Skipped: 2, Time elapsed: 0.503 sec
            Hide
            thomas.diesler Thomas Diesler added a comment -

            Done

            Show
            thomas.diesler Thomas Diesler added a comment - Done

              People

              • Assignee:
                thomas.diesler Thomas Diesler
                Reporter:
                thomas.diesler Thomas Diesler
              • Votes:
                3 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development