Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Proposals » OSGi Enterprise Tools » Refer to OSGI bundles from a WAB project
Refer to OSGI bundles from a WAB project [message #1226585] Thu, 02 January 2014 06:01
Arpan Mukhopadhyay is currently offline Arpan MukhopadhyayFriend
Messages: 1
Registered: January 2014
Junior Member
Hi all,

I have tried to create an OSGI web project (basically an wab bundle) that can be deployed on a tomcat or any j2ee container with embedded apache felix inside. I have seen examples where tomcat or jetty is embedded inside an osgi framework as a bundle but that's not what I want. How to achieve this ? Basic layout of my projects are as follows

com.demo.osgi.web (WAB)
|
|-- WEB-INF
|
|--lib
| |
| |--felix.jar
| |--org.apache.felix.http.proxy-2.2.2.jar
|
|--bundles
|
|--org.apache.felix.bundlerepository-1.6.6.jar
|--org.apache.felix.gogo.command-0.12.0.jar
|--org.apache.felix.gogo.runtime-0.10.0.jar
|--org.apache.felix.gogo.shell-0.10.0.jar
|--org.apache.felix.http.api-2.2.2.jar
|--org.apache.felix.http.base-2.2.2.jar
|--org.apache.felix.http.bridge-2.2.2.jar
|--org.apache.felix.http.bundle-2.2.2.jar

and the osgi bundle is

com.demo.test (osgi bundle as eclipse plugin project)
|
|--src
|
|--DemoServlet

All I want to do is add the "com.demo.test" reference in the MANIFEST file of "com.demo.osgi.web" and run it.

Thanks
Arpan

Previous Topic:Problem in Struts2 with OSGI
Next Topic:eclipse team project set with egit
Goto Forum:
  


Current Time: Wed Dec 11 00:23:06 GMT 2024

Powered by FUDForum. Page generated in 0.03105 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top