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 » [SOLVED]FMC00011E Already logged on to the system

Post new topic  Reply to topic
 [SOLVED]FMC00011E Already logged on to the system « View previous topic :: View next topic » 
Author Message
FloridaSilverback
PostPosted: Tue May 18, 2004 12:11 pm    Post subject: [SOLVED]FMC00011E Already logged on to the system Reply with quote

Novice

Joined: 13 May 2004
Posts: 16

I'm trying to find out the best way to recover/eliminate an abandoned session.

Here's the situation I'm testing.

The Agent is used to acquire the service object and then logon.
Some processing takes place (Workflow API's) and then an exception occurs.
If the program ends the user is still considered to be logged on so when the next logon attempt is made, the error above is thrown.

Is there a way to recover or remove the previous user's session if the SessionID was not saved? If not, then does it mean the user's workflow session must be saved to recover the previous session?

I'm just testing now and do generate some errors that end the program before the service.logoff() is executed which leaves the session lingering. Since I'm just testing now I simply stop and start the Workflow Service and everything is fine. However I don't think this is a good solution especially when it's for real.

One solution I've tried was to issue the service.logoff() during any FmcException which seems to work but I'm not sure it is a good way to go. Also, just because an exception is thrown doesn’t mean that everything should have to start over.

It seems to me that the workflow session must be saved but wanted to get expert opinion.

Thanks,
Vince
Back to top
View user's profile Send private message
jmac
PostPosted: Tue May 18, 2004 1:01 pm    Post subject: Reply with quote

Jedi Knight

Joined: 27 Jun 2001
Posts: 3081
Location: EmeriCon, LLC

Whenever a human user is logging in, it should be with a "force" logon. I.E. use logon2 and SessionMode.PRESENT_HERE.
_________________
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
FloridaSilverback
PostPosted: Tue May 18, 2004 1:10 pm    Post subject: Reply with quote

Novice

Joined: 13 May 2004
Posts: 16

Thanks!

Put another one in the win column.
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 » [SOLVED]FMC00011E Already logged on to the system
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.