JBoss Community

Re: OSGi web app deploy issue

created by David Bosschaert in JBoss AS7 Development - View the full discussion

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

 

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

Start a new discussion in JBoss AS7 Development at Community