It's all about the answers!

Ask a question

jazzmon behaving weirdly, help


sam detweiler (12.5k6186201) | asked Jan 27 '14, 9:47 a.m.
 I have written a wrapper script for jazzmon, for both windows and linux.  (windows using win 7).

monitor, start script again, then analyze, copy data to shared storage, end

both behave identically, with one jm.properties file. 

the dev machine was Ubuntu Linux, with a VM for Win 7. 

now at work on win 7 native, save the scripts & prop file from my usb disk, 
all systems using java 1.6_31, 64bit. 

on the work system 
1. monitor puts its data in JtsMonRuntime as requested. but Ananlyze looks for .\run0 even tho I said use JtsMonRuntime. 
2. the monitor phase doesn't return a return code to the batch script. %errorlevel% is empty

3. If I use the text ip address or our servers, logon fails. if I use the numeric ip address, it works perfectly. 
if I cut/paste the text url from the prop file to a browser it prompts for userid.  I have a java client app that uses the client apis and logs onto multiple servers without problem using the text url.


Comments
sam detweiler commented Jan 27 '14, 11:48 a.m. | edited Jan 27 '14, 11:58 a.m.

return code.. using delayed expansion, so need to use !varname! instead of %varname%


%varname% is evaluated when the script is read from disk before line 1 is executed..
!varname! is executed when THAT line is read. .
 

Be the first one to answer this question!


Register or to post your answer.