Answer by Clement for Using an OSGi Bundle from a Java Web Application in Tomcat
When you embeds an OSGi framework like that and then want to access an OSGi service from the outer environment, you need to be sure that the service interface are the same inside and outside of OSGi....
View ArticleAnswer by romje for Using an OSGi Bundle from a Java Web Application in Tomcat
I am sorry I won't answer to your question directly... From my point of view you don't take the good approach , do you have any valuable reason to use an existing Tomcat 7 instance ? I would use a more...
View ArticleAnswer by Duncan Krebs for Using an OSGi Bundle from a Java Web Application...
I overcame this challenge by overriding the JasperClass Loader what is happening each bundle as its own class loader classdeffnotfound is because the tomcat loader is being used. There are more...
View ArticleAnswer by Francis Upton IV for Using an OSGi Bundle from a Java Web...
I have done this before using the EclipseStarter stuff with the bridge, and it was a lot of work to get the classpath stuff right which is the key. You also have to call EclipseStarter using...
View ArticleUsing an OSGi Bundle from a Java Web Application in Tomcat
I am trying to invoke a method of an OSGi bundle from a Java Web Application. Both are supposed to run on Tomcat 7. I already wrote a normal Java application that invokes methods from the OSGi bundle,...
View Article