Karaf-Tutorial icon indicating copy to clipboard operation
Karaf-Tutorial copied to clipboard

How do I deploy my OSGi Karaf application via Tomcat?

Open laurentkvb opened this issue 7 years ago • 3 comments

^

I have currently 4 bundles or 5 bundles that are together as an OSGi application and so far they work well. But I want to deploy this OSGi application via Tomcat on Heroku. I am clueless to find it on the internet and there does not seem to be any documentation of tutorial on how to achieve this? Or maybe there are other ways to deploy this application?

Any help would be appreciated and thanked!

laurentkvb avatar Apr 09 '18 15:04 laurentkvb

Tomcat is not a good choice as it is not an OSGi environment. I just did an example for deploying a small application to kubernetes using the packager from bndtools. This works very well. Maybe this can also help for heroku. https://github.com/cschneider/osgi-example-systemready

cschneider avatar Aug 15 '18 15:08 cschneider