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 » It's not Working

Post new topic  Reply to topic
 It's not Working « View previous topic :: View next topic » 
Author Message
Mark
PostPosted: Tue Jan 15, 2002 5:54 pm    Post subject: Reply with quote

Acolyte

Joined: 30 Dec 2001
Posts: 55

Hi All

I want to use Authentication Exit in Java Program. IBM has given a sample AuthExit
Java File (i.e. Authentication).
Problem is that this Java file implements to interface com.ibm.workflow.java.exit.AuthenticationConstants.
Problem is that it does not Exist.

Should I create it ( I did n't find all the method of this interface) ????

In method Logon3() we pass user credentials
as byte array. I didn't find any where what to specify and in what order there ???

Looking for help


[ This Message was edited by: Mark on 2002-03-28 14:42 ]
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Jan 16, 2002 7:20 am    Post subject: Reply with quote

Jedi Knight

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

It exists, just not where you might look. It is in the jar fmcoutil. The jar is with thin client jar in the bin subdirectory of MQWF.

_________________
John McDonald
SYSCOM Inc.
IBM Certified Solutions Expert -
MQSeries Workflow

[ This Message was edited by: jmac on 2002-01-16 09:33 ]
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Mark
PostPosted: Wed Jan 16, 2002 9:49 am    Post subject: Reply with quote

Acolyte

Joined: 30 Dec 2001
Posts: 55

Thnx John.


I got the file.But when I call logon3(byte [] ) It gives Exception FMC NOT AUTHORIZED
I have done RTAuthunticationTypeServer Setting to Java.Pls tell me what should I do
now.

Rgds
Mark


[ This Message was edited by: Mark on 2002-01-16 12:57 ]
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Jan 16, 2002 5:44 pm    Post subject: Reply with quote

Jedi Knight

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

Mark:

I need more info. What Version of MQWF?

Why Logon3 and not Logon4? I am assuming that you are using Java API.

Is your exit ever getting control?

Try writting something to a file in a static block so that we can be sure that your exit is getting control

_________________
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
Mark
PostPosted: Thu Jan 17, 2002 9:47 am    Post subject: Reply with quote

Acolyte

Joined: 30 Dec 2001
Posts: 55

My WorkFlow Version is 3.3
I have tried logon3() & Logon4() also.
No control does not reaches to Exit Class though I have made RTAuthenticationTypeServer setting As specified.


Rgds
Mark


[ This Message was edited by: Mark on 2002-01-17 09:55 ]
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jan 17, 2002 12:18 pm    Post subject: Reply with quote

Jedi Knight

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

Mark:

There are several gotchas here.

1) Has MQWF been brought down since your exit was installed. MQWF only checks for the exit at startup.

2) Do you have fmcoutil.jar in the path?

3) You must be certain that your exit is before fmchocli.jar in the Classpath, because for some unknown reason IBM has this class (Authenticate) in the fmchocli.jar.



_________________
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
Mark
PostPosted: Thu Jan 17, 2002 12:54 pm    Post subject: Reply with quote

Acolyte

Joined: 30 Dec 2001
Posts: 55

John Now I took care of all these points.
but still The Error is
API Return Code : 119
Error Message : FMC00119E Not authorized

1. When ever I modify the Exit ,I restart the
Mqwf Server
2.Yes fmcoutil.jar in my classpath.
3.I put fmcoutil.jar before fmcocli.jar

I checked the configuration from registry it
shows the RTAuthunticationTypeServer.

Pls suggest what should I do now.




[ This Message was edited by: mark on 2002-01-17 15:25 ]
Back to top
View user's profile Send private message
jmac
PostPosted: Thu Jan 17, 2002 4:44 pm    Post subject: Reply with quote

Jedi Knight

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

Mark:

In your note you do not indicate that you have YOUR Authenticate class in the CLASSPATH. It must be there or else the silly stub that IBM has in Their FMCHOCLI.JAR will get used.

_________________
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
anuppc
PostPosted: Thu Sep 30, 2004 5:33 pm    Post subject: Authentication Exit Reply with quote

Voyager

Joined: 22 Oct 2002
Posts: 93
Location: Montreal

Well i have the same error.. yes i have my authentication exit jar and fmcoutil.jar in the classpath.... i have restarted the server/my intel box.. tried all the obvious... logon 2 works... logon3 and logon4 (for the auth exit) does not work... it says FMC exception : Not Authorized.

im using MQWF 3.4 and MQ5.3

I have also tried using MQWF 3.4.4


Same result!

I 'm running the sample from IBM to check the authentication exit. Took it to another box having similar config and the same auth exit code works...
Any idea why it says : Not Authorized?

i see that Amit Talekar had similar prob b4...any inputs most welcome... tks
_________________
BlowFish
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
vennela
PostPosted: Fri Oct 01, 2004 6:46 am    Post subject: Reply with quote

Jedi Knight

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

Have you run fmczchk?
What platform?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
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 » It's not Working
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.