Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/shell/5.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
Rest 如何在websphere v 8.5.5 liberty概要文件中获取线程池、WebContainer、会话、连接池MBean_Rest_Websphere_Websphere Liberty - Fatal编程技术网

Rest 如何在websphere v 8.5.5 liberty概要文件中获取线程池、WebContainer、会话、连接池MBean

Rest 如何在websphere v 8.5.5 liberty概要文件中获取线程池、WebContainer、会话、连接池MBean,rest,websphere,websphere-liberty,Rest,Websphere,Websphere Liberty,我需要监视我在sever.xml中进行的一些配置更改 <feature>restConnector-1.0</feature>^M <feature>jsp-2.2</feature>^M <feature>appSecurity-1.0</feature>^M <feature>ssl-1.0</feature> <feature>monitor-1.0&

我需要监视我在sever.xml中进行的一些配置更改

<feature>restConnector-1.0</feature>^M
    <feature>jsp-2.2</feature>^M
    <feature>appSecurity-1.0</feature>^M
    <feature>ssl-1.0</feature>
    <feature>monitor-1.0</feature>^M

无法获取threadpool、webcontaineer mbeans,是否需要进行任何配置???

可能会更新到最新的Liberty版本,并尝试使用jconsole进行测试。我运行的是v8.5.5.3,工作正常。我使用以下命令使用rest连接器启动jconsole(全部在一行中,格式化为可读性):


我可以看到ThreadPoolStats和ServletStats。对于SessionStats或ConnectionPoolStats,您的应用程序实际上需要使用功能(例如,会话或连接到数据库)才能在jconsole中可见并具有mbean。

未找到monitor 1.0功能定义日志中出现错误…感谢您撰写此文:“对于SessionStats或ConnectionPoolStats,您的应用程序实际上需要使用该功能(例如,会话或到db的连接)才能在jconsole中可见并具有mbean。”我完全没有意识到这一点,我一直在尝试围绕它构建工具。:-)
WebSphere
WebSphere:feature=restConnector,type=FileService,name=FileService
WebSphere:service=com.ibm.websphere.application.ApplicationMBean,name=WLProject
WebSphere:feature=channelfw,type=endpoint,name=defaultHttpEndpoint-ssl
WebSphere:feature=restConnector,type=FileTransfer,name=FileTransfer
WebSphere:service=com.ibm.websphere.application.ApplicationMBean,name=kohls
WebSphere:service=com.ibm.ws.kernel.filemonitor.FileNotificationMBean
WebSphere:service=com.ibm.websphere.application.ApplicationMBean,name=worklightadmin
WebSphere:feature=channelfw,type=endpoint,name=defaultHttpEndpoint
WebSphere:service=com.ibm.websphere.application.ApplicationMBean,name=worklightconsole
WebSphere:name=com.ibm.ws.jmx.mbeans.generatePluginConfig
WebSphere:service=com.ibm.websphere.application.ApplicationMBean,name=_analytics
WebSphere:name=com.ibm.ws.config.serverSchemaGenerator
WebSphere:service=com.ibm.websphere.application.ApplicationMBean,name=_MobileBrowserSimulator
WebSphere:service=com.ibm.websphere.application.ApplicationMBean,name=nsecom
jconsole 
    -J-Djava.class.path=C:\
IBM\WebSphere\LibertyIM\java\java_1.7_32\lib\jconsole.jar;C:\IBM\WebSphere\Liber
tyIM\java\java_1.7_32\lib\tools.jar;C:\IBM\WebSphere\wlp\clients\restConnector.j
ar 
    -J-Djavax.net.ssl.trustStore=C:/IBM/WebSphere/wlp/usr/servers/monitoringServe
r/resources/security/key.jks 
    -J-Djavax.net.ssl.trustStorePassword=password 
    -J-Djavax.net.ssl.trustStoreType=jks 
    -J-Duser.language=en