Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can I connect to the MBean Server of a JDK 1.5 Java Application ?

0
10 Posted

Can I connect to the MBean Server of a JDK 1.5 Java Application ?

0

Solution: It is possible to monitor the various attributes exposed by JDK 1.5 through JMX. You can verify the following in your scenario : 1. The JNDI name in the “New Monitor” form for “JMX[MX4J/JDK1.5]” should be changed to “/jmxrmi” as this is the JNDI name and the port is as specified. 2. In case you are connecting from a remote machine i.e., the Applications Manager is running in a different machine from which your application(java program) is running then you need to specify the following system properties to your application in addition to the port you have set (-Dcom.sun.management.jmxremote.port=port number) before starting your application. -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false. You can then create the monitor. After creating the Monitor, you can use the “Add Attributes” link in the monitor details page (Custom Attributes) to add and monitor the various attributes exposed by the JVM. [Question] 76. I am unable to add an ent

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123