Page 1 of 1

User profile & device name limitation

Posted: Tue Sep 13, 2016 12:04 pm
by MegumiSawada
Hi,

I know we can configure LongRange(& aXes) to specify the device name for each IBM i user profile for LongRange.(In aXesTSUsers.conf).In that case, the only one session will be accepted for each user.

If user turns the device off without ending the session,the previous session(job) will remain active. Then if the user tries to connect LongRange server again, the following error will occur.
"Invalid server response: aXes TS Signon - ts.CheckUser(): Device TEST001 is already in use or not available"

I believe the only way to deal with this error is to wait for timeout because this is intended behavior.
Is my understanding correct?

Best Regards,
Megumi Sawada

Re: User profile & device name limitation

Posted: Tue Sep 13, 2016 4:15 pm
by MarkDuignan
If the 5250 job in QINTER is active because the user did not log out properly then it will not end until the job times out, or someone cancels it manually.
You can also set the timeout wait time in a configuration file.

Re: User profile & device name limitation

Posted: Tue Sep 13, 2016 4:28 pm
by MarkDuignan
Regarding "because this is intended behavior".
The IBM i operating system will only allow a 5250 device to be used by one job at a time.
So there is no real choice about the behavior here.
if you choose to associate a user with a single 5250 device, then being temporarily locked out is a potential consequence.
eg: I can imagine scenarios where this could happen with 'normal' 5250 emulation sessions as well.

Re: User profile & device name limitation

Posted: Tue Sep 13, 2016 6:23 pm
by MegumiSawada
HI Mark,

Thank you for your reply!

Best Regards,
Megumi