阿帕奇ACE与Apache菲利克斯一起嵌入的Tomcat? [英] Apache ACE together with Apache Felix embedded in Tomcat?

查看:207
本文介绍了阿帕奇ACE与Apache菲利克斯一起嵌入的Tomcat?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否有下列情形或多或少简单的解决方案。
我们有一个使用OSGi bundle了一个Web应用程序。该应用程序部署在Tomcat和Apache的作为菲利克斯的文档中描述嵌入了Apache的菲利克斯框架。这些是不能改变的prerequisites

I am wondering whether there is a more or less easy solution for the following situation. We have a web application that is using OSGI bundles. The application is deployed in Tomcat and embeds the Apache Felix framework as described in the documentation of Apache Felix. These are the prerequisites which cannot be changed.

是否有可能以分发包使用Apache ACE与此设置?阿帕奇ACE的target.jar带有自己的OSGi容器,这似乎让人很难将其与一个在我们的应用程序相结合。有没有一种简单的方法来实现这一目标? Apache的ACE文档是不是在精心制作了这一点。

Is it possible to use Apache ACE with this setup in order to distribute the bundles? The target.jar of Apache ACE comes with its own OSGI container which seems to make it hard to combine it with the one in our application. Is there an easy way to achieve this? The Apache ACE documentation is not that elaborate in this point.

推荐答案

是的,是的。除了target.jar工件,其包括框架和管理代理,该管理代理也可作为一个独立的软件包。这就是您需要为您的场景。

Yes, it is. Apart from the target.jar artifact, which includes the framework and the management agent, that management agent is also available as a separate bundle. That is what you need for your scenario.

获取管理代理神器unjarring目标罐子的问题:

Getting the management agent artifact is a matter of unjarring the target jar:

jar xf target.jar jar/org.apache.ace.agent.jar

配置管理代理了说明:

Configuring the management agent is explained here:

http://ace.apache.org/用户DOC /用户guide.html#磨合一个目标

这篇关于阿帕奇ACE与Apache菲利克斯一起嵌入的Tomcat?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆