Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

jazzmon behaving weirdly, help

 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.

0 votes

Comments

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 log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 42

Question asked: Jan 27 '14, 9:47 a.m.

Question was seen: 4,549 times

Last updated: Jan 27 '14, 11:58 a.m.

Confirmation Cancel Confirm