Author |
Message
|
Ramgathy |
Posted: Wed Apr 07, 2004 8:40 am Post subject: Authentication Exit-Error-Classpath |
|
|
Apprentice
Joined: 31 Oct 2003 Posts: 49
|
Hi,
I am working on Authentication exit.I tried it doing exactly as told by admin guide and also link in this forum Auth Exit Issue..
But i get this error..I beleive Authentication exit is not getting called..
com.ibm.workflow.api.FmcException:
FMC38009E MQSeries Workflow API Error :
API Return Code : 513
Error Origin : e:\v340\src\fmcjsess.cxx, line 1655
Error Message : FMC00513E Authentication exit reports error 91
Nested Exception : None
at com.ibm.workflow.api.loc.ExecutionServiceImpl.logon3(ExecutionServiceImpl.java:241)
at AuthenticationClient.main(AuthenticationClient.java:59)
In the documentation it says that CLASSPATH is set which is visible to workflow.What does it mean.I am working on win2k .itn't this set in the environment variable.
Initially i tried with ldap code..but now there is no ldap code..just normal hard code..
Can some one help out.
Regards,
VikRam |
|
Back to top |
|
 |
jmac |
Posted: Wed Apr 07, 2004 8:56 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
I am not sure what doc you are looking at, but this
Code: |
Error Message : FMC00513E Authentication exit reports error 91 |
leads me to believe that your exit is receiving control. I don't believe I have ever seen this error before. Check your return values from your exit against the sample code from IBM. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vennela |
Posted: Wed Apr 07, 2004 9:31 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
If you issue logon3 then auth exit should be called. Where are you getting this error. When you run the client program or in the fmcsys error logs? |
|
Back to top |
|
 |
Ramgathy |
Posted: Wed Apr 07, 2004 10:50 am Post subject: |
|
|
Apprentice
Joined: 31 Oct 2003 Posts: 49
|
John,
I tried to see return codes,but no luck.
Venny,
When i run the client program.How do i see FMC Error logs?
I put some system.out statements in Authentication class.They are not getting printed.Does it mean it is not getting invoked.My one more doubt what is the class path visible to WF Admin server?
Regards,
VikRam |
|
Back to top |
|
 |
jmac |
Posted: Wed Apr 07, 2004 11:10 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Ramgathy wrote: |
I put some system.out statements in Authentication class.They are not getting printed.Does it mean it is not getting invoked |
I generally write to a file as opposed to system.out.... I always have a problem figuring where to look for System.out info. This is especially true in Windows if you start using the service.
One other thing... you did activate the exit right?
Code: |
fmczchk -c inst:m,RTAuthenticationExitTypeServer,JAVA -y FMC |
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
vennela |
Posted: Wed Apr 07, 2004 12:26 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
The System.out's that are in the authentication exit are printed out in the admin utility if you keep it open. Logon to workflow using admin utility fmcautil. I don't know what happens to those otherwise.
If you start the workflow server from command line then they are printed out in the command window.
Quote: |
I generally write to a file as opposed to system.out |
I too think this is the best thing to do. |
|
Back to top |
|
 |
Ramgathy |
Posted: Thu Apr 08, 2004 3:01 pm Post subject: |
|
|
Apprentice
Joined: 31 Oct 2003 Posts: 49
|
Thanks John and Nenny..
Sample is implemented Successfully,But i still neded to build LDAP Code in to the authentication code.
Does any one know how to authenticate against LDAP.I hear a lot about kerberos authentication.
What i did was:
1.I checked retun codes and made sure they follow in the lines of Sample.
2.Authentication.class is in com.ibm.workflow.java.exit package.
3.put the above package in fmcaexit.jar file or what ever u name it to be
4.put fmcaexit.jar in system classpath.I am on win2k proff .i put it in environment variable-classpath
5.make sure fmcojagt.jar file is also in class path
6.make sure that WF Admin server(WF Server as a whole) is running.
7.enable java exit wit this command
fmczchk -c inst:m,RTAuthenticationExitTypeServer,JAVA -y FMC
8.Restart the WF Server or restart computer.
9.Run ur client.
10.To see if exit is called write some statements into a file in authentication.java file to make sure to see if it's working(as John Pointed out above in this section).
I have n't started connecting to ldap and authenticating against it .
If any one can help me out in this regard that would be great.
Regards,
VikRam |
|
Back to top |
|
 |
|