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 » Not Logged On Error

Post new topic  Reply to topic
 Not Logged On Error « View previous topic :: View next topic » 
Author Message
ushadenshah
PostPosted: Thu May 29, 2003 1:19 am    Post subject: Not Logged On Error Reply with quote

Newbie

Joined: 23 Dec 2002
Posts: 8

Hi friends

I am getting the following error once in a while in my application when trying to access workflow items.

FMC38009E MQSeries Workflow API Error :
API Return Code : 106
Error Origin : /projects/fmc/drvs/lbld/v330/src/fmcjcitm.cxx, line 4526
Error Message : FMC00106E Not logged on
Nested Exception : None

This mainly happens during the performance test and also i have added an extra check of service.isLoggedOn which does return true before throwing this error

Please can someone help me with the different reasons why this error would occur.

Thanks,
Usha Shah
Back to top
View user's profile Send private message AIM Address
vennela
PostPosted: Thu May 29, 2003 6:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Usha:

How is your app(user) logging onto workflow. Using a web-client or a stand alone app.
Are you getting this error intermittently or every time you run the app.
Are you running multiple instances of the app at a time

Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ratan
PostPosted: Thu May 29, 2003 8:22 am    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Are you able to logon after the error? may be your session is expiring. Check you expiration interval.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
ushadenshah
PostPosted: Thu May 29, 2003 10:21 pm    Post subject: Reply with quote

Newbie

Joined: 23 Dec 2002
Posts: 8

The users are logging in using a stand alone application
and this error comes up only when we do a performance test with multiple users

Thanks,
Usha Shah
Back to top
View user's profile Send private message AIM Address
Andy
PostPosted: Thu May 29, 2003 11:16 pm    Post subject: Reply with quote

Centurion

Joined: 14 May 2003
Posts: 122

Is it sure that all users are using different userids to login when doing the performance test?

There are 3 modes of login using Execution Service object.

1. Present: It would not allow to login again if user is alredy logged in.
2.Present_Here:It would logoff any other existing session of the user and recent login call has no problem.
(Same as when you select FORCE option in FAT client login)
3.Default: It would create one more session for the same user if user is already logged in. Both execution service objects can communicate with server simultaneously.

We have basically 2 types of APIs when we login with Execution Service object.

1.Where we need to pass user name and password only.This API uses Present mode.
Active X: Logon
Java:Logon
2.Where we need to pass extra parameters for session mode and Absent Indicator
ActiveX:LogonWithOptions
Java:Logon2

You should use second one in your application and make sure that you are not using Present session mode in your login call.

Hope this helps!!
_________________
Andy


Last edited by Andy on Fri May 30, 2003 12:17 am; edited 1 time in total
Back to top
View user's profile Send private message
Andy
PostPosted: Thu May 29, 2003 11:22 pm    Post subject: Re: Not Logged On Error Reply with quote

Centurion

Joined: 14 May 2003
Posts: 122

ushadenshah wrote:

This mainly happens during the performance test and also i have added an extra check of service.isLoggedOn which does return true before throwing this error


If session mode is the problem then this should not happen.
_________________
Andy
Back to top
View user's profile Send private message
Jamesmarley
PostPosted: Fri May 30, 2003 3:19 am    Post subject: Reply with quote

Newbie

Joined: 30 May 2003
Posts: 3
Location: india

Not Logged On issue.
We tried an application for the inventry control flow where in we tried reusing the service object. This , i remember has resulted in a Not Logged On.
On investigation we found that there is no way you have control on the internal workflow sessionId that a service object has.
Reusing the service object is not a great idea.

happy logging.
Back to top
View user's profile Send private message
ushadenshah
PostPosted: Fri May 30, 2003 4:40 am    Post subject: Reply with quote

Newbie

Joined: 23 Dec 2002
Posts: 8

will the refresh() on service solve the problem ?

Thanks,
Usha Shah
Back to top
View user's profile Send private message AIM Address
Andy
PostPosted: Mon Jun 02, 2003 8:57 pm    Post subject: Reply with quote

Centurion

Joined: 14 May 2003
Posts: 122

Have you found the solution? Pls share any useful information you got...
Thanks
_________________
Andy
Back to top
View user's profile Send private message
ushadenshah
PostPosted: Mon Jun 02, 2003 10:26 pm    Post subject: Reply with quote

Newbie

Joined: 23 Dec 2002
Posts: 8

No solution yet !!
_________________
Usha Shah
Back to top
View user's profile Send private message AIM Address
MaheshPN
PostPosted: Tue Jun 03, 2003 2:04 pm    Post subject: Not Logged On Error Reply with quote

Master

Joined: 21 May 2003
Posts: 245
Location: Charlotte, NC

Quote:
3.Default: It would create one more session for the same user if user is already logged in. Both execution service objects can communicate with server simultaneously.

Hi Andy,
Can you explain more on third logon type? Is there any API for that ?

Thanks,

Mahesh
Back to top
View user's profile Send private message
Ratan
PostPosted: Tue Jun 03, 2003 2:15 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Mahesh,
Take a look at the logon2 API call of ExecutionService.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
manoj
PostPosted: Tue Jun 03, 2003 3:49 pm    Post subject: Reply with quote

Master

Joined: 30 Jan 2002
Posts: 237
Location: Virgina

You shouldn't be reusing the service object but you can reuse the sessionId.
Construct a service object and call setSessionContext(sessionId).
remember a sessionId is always associated with a userId. You can't use the same sessionId for a different user.
_________________
-manoj
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
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 » Not Logged On Error
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.