AnsweredAssumed Answered

Command Line Workstation interactive mode

Question asked by richardgreen_SSA on Jun 20, 2018
Latest reply on Jun 26, 2018 by Lynn_Williams

If I invoke Command Line Workstation in interactive mode in the following manner:
"cat input.txt | java $MY_OPTIONS -jar CLWorkstation.jar > output.txt

 

The output file contains the correct result for the first command contained in the input file followed by:
"Unable to connect to the Enterprise Manager XYZ"

input.txt:
list agents matching (.*)Agent1(.*)
list agents matching (.*)Agent2(.*)
----------------------------------------------

 

output.txt:

Host|Process|Agent1
Unable to connect to the Enterprise Manager XYZ:5001

 

DEBUG mode logging indicates that CLW is trying to connect a new Workstation instance instead of "re-using" the old connection :

Caused by: com.wily.isengard.messageprimitives.MaxMomsExceededException: MOM connection from Node=Workstation_1223, Address=Blah, Type=socket was rejected since the clamp value of 1 has been reached

 

 

 

Outcomes