unable to deploy camel-web in Karaf 2.1.0
-
24-10-2019 - |
Question
I'm unable to deploy camel-web in Karaf 2.1.0...here is what i tried from a clean install of Karaf...
features:addUrl mvn:org.apache.camel.karaf/apache-camel/2.6-SNAPSHOT/xml/features
features:install war
features:install camel
osgi:install -s mvn:org.springframework/spring-web/3.0.5.RELEASE
osgi:install -s mvn:org.springframework.osgi/spring-osgi-web/1.2.0
war:mvn:org.apache.camel/camel-web/2.6-SNAPSHOT/war?Webapp-Context=camelweb
At this point, it seems like it deployed successfully as I don't see any errors in the logs. But, when I go to http://localhost:8181/camelweb, I get a 404.
What am I missing?
Also, referenced with this JIRA ticket (CAMEL-3519)
Solution 2
there is a bug with this deployment process that is being worked by the Apache guys...see details here
OTHER TIPS
In a future Camel release there will be a feature to install camel-web. Its a bit tricky to dot that in the realms of OSGi :)
I suggest you get engaged in the Camel community and help with CAMEL-3519. The best place is the Camel mailing list where all the good people is listening.