It's all about the answers!

Ask a question

RTC SCM CLI is disconnected from daemon


Mickey Roash (9021616) | asked Sep 11 '11, 3:56 p.m.
retagged Jun 04 '12, 10:13 a.m. by Evan Hughes (2.4k1318)
Hi ,
I am trying to use CLI to do some action on
first I run this command
lscm login -r https://jazzop05.rtp.raleigh.ibm.com:9943/jazz -n local -u mickeyr@il.ibm.com -c

after one or two commands
e.g. llscm -a y list streams -r local
I am getting the following error:

L:\StmOO\RTC\7531>lscm status -d L:\StmOO\RTC\7531
Problem running 'status':
Could not login to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as "mickeyr@i
l.ibm.com". Already logged in as "MICKEYR@il.ibm.com". Run "lscm logout" and retry.

this is the output of the commands that I execute after this error

L:\StmOO\RTC\7531> lscm ls cred -v
# uri, user id, repository nickname, password stored
https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/, mickeyr@il.ibm.com, local, <No>, <No>, <Password>

L:\StmOO\RTC\7531>scm ls daemon
Port Description
54942 Jazz CLI (3.0.1.v20110602_1036)
L:\StmOO\RTC\7531

Can please advice what I am doing wrong ?

Thanks,
Mickey

5 answers



permanent link
Mickey Roash (9021616) | answered Sep 14 '11, 4:44 p.m.
Hi ,
I tried again with uppercase ID and now it is NOT disconnected!!!
I probably did typo on the password .
I do not know why the "lscm login" command working with both uppercase and lowercase ID ,but I am happy now .

Thanks,
Mickey


The scm cli checks whether the logged in user id is the same as the one inferred from the sandbox (for the status command) or inferred from the "-r" option if it was specified. As mentioned earlier the repository returned user id has a different case and the compare fails.

I am not sure why the first couple of subcommands pass. Once the subcommand fails with the error does the earlier commands that used to work still pass if you try it again?

Hi ,

Can someone advice ?
Thanks,
Mickey

Hi ,
I am using RTC 3.0.1 :
it did not help,
this what I get when tried with uppercase:


C:\Windows\system32>lscm login -r ttps://jazzop05.rtp.raleigh.ibm.com:9943/jazz
-n local -u MICKEYR@il.ibm.com -c
Password (MICKEYR@il.ibm.com @ https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/):

Problem running 'login':
Could not log in to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as user MICK
EYR@il.ibm.com: CRJAZ0124I Invalid username or password.

anyway,
My problem was that I was able to login successfully and even run one or two commands ,but after that it gave me the error that I mention in the first thread " Already logged in as ...."

Thanks,
Mickey



The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com).

Can you try login with MICKEYR@il.ibm.com? Which version of rtc client are you using?

Hi ,
I am trying to use CLI to do some action on
first I run this command
lscm login -r https://jazzop05.rtp.raleigh.ibm.com:9943/jazz -n local -u mickeyr@il.ibm.com -c

after one or two commands
e.g. llscm -a y list streams -r local
I am getting the following error:

L:\StmOO\RTC\7531>lscm status -d L:\StmOO\RTC\7531
Problem running 'status':
Could not login to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as "mickeyr@i
l.ibm.com". Already logged in as "MICKEYR@il.ibm.com". Run "lscm logout" and retry.

this is the output of the commands that I execute after this error

L:\StmOO\RTC\7531> lscm ls cred -v
# uri, user id, repository nickname, password stored
https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/, mickeyr@il.ibm.com, local, <No>, <No>, <Password>

L:\StmOO\RTC\7531>scm ls daemon
Port Description
54942 Jazz CLI (3.0.1.v20110602_1036)
L:\StmOO\RTC\7531

Can please advice what I am doing wrong ?

Thanks,
Mickey

permanent link
Shashikant Padur (4.2k27) | answered Sep 14 '11, 10:56 a.m.
JAZZ DEVELOPER
The scm cli checks whether the logged in user id is the same as the one inferred from the sandbox (for the status command) or inferred from the "-r" option if it was specified. As mentioned earlier the repository returned user id has a different case and the compare fails.

I am not sure why the first couple of subcommands pass. Once the subcommand fails with the error does the earlier commands that used to work still pass if you try it again?

Hi ,

Can someone advice ?
Thanks,
Mickey

Hi ,
I am using RTC 3.0.1 :
it did not help,
this what I get when tried with uppercase:


C:\Windows\system32>lscm login -r ttps://jazzop05.rtp.raleigh.ibm.com:9943/jazz
-n local -u MICKEYR@il.ibm.com -c
Password (MICKEYR@il.ibm.com @ https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/):

Problem running 'login':
Could not log in to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as user MICK
EYR@il.ibm.com: CRJAZ0124I Invalid username or password.

anyway,
My problem was that I was able to login successfully and even run one or two commands ,but after that it gave me the error that I mention in the first thread " Already logged in as ...."

Thanks,
Mickey



The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com).

Can you try login with MICKEYR@il.ibm.com? Which version of rtc client are you using?

Hi ,
I am trying to use CLI to do some action on
first I run this command
lscm login -r https://jazzop05.rtp.raleigh.ibm.com:9943/jazz -n local -u mickeyr@il.ibm.com -c

after one or two commands
e.g. llscm -a y list streams -r local
I am getting the following error:

L:\StmOO\RTC\7531>lscm status -d L:\StmOO\RTC\7531
Problem running 'status':
Could not login to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as "mickeyr@i
l.ibm.com". Already logged in as "MICKEYR@il.ibm.com". Run "lscm logout" and retry.

this is the output of the commands that I execute after this error

L:\StmOO\RTC\7531> lscm ls cred -v
# uri, user id, repository nickname, password stored
https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/, mickeyr@il.ibm.com, local, <No>, <No>, <Password>

L:\StmOO\RTC\7531>scm ls daemon
Port Description
54942 Jazz CLI (3.0.1.v20110602_1036)
L:\StmOO\RTC\7531

Can please advice what I am doing wrong ?

Thanks,
Mickey

permanent link
Mickey Roash (9021616) | answered Sep 13 '11, 4:10 p.m.
Hi ,

Can someone advice ?
Thanks,
Mickey

Hi ,
I am using RTC 3.0.1 :
it did not help,
this what I get when tried with uppercase:


C:\Windows\system32>lscm login -r ttps://jazzop05.rtp.raleigh.ibm.com:9943/jazz
-n local -u MICKEYR@il.ibm.com -c
Password (MICKEYR@il.ibm.com @ https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/):

Problem running 'login':
Could not log in to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as user MICK
EYR@il.ibm.com: CRJAZ0124I Invalid username or password.

anyway,
My problem was that I was able to login successfully and even run one or two commands ,but after that it gave me the error that I mention in the first thread " Already logged in as ...."

Thanks,
Mickey



The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com).

Can you try login with MICKEYR@il.ibm.com? Which version of rtc client are you using?

Hi ,
I am trying to use CLI to do some action on
first I run this command
lscm login -r https://jazzop05.rtp.raleigh.ibm.com:9943/jazz -n local -u mickeyr@il.ibm.com -c

after one or two commands
e.g. llscm -a y list streams -r local
I am getting the following error:

L:\StmOO\RTC\7531>lscm status -d L:\StmOO\RTC\7531
Problem running 'status':
Could not login to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as "mickeyr@i
l.ibm.com". Already logged in as "MICKEYR@il.ibm.com". Run "lscm logout" and retry.

this is the output of the commands that I execute after this error

L:\StmOO\RTC\7531> lscm ls cred -v
# uri, user id, repository nickname, password stored
https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/, mickeyr@il.ibm.com, local, <No>, <No>, <Password>

L:\StmOO\RTC\7531>scm ls daemon
Port Description
54942 Jazz CLI (3.0.1.v20110602_1036)
L:\StmOO\RTC\7531

Can please advice what I am doing wrong ?

Thanks,
Mickey

permanent link
Mickey Roash (9021616) | answered Sep 12 '11, 1:29 a.m.
Hi ,
I am using RTC 3.0.1 :
it did not help,
this what I get when tried with uppercase:


C:\Windows\system32>lscm login -r ttps://jazzop05.rtp.raleigh.ibm.com:9943/jazz
-n local -u MICKEYR@il.ibm.com -c
Password (MICKEYR@il.ibm.com @ https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/):

Problem running 'login':
Could not log in to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as user MICK
EYR@il.ibm.com: CRJAZ0124I Invalid username or password.

anyway,
My problem was that I was able to login successfully and even run one or two commands ,but after that it gave me the error that I mention in the first thread " Already logged in as ...."

Thanks,
Mickey



The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com).

Can you try login with MICKEYR@il.ibm.com? Which version of rtc client are you using?

Hi ,
I am trying to use CLI to do some action on
first I run this command
lscm login -r https://jazzop05.rtp.raleigh.ibm.com:9943/jazz -n local -u mickeyr@il.ibm.com -c

after one or two commands
e.g. llscm -a y list streams -r local
I am getting the following error:

L:\StmOO\RTC\7531>lscm status -d L:\StmOO\RTC\7531
Problem running 'status':
Could not login to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as "mickeyr@i
l.ibm.com". Already logged in as "MICKEYR@il.ibm.com". Run "lscm logout" and retry.

this is the output of the commands that I execute after this error

L:\StmOO\RTC\7531> lscm ls cred -v
# uri, user id, repository nickname, password stored
https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/, mickeyr@il.ibm.com, local, <No>, <No>, <Password>

L:\StmOO\RTC\7531>scm ls daemon
Port Description
54942 Jazz CLI (3.0.1.v20110602_1036)
L:\StmOO\RTC\7531

Can please advice what I am doing wrong ?

Thanks,
Mickey

permanent link
Shashikant Padur (4.2k27) | answered Sep 12 '11, 12:52 a.m.
JAZZ DEVELOPER
The userid that is stored in the local cache is all lower case (mickeyr@il.ibm.com) which is different from what is received when we query the repository (MICKEYR@il.ibm.com).

Can you try login with MICKEYR@il.ibm.com? Which version of rtc client are you using?

Hi ,
I am trying to use CLI to do some action on
first I run this command
lscm login -r https://jazzop05.rtp.raleigh.ibm.com:9943/jazz -n local -u mickeyr@il.ibm.com -c

after one or two commands
e.g. llscm -a y list streams -r local
I am getting the following error:

L:\StmOO\RTC\7531>lscm status -d L:\StmOO\RTC\7531
Problem running 'status':
Could not login to https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/ as "mickeyr@i
l.ibm.com". Already logged in as "MICKEYR@il.ibm.com". Run "lscm logout" and retry.

this is the output of the commands that I execute after this error

L:\StmOO\RTC\7531> lscm ls cred -v
# uri, user id, repository nickname, password stored
https://jazzop05.rtp.raleigh.ibm.com:9943/jazz/, mickeyr@il.ibm.com, local, <No>, <No>, <Password>

L:\StmOO\RTC\7531>scm ls daemon
Port Description
54942 Jazz CLI (3.0.1.v20110602_1036)
L:\StmOO\RTC\7531

Can please advice what I am doing wrong ?

Thanks,
Mickey

Your answer


Register or to post your answer.