ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » isLoggedOn always return true

Post new topic  Reply to topic
 isLoggedOn always return true « View previous topic :: View next topic » 
Author Message
tsrisudh
PostPosted: Tue Aug 29, 2006 11:21 pm    Post subject: isLoggedOn always return true Reply with quote

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
View user's profile Send private message Yahoo Messenger
jmac
PostPosted: Wed Aug 30, 2006 7:15 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
ryro
PostPosted: Thu Aug 31, 2006 10:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Workflow Engines - IBM MQ Workflow & Business Process Choreographer » isLoggedOn always return true
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.