[jboss-jira] [JBoss JIRA] (AS7-5481) OSGi WebApplicationBundle with a non .wab extension does not work.

David Bosschaert (JIRA) jira-events at lists.jboss.org
Mon Sep 3 11:10:33 EDT 2012


     [ https://issues.jboss.org/browse/AS7-5481?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Bosschaert updated AS7-5481:
----------------------------------

    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.

  was:
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}}

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.


    
> OSGi WebApplicationBundle with a non .wab extension does not work.
> ------------------------------------------------------------------
>
>                 Key: AS7-5481
>                 URL: https://issues.jboss.org/browse/AS7-5481
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: OSGi, Web
>    Affects Versions: 7.2.0.Alpha1
>            Reporter: David Bosschaert
>            Assignee: Thomas Diesler
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list