Page 1 of 1

Configuration Wizard: Apache Tomcat

Posted: Thu Aug 19, 2021 1:12 pm
by iboyd
When using the "Configuration Wizard: Apache Tomcat" for JMX a message at the bottom of the screen stated (see Tomcat_plugin_1.PNG):
To access the JMX ports directly from this server, please install Java.
You will also need to edit the CCM command definition for check_xi_java_as to include the absolute path of the java binary.

I am unable to find "check_xi_java_as" in "manage plugins". Do I need to install something or am I looking in the correct location?

Also once Java was installed the message went away (see Tomcat_plugin_2.PNG).

Re: Configuration Wizard: Apache Tomcat

Posted: Fri Aug 20, 2021 9:51 am
by pbroste
Hello @iboyd

Thanks for reaching out, the 'check_xi_java_as' string looks like this and can be found in the 'Core Configuration Manager' > [Commands] > use the search box on the upper-right (example; check_xi) and should be listed. If it is not please let us know. The command will look like the following:

Code: Select all

JAVA_ABS_PATH -Djava.class.path=$ARG2$:$USER1$/check_jvm.jar GenericASCheck $ARG1$
For $ARG2 you will define the java.class.path.

Thanks,
Perry

Re: Configuration Wizard: Apache Tomcat

Posted: Thu Aug 26, 2021 12:57 pm
by iboyd
I have added the path to the "check_xi_java_as command". We are getting an error of:
"(No output on stdout) stderr: execvp(JAVA_ABS_PATH, ...) failed. errno is 2: No such file or directory".

It appears the value isn't being read as this is the same error that came up prior to adding the absolute path to the "check_xi_java_as command". Is there something else that needs to be configured?

Re: Configuration Wizard: Apache Tomcat

Posted: Thu Aug 26, 2021 3:31 pm
by tgriep
A ticket was opened for this so we will be closing this post and answering the ticket.