[jboss-dev-forums] [JBoss AS7 Development] - Re: OSGi web app deploy issue

David Bosschaert do-not-reply at jboss.com
Thu Sep 8 04:03:22 EDT 2011


David Bosschaert [http://community.jboss.org/people/bosschaert] created the discussion

"Re: OSGi web app deploy issue"

To view the discussion, visit: http://community.jboss.org/message/625433#625433

--------------------------------------------------------------
Hi Konstantin,

Rename the .war file to a .jar file and it will be picked up by the OSGi web layer. The OSGi Webapp Specification doesn't mandate a particular file extension and in AS7/OSGi Web Application Bundles (WABs) need to have the OSGi bundle extension .jar.

For a working example of a OSGi WebApp deployment see this thread:
 http://community.jboss.org/message/616647#616647 http://community.jboss.org/message/616647#616647

Also don't forget to set the start level to 3, using:
<property name="org.osgi.framework.startlevel.beginning">3</property>


this is needed because osgi web support is configured to become available from start level 3...
--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/625433#625433]

Start a new discussion in JBoss AS7 Development at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110908/3d1286b3/attachment.html 


More information about the jboss-dev-forums mailing list