cschneider / Karaf-Tutorial

http://cschneider.github.io/Karaf-Tutorial/
Apache License 2.0
271 stars 305 forks source link

How do I deploy my OSGi Karaf application via Tomcat? #44

Open laurentkvb opened 6 years ago

laurentkvb commented 6 years ago

^

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!

cschneider commented 6 years ago

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

dtbdtb commented 1 month ago

but our customer want to move osgi application into tomcat

cschneider commented 1 month ago

Then I suggest porting to spring boot or quarkus.