无法在 Karaf 2.1.0 中部署camel-web
我无法在 Karaf 2.1.0 中部署camel-web...这是我从全新安装的 Karaf 中尝试的...
功能:addUrl mvn:org.apache.camel.karaf/apache-camel/2.6-快照/xml/功能
特点:安装战争
特点:安装骆驼
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
此时,它似乎部署成功,因为我在日志中没有看到任何错误。但是,当我访问 http://localhost:8181/camelweb 时,我得到了 404。
我错过了什么?
另外,通过此 JIRA 票证 (CAMEL-3519) 进行引用
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)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在未来的 Camel 版本中,将会有一个安装camel-web 的功能。在 OSGi 领域中实现这一点有点棘手:)
我建议您参与 Camel 社区并帮助 CAMEL-3519。
最好的地方是 Camel 邮件列表,所有优秀的人都在倾听。
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.
Apache 人员正在处理此部署过程中存在一个错误...请参阅详细信息 这里
there is a bug with this deployment process that is being worked by the Apache guys...see details here