How can I make jconsole work with Websphere 6.1?

I deployed several managed Beans to WebSphere 6.1, and I managed to call them through a standalone client, but when I try to use the jconsole application distributed with the standard JDK, it cannot make it work.

Has anyone been able to connect jconsole with WAS 6.1?

IBM WebSphere 6.1 seems to support the JSR 160 JavaTM Management Extensions (JMX) Remote API. In addition, it uses an implementation of MX4J ( http://mx4j.sourceforge.net ). But I can’t get it to work with either jconsole or MC4J.

I have a class path and JAVA_HOME is configured correctly, so the problem is not there.

+3
source share
7 answers

WebSphere JMX - . , JMX beans. , jConsole JVM. PMR open IBM , , , , . .

, JMX beans, WebSphere, " WebSphere". , .

PMR IBM. , , .

. WebSphere RAD. , "...". , , " WebSphere v6.1". , Application Client RAD.

+5

!

http://issues.apache.org/jira/browse/GERONIMO-4534;jsessionid=FB20DD5973F01DD2D470FB9A1B45D209?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

  1) Change the config.xml and start the server. 

-see , config.xml: http://publib.boulder.ibm.com/wasce/V2.1.0/en/working-with-jconsole.html

 2) start the jconsole with : jconsole -J-Djavax.net.ssl.keyStore=%GERONIMO_HOME%\var\security\keystores\geronimo-default -J-Djavax.net.ssl.keyStorePassword=secret -J-Djavax.net.ssl.trustStore=%GERONIMO_HOME%\var\security\keystores\geronimo-default -J-Djavax.net.ssl.trustStorePassword=secret -J-Djava.class.path=%JAVA_HOME%\lib\jconsole.jar;%JAVA_HOME%\lib\tools.jar;%GERONIMO_HOME%\repository\org\apache\geronimo\framework\geronimo-kernel\2.1.4\geronimo-kernel-2.1.4.jar

[ geronimo-kernel jar]

 3) in the jconsole interface->advanced, input:
  JMX URL: service:jmx:rmi:///jndi/rmi://localhost:1099/JMXSecureConnector
  user name: system
  password: manager

 4) click the connect button.
+1

, WebSphere MBeans :

.

:

jconsole -J-Dwas.install.root = C:/was61 -J-Djava.ext.dirs = C:/was61/plugins; C:/was61/plugins/com.ibm.ws.security.crypto_6. 1.0; C:/was61/lib; C:/was61/java/jre/lib/ext -J-Dcom.ibm.SSL.ConfigURL = ":../../properties/ssl.client.props" - J-Dcom.ibm.CORBA.ConfigURL = ":../../properties/sas.client.props": jmx: iiop://host: port/jndi/JMXConnector

port = bootstrap port ex: (2809)

sas ssl-.

+1

ActiveMQ ServiceMix JConsole. WAS 6.1 Java Management Extension (JMX)? JMX JConsole.

, . Windows " " β†’ "" β†’ " ". JAVA_HOME JDK JRE Path % JAVA_HOME%/bin, - . , , Start- > Run- > JConsole. .

? , .

: Java Doc JConsole.

0

... , WebSphere . , ServiceMix ESB. , WebSphere, -.

0

Websphere 6.1 for some reason does not support JConsole, although it fully implements the JMS specifications. This seems to be the area of ​​the week. It is best to look at the Admin client to implement your console.

0
source

You all seem to be unfaithful. I am running Websphere 6.1.041 using JDK 1.5, and I just launched Jconsole and used the "easy connect" tab to connect to localhost with port = 0 and without username and password, and it works fine.

0
source

Source: https://habr.com/ru/post/1696536/


All Articles