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

No web context created for OSGi WebApp with *.jar extension

    XMLWordPrintable

Details

    Description

      Deploying the attached OSGi WAB works:

      From the CLI:
      deploy /Users/david/tmp/bundle-c.wab
      Then open the web address in the browser: http://127.0.0.1:8080/osgi-webapp/simple?input=Hello
      you will see some simple text output in the browser.

      However, when changing the extension of the WAB to .jar the WAB doesn't work any more:
      From the CLI:
      deploy /Users/david/tmp/bundle-c.jar
      However you'll get a 404 when trying to access the same WEB address as above.

      OSGi WAB's are not required to have the .wab extension by spec and it's actually quite common that they simply have a .jar extension.

      Attachments

        Issue Links

          Activity

            People

              tdiesler@redhat.com Thomas Diesler
              dhildenb@redhat.com David Hildenbrand
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: