Hi Arpan,

I am not sure what your use case is exactly, but would suggest you to use
"osgi-bundlecontext" from your web application bundle (wab) and access the
osgi bundle which you have created in step1

Regards
Ajinkya

On Friday, December 27, 2013, Arpan Mukhopadhyay wrote:

> I have two projects.
>
>    1. An osgi bundle (eclipse plugin project).
>    2. A simple web application (deployable in tomcat).
>
> I have started the felix container from tomcat with no problem by following
> the link below
>
>
> http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html#using-the-servlet-bridge
>
> Now I am stuck how to call the classes of the bundle (already installed in
> the felix container) from a servlet. It is throwing class not found error
> as the bundle project is not in the classpath but in the following location
> /WEB-IN/bundles.(I have to use this location for the bundles). So how it
> could be achieved ?
>
> Thanks
>
> Arpan
>


-- 
Thank you and Regards
Ajinkya Prabhune

Reply via email to