How to run a probe manually to debug it from the command line (java)
search cancel

How to run a probe manually to debug it from the command line (java)

book

Article ID: 67759

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM) Unified Infrastructure Management for Mainframe CA Unified Infrastructure Management SaaS (Nimsoft / UIM) CA Unified Infrastructure Management On-Premise (Nimsoft / UIM)

Issue/Introduction

To aid in troubleshooting java as well as c probes, you can start probes from the command line as well as via the IM interface. This can be very helpful for troubleshooting probe issues and/or determining why the probe will not start.

Environment

  • Release: DX UIM, any release
  • java probes

Cause

  • Troubleshoot JAVA probes

Resolution

Running a probe (in this case a java probe) in the foreground, please use the following syntax/form:

../../../jre\jre1.6.0_17/bin/java.exe -Xms32m -Xmx128m -Djava.library.path=../../../lib -jar qos_engine.jar

example:

C:\Program Files (x86)\Nimsoft\probes\slm\qos_engine>../../../jre\jre1.6.0_17/bin/java.exe -Xmx128m -Xms64m -Djava.library.path=../../../lib -jar qos_engine.jar

 

Here is another example:

Open a command window

cd C:\Program Files (x86)\Nimsoft\probes\service\automated_deployment_engine

Run this from command line

..\..\..\jre\jre8u282b08\bin\java.exe -Xmx128m -Xms64m -Djava.library.path=..\..\..\jre\jre8u282b08\lib -jar .\lib\automated_deployment_engine_v2-20.41.jar

Additional Information

How to start/debug a java probe from the command line.