Author |
Message
|
ushadenshah |
Posted: Thu May 29, 2003 1:19 am Post subject: Not Logged On Error |
|
|
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 |
|
 |
vennela |
Posted: Thu May 29, 2003 6:43 am Post subject: |
|
|
 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 |
|
 |
Ratan |
Posted: Thu May 29, 2003 8:22 am Post subject: |
|
|
 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 |
|
 |
ushadenshah |
Posted: Thu May 29, 2003 10:21 pm Post subject: |
|
|
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 |
|
 |
Andy |
Posted: Thu May 29, 2003 11:16 pm Post subject: |
|
|
 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 |
|
 |
Andy |
Posted: Thu May 29, 2003 11:22 pm Post subject: Re: Not Logged On Error |
|
|
 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 |
|
 |
Jamesmarley |
Posted: Fri May 30, 2003 3:19 am Post subject: |
|
|
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 |
|
 |
ushadenshah |
Posted: Fri May 30, 2003 4:40 am Post subject: |
|
|
Newbie
Joined: 23 Dec 2002 Posts: 8
|
will the refresh() on service solve the problem ?
Thanks,
Usha Shah |
|
Back to top |
|
 |
Andy |
Posted: Mon Jun 02, 2003 8:57 pm Post subject: |
|
|
 Centurion
Joined: 14 May 2003 Posts: 122
|
Have you found the solution? Pls share any useful information you got...
Thanks _________________
Andy |
|
Back to top |
|
 |
ushadenshah |
Posted: Mon Jun 02, 2003 10:26 pm Post subject: |
|
|
Newbie
Joined: 23 Dec 2002 Posts: 8
|
No solution yet !! _________________ Usha Shah |
|
Back to top |
|
 |
MaheshPN |
Posted: Tue Jun 03, 2003 2:04 pm Post subject: Not Logged On Error |
|
|
 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 |
|
 |
Ratan |
Posted: Tue Jun 03, 2003 2:15 pm Post subject: |
|
|
 Grand Master
Joined: 18 Jul 2002 Posts: 1245
|
Mahesh,
Take a look at the logon2 API call of ExecutionService. _________________ -Ratan |
|
Back to top |
|
 |
manoj |
Posted: Tue Jun 03, 2003 3:49 pm Post subject: |
|
|
 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 |
|
 |
|