获取有关jboss的信息 [英] Obtain information about jboss

查看:130
本文介绍了获取有关jboss的信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

人们将如何以编程方式在部署在该jboss服务器上的application/war中找到jboss端口?使用Java

How would one find out the jboss port programatically within application/war that is deployed on that jboss server? Using Java

这是一个正在运行的Web服务,我们没有任何用户界面

It is a web service running, we don't have any user interface

推荐答案

我假设您需要HTTP端口.

I am assuming you want the HTTP port.

JBoss为每个Web侦听器发布Tomcat连接器MBean. mbeans的ObjectNames的命名约定为:

JBoss publishes a Tomcat connector MBean for each web listener. The naming convention of the mbeans' ObjectNames is:

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