In trying to gain insight into internal Spectrum OneClick tomcat metrics, I'm trying to deploy the tomcat probe to my Spectrum OneClick servers.
I'm getting an error message (below).
Nov 17 10:11:02:947 [IC#0, com.nimsoft.nimbus.probe.application.jsr160.ConnectionHolder] Etter certificate+++(1500) , Naming problem, reason: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.InvalidNameException: Malformed IPv6 address at index 7: rmi://[127.0.0.1]:8008 [Root exception is java.lang.IllegalArgumentException: Malformed IPv6 address at index 7: rmi://[127.0.0.1]:8008]: Failed to retrieve RMIServer stub: javax.naming.InvalidNameException: Malformed IPv6 address at index 7: rmi://[127.0.0.1]:8008 [Root exception is java.lang.IllegalArgumentException: Malformed IPv6 address at index 7: rmi://[127.0.0.1]:8008]
I'm not specifying an ipv6 address.
Release : 20.4
tomcat 1.30
There are several configuration changes to make.
First, in the tomcat probe:
Then, in the Spectrum side:
Please add the following to the OneClickService.conf file
jvm_opt=-Dcom.sun.jndi.rmiURLParsing=legacy
jvm_opt=-Dcom.sun.management.jmxremote.port=9004
jvm_opt=-Dcom.sun.management.jmxremote.ssl=false
jvm_opt=-Dcom.sun.management.jmxremote.authenticate=false
Also, it can help to increase the janitor memory limit in the probe from 100000 to 300000 as described in the below article:
https://knowledge.broadcom.com/external/article/221802/tomcat-with-a-new-configuration-is-throw.html