|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
isLoggedOn always return true |
« View previous topic :: View next topic » |
Author |
Message
|
tsrisudh |
Posted: Tue Aug 29, 2006 11:21 pm Post subject: isLoggedOn always return true |
|
|
 Centurion
Joined: 11 Aug 2005 Posts: 113
|
Hi,
I am trying to reuse the ExecutionService in my application, i use the following API to login the first time
service.logon2(userId, password, SessionMode.DEFAULT, AbsenceIndicator.LEAVE);
After this is check
if (service.isLoggedOn()) reuse the same service
Problem is that the above check always returns true, and when i try to use the service it gives, Not Logged On error, am i doing something wrong, is it with the way i logon the first time?
Any inputs would be appreciated
My environment is MQWF 3.6, MQ 5.3 _________________ Srisudhir Tadepalli |
|
Back to top |
|
 |
jmac |
Posted: Wed Aug 30, 2006 7:15 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Perhaps what you really need to do is do a refresh() on the execution service prior to calling isLoggedOn() _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
ryro |
Posted: Thu Aug 31, 2006 10:54 pm Post subject: |
|
|
 Novice
Joined: 22 May 2006 Posts: 14
|
Check that the userId is correct, to log in with. Depending on what you want to do with the service, will determine what user needs to be logged on.
(are you doing an admin call, with a normal user ID?)
just a suggestion... |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|