Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/395.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java WebSphere Liberty配置文件AdminClient协作连接_Java_Websphere Liberty - Fatal编程技术网

Java WebSphere Liberty配置文件AdminClient协作连接

Java WebSphere Liberty配置文件AdminClient协作连接,java,websphere-liberty,Java,Websphere Liberty,用于通过Perf Mbean监视WebSphere application server 我已经选择RMI或SOAP连接器端口从Adminclient获取连接。如下代码所述 Properties localProperties = new Properties(); localProperties.put("type", "RMI");// RMI or SOAP localProperties.put("host", localhost); localProperties.put("port"

用于通过Perf Mbean监视WebSphere application server 我已经选择RMI或SOAP连接器端口从Adminclient获取连接。如下代码所述

Properties localProperties = new Properties();
localProperties.put("type", "RMI");// RMI or SOAP
localProperties.put("host", localhost);
localProperties.put("port", 2809);// connector port
AdminClient client = AdminClientFactory.createAdminClient(props);

所以我需要同样的WebSphereLiberty概要文件8.5。没有关于管理控制台的详细信息,我找不到连接器端口详细信息RMI或SOAP。如何按照上面的代码配置或选择连接器端口并连接到adminclient。我在server.xml中所做的是启用RMI或SOAP端口。

Liberty没有与传统WAS一起使用的管理客户端。您可以使用JMX连接和管理Liberty,如中所述。可以找到Liberty可用MBean的列表