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

jbe -data flag sometimes ignored?

I had a problem with my JBE invocation. I was invoking is as follows:


/jbe -vm /opt/IBM/RTC_Client/jazz/client/eclipse/jdk/bin/java \
-repository https://$BUILDHOST/jazz -userId $JBEUID \
-passwordFile jbepass.txt -engineId buildengine2 \
-sleeptime 5 \
-data $DATADIR


I am running as a non-root user $JBEUID, $DATADIR is a dir that this user can write to.

Yes, I had an error in the log telling me that jbe could not create its .metadata dir in the default (root-owned) location. So the -data option seemed ignored.

I restarted the same command with the -data option right after the repository option:


/jbe -vm /opt/IBM/RTC_Client/jazz/client/eclipse/jdk/bin/java \
-repository https://$BUILDHOST/jazz -userId $JBEUID \
-data $DATADIR \
-passwordFile jbepass.txt -engineId buildengine2 \
-sleeptime 5


Now I see the .metadata being created in the right place in $DATADIR.

This test seems to show that -data is ignored if its the last parameter. Can someone please reproduce this test?

Thank you,

--Fred Mora

0 votes



One answer

Permanent link
I'm unable to reproduce the problem (using JBE from RTC 2.0.0.1 on Windows XP). The command line I'm using is:

jbe -vm c:\rtc-2.0.0.1\jazz\client\eclipse\jdk\bin\java -repository https://jazzdev.torolab.ibm.com:9443/jazz
-userId nedgar -pass <mypassword> -engineId engine1 -sleepTime 5 -data c:\temp\workspace


The workspace .metadata directory gets created under c:\temp\workspace as expected.

0 votes

Your answer

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

Question asked: Sep 23 '09, 11:20 a.m.

Question was seen: 5,542 times

Last updated: Sep 23 '09, 11:20 a.m.

Confirmation Cancel Confirm