[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:32 EDT 2012
David Bosschaert created AS7-5481:
-------------------------------------
Summary: 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}}
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