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 » Authentication Exit

Post new topic  Reply to topic
 Authentication Exit « View previous topic :: View next topic » 
Author Message
MaheshPN
PostPosted: Wed Feb 11, 2004 10:22 am    Post subject: Authentication Exit Reply with quote

Master

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

Hi Guys,
I am trying to implement Authentication exit.
The steps I followed are

1. copied the Authentication.java,AuthenticationConstants.java and java files in the 'sample' directory to c:\auth\com\ibm\workflow\java\exit

2.From the c:\auth directory, I compiled using
javac -classpath c:\IBM\workflow\bin\JAVA3404\fmcojagt.jar com\ibm\workflow\java\exit\sample\*.java

javac -classpath c:\IBM\workflow\bin\JAVA3404\fmcojagt.jar;. com\ibm\workflow\java\exit\Authentication.java

3.created the jar file using
jar -cvf fmcaexit.jar com

copied the jar file in to c:\bos directory.

4.updated the system classpath..

C:\bos\fmcaexit.jar;C:\IBM\Workflow\BIN\JAVA3404\fmcojagt.jar;C:\IBM\Workflow\BIN\fmcoutil.jar

5.java -version will give me

java version "1.3.1"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1)
Classic VM (build 1.3.1, J2RE 1.3.1 IBM Windows 32 build cn131-20021107 (JIT enabled: jitc))

6. Enabled the Authentication exit using
fmczchk -c inst:m,RTAuthenticationExitTypeServer,JAVA -y BOS1

7. Bounsed the WF server.

It gives and error like 'Could not start the admin server'
Application log says
FMC31050E An error has occurred which has terminated processing.

.Excepti
0008: 6f 6e 20 43 6c 61 73 73 on Class
0010: 20 3a 20 46 6d 63 45 78 : FmcEx
0018: 69 74 45 78 63 65 70 74 itExcept
0020: 69 6f 6e 20 0a 45 72 72 ion .Err
0028: 6f 72 20 49 44 20 3a 20 or ID :
0030: 41 31 0a 45 72 72 6f 72 A1.Error
0038: 20 44 65 73 63 72 69 70 Descrip
0040: 74 69 6f 6e 20 3a 20 0a tion : .
0048: 4e 6f 20 4a 61 76 61 2d No Java-
0050: 41 75 74 68 65 6e 74 69 Authenti
0058: 63 61 74 69 6f 6e 20 45 cation E
0060: 78 69 74 20 61 76 61 69 xit avai
0068: 6c 61 62 6c 65 3a 20 76 lable: v
0070: 69 72 74 75 61 6c 20 6d irtual m
0078: 61 63 68 69 6e 65 20 63 achine c
0080: 6f 75 6c 64 20 6e 6f 74 ould not
0088: 20 62 65 20 6c 6f 61 64 be load
0090: 65 64 2e 0a ed..

fmcsys log shows

2/11/2004 1:17:13 PM FMC31050E An error has occurred which has terminated processing.
2/11/2004 1:17:13 PM
Exception Class : FmcExitException
Error ID : A1
Error Description :
No Java-Authentication Exit available: virtual machine could not be loaded.

Fmcerr.log shows
WebSphere MQ Workflow 3.4 Error Report

Report creation = 2/11/2004 1:17:13 PM
Related message = FMC31050E An error has occurred which has terminated processing.


Error location = File=e:\v340\src\fmcaauth.cxx, Line=161, Function=FmcAuthenticationExit::Init
Error data =
Exception Class : FmcExitException
Error ID : A1
Error Description :
No Java-Authentication Exit available: virtual machine could not be loaded.



Any Idea where I went wrong?

My system configuration is
window2k, WF 3.4 service pac 4

Thanks in advance!!!!

-Mahesh
Back to top
View user's profile Send private message
jmac
PostPosted: Wed Feb 11, 2004 12:43 pm    Post subject: Reply with quote

Jedi Knight

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

If you are starting MQWF as a service, I think you need to reboot windows so that it will pick up the new classpath. I know this happened to me sometime in the past but it may have been NT
_________________
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
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 » Authentication Exit
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.