是否有(实验性)JSR-262 JMX-WS 支持的 Java 工具或应用程序?

发布于 2024-07-26 00:57:56 字数 412 浏览 9 评论 0原文

我对 Java 管理扩展 (JMX) 代理的 Web 服务连接器 和参考实现 ws-jmx-connector。 JSR 262 将为跨平台/跨语言企业集成项目提供新的机会,提供使用非 Java 客户端与 JMX 代理进行通信的选项。 (我已经能够毫不费力地将参考实现与 Delphi 客户端一起使用)。

是否有任何(开源)Java 工具或产品“启用”JSR 262 并通过 JMX WS 公开 MBean - 以便可以使用 JSR 262 参考实现,而无需修改其源代码?

I am very interested in the Web Services Connector for Java Management Extensions (JMX) Agents and the reference implementation ws-jmx-connector. JSR 262 will provide a new opportunity for cross-platform/cross-language enterprise integration projects, given the option to communicate with JMX Agents using non-Java clients. (I have been able to use the reference implementation with a Delphi client with little effort).

Are there any (open source) Java tools or products which are JSR 262 'enabled' and expose MBeans over JMX WS - so that the JSR 262 reference implementation can be used, without the need to modify their source code?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

司马昭之心 2024-08-02 00:57:56

我也对它很感兴趣,但我还没有时间去研究它。 但是,由于它只是另一个协议实现,您应该能够将它与标准工具(如 jconsole)一起使用。 只需确保它位于类路径中并在连接时指定有效的服务 url,可能类似于“service:jmx:ws://localhost:8080/test”。

如果您查看此处 http://java.sun。 com/javase/6/docs/technotes/guides/management/jconsole.html 有一个关于如何在启动 jconsole 时扩展类路径的示例。 我已经在其他一些协议中使用了该技术,并且通常可以正常工作。

为了给你一个很好的例子,我下载了 JSR-262-ri.jar,运行安装并将 lib 目录中的 jar 文件添加到我的类路径中,但我得到的是:

SEVERE: The JAX-WS 2.1 RI is not Sun's unbundled RI.
JAX-WS jars must be located in your classpath when running on JDK 5 and JDK 6 update release 4 (or higher).
If running on a previous JDK 6 (JDK 6 to JDK 6 update 3 included) you need to use the endorsed directory .
NB: The JAX-WS 2.1 release bundled in JDK 6 cannot be used to run this Connector. The unbundled release of JAX-WS 2.1 is required.
This wrong release is loaded from : the bootclasspath.

所以我想我有一些冲突我现在真的无法激励自己花时间……如果有人知道,请随时发表评论。 我很想让它在我的服务器端运行来玩。

我希望这至少是一个比没有回答问题更好的答案。

编辑: 或者您的意思是使用它来公开 MBean 的开源 Java 工具,以便您可以从 delphi(或其他)使用它们? 在这种情况下,如果我能摆脱上面的错误,我将很乐意开源一个简单的工具:-)

I am quite interested in it as well but I haven't had time to work with it. However, as it is just another protocol implementation you should be able to use it with the standard tools (like jconsole). Just make sure it is in the classpath and specify a valid service url, probably something like "service:jmx:ws://localhost:8080/test", when connecting.

If you look here http://java.sun.com/javase/6/docs/technotes/guides/management/jconsole.html there is an example on how to extend the classpath when starting jconsole. I've used that technique for a few other protocols and it usually just works.

In order to give you a good example I downloaded the the JSR-262-ri.jar, ran the installation and added the jar-files in the lib directory to my classpath but all I got was:

SEVERE: The JAX-WS 2.1 RI is not Sun's unbundled RI.
JAX-WS jars must be located in your classpath when running on JDK 5 and JDK 6 update release 4 (or higher).
If running on a previous JDK 6 (JDK 6 to JDK 6 update 3 included) you need to use the endorsed directory .
NB: The JAX-WS 2.1 release bundled in JDK 6 cannot be used to run this Connector. The unbundled release of JAX-WS 2.1 is required.
This wrong release is loaded from : the bootclasspath.

so I guess I had some conflict that I really cannot motivate myself to spend time on right now... If anyone knows, feel free to comment. I would love to get it working on my server side to play around.

I hope this is at least a better answer than having the question unanswered.

Edit: Or did you mean open source java tools that uses it to expose MBeans so that you can use them from delphi (or whatever)? In that case I will gladly open source a simple tool if I can just get rid of that error above :-)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文