Scripts containing Java Programs, vbs scripts and other executable files works fine while running from the command prompt but gives error while monitoring them from Applications Manager.

Scripts containing Java Programs, vbs scripts and other executable files works fine while running from the command prompt but gives error while monitoring them from Applications Manager.

Reason: Applications Manager on executing the script does not know the path for the java, cscript and other executable files.

Solution: To monitor the script, the path should be set within the script. If java is used inside the script,make sure that the class path is set for the java.

Add the below as the first line:

For Linux:
      export path=<path>

For Windows:
      set path=<path>


where <path> is the full path that you get when you type echo $path in Linux and echo %path% for Windows in the command prompt.

                    New to ADSelfService Plus?

                      • Related Articles

                      • Adding APM Insight Java agent in a Kubernetes environment

                        There are three methods for installing the APM Insight Java agent in a Kubernetes environment. Using Dockerfile Using InitContainers Using Persistent Volumes Prerequisites Download the latest APM Insight Java agent (apminsight-javaagent.zip) file. ...
                      • Applications Manager default tomcat is down

                        If your Tomcat Monitor is down, it could probably be due to changes in Hostname/IP address of the machine in which Applications Manager is installed. You can verify the same using the steps given below: Navigate to ...
                      • Self monitor Applications Manager using APM Insight Java Agent

                        Applications Manager is built with Java, hence we can monitor it using APM Insight Java Agent to measure it's performance continuously, which can be very much useful. Setting up APM Insight Java Agent Follow the below steps to download and set up the ...
                      • Self monitor Applications Manager using Real User Monitoring

                        We can monitor the Applications Manager using Real User Monitoring with a Java Script injection and this can be used to measure the Applications Manager's performance continuously. All you need is to install and setup the Real User Monitoring (RUM) ...
                      • How to manually uninstall Applications Manager?

                        Windows Shut Down Applications Manager (Ensure that the ManageEngine ApplicationsManager service has been stopped if it has been installed as a Windows service) Open a command prompt with administrator privileges, navigate go to the <Applications ...