|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
single threaded authentication exit |
« View previous topic :: View next topic » |
Author |
Message
|
angietong |
Posted: Fri Jan 30, 2004 10:56 am Post subject: single threaded authentication exit |
|
|
Newbie
Joined: 30 Jan 2004 Posts: 1 Location: Charlotte, NC
|
I was doing a stress test that simulates concurrent logins. The main program creates 100 threads to call logon4(). Logon4() passes user credentials to the authentication exit and I have coded the exit to call a web service to do custom authentication. For this purpose, I have just put a delay of 3 seconds in web service to simulate the latency in the call. After 55 successful logins, I get a Timeout error from logon4(). There were no errors written out in the exit log or in fmcsys.log nor in fmcerr.log. The Timeout exception is like this:
FMC38009E MQSeries Workflow API Error :
API Return Code : 14
Error Origin : e:\v340\src\fmcjsess.cxx, line 1597
Error Message : FMC00014E Timeout occurred
Nested Exception : None
If reduce the number of threads to 50, it works fine.
By the way, I am using java for the exit as well as the java client API to call logon4().
It looks like the auth exit is single threaded and IBM enters it synchronously, thus causing some login calls experience a timeout error.
My question: Is there any way to configure workflow to increase the timeout period before it will throw the exception?
I appreciate help anyone can give! _________________ Angie Tong
Workflow and Image Technologies
Wachovia Corporation |
|
Back to top |
|
 |
jmac |
Posted: Fri Jan 30, 2004 11:45 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Angie:
Have you tried using the setTimeout() method?
However, I am wondering why these logons are taking more than the default 3 minutes to complete. _________________ John McDonald
RETIRED |
|
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
|
|
|
|