|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
[SOLVED]Authenticatoin Exit: Just can't seem to get it going |
« View previous topic :: View next topic » |
Author |
Message
|
ben harris |
Posted: Wed Jun 25, 2003 11:47 am Post subject: [SOLVED]Authenticatoin Exit: Just can't seem to get it going |
|
|
 Novice
Joined: 25 Jun 2003 Posts: 19
|
All,
I have read through the all the posts relating to Authentication Exit but I still can't seem to get my fmcamain to start with AuthExit turned on.
I always receive the exception:
Exception occurred: FmcExtException, MsgID=31050,MsgParam=, , , , , , , , Origin=File=e:\v332src\fmcaauth.cxx, Line=146,Function=FmcAuthenticationExit::Init(void*,long)
From existing posts, this would indicate that my jar containing my authentication code isn't in the class path for the fmcamain. But from what I can tell it is!?
Does anyone know another reason why this exception might get thrown from fmcamain?
Im running 3.3.2.4 on a Win2k system, with an AuthType of JAVA.
I would enjoy hearing from anyone who managed to get AuthExit working.
Thank you.
Ben |
|
Back to top |
|
 |
vennela |
Posted: Wed Jun 25, 2003 1:25 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Quote: |
From existing posts, this would indicate that my jar containing my authentication code isn't in the class path for the fmcamain |
This as far as I know is System CLASSPATH.
Here is something from the remarks in the sample provided with the product.
Code: |
// It is recommended to create a Java Archive file for the AuthenticationExit, e.g.:
//
// >jar -cvf fmcaexit.jar com
//
// You have to set the environment for the MQWF Administration Server correctly if you want
// to use the Exit:
//
// 1. Set the classpath in the environment the MQWF Administration Server is going to run in,
// e.g.:
// set classpath=D:\INFO\MQWF\AuthenticationExit\fmcaexit.jar;%classpath%
//
// NOTE: The file fmcojagt.jar must be available and part of the CLASSPATH!
//
// 2. Enable the Java AuthenticationExit by executing:
//
// fmczchk -c inst:m,RTAuthenticationExitTypeServer,JAVA -y <Cfg-ID>
//
// NOTE: To disable the AuthenticationExit use:
// fmczchk -c inst:m,RTAuthenticationExitTypeServer -y <Cfg-ID>
//
// 3. Make sure, that a Java 2 Runtime Environment is available in the MQWF Administration Server's
// environment.
//
// After (re-)starting the MQWF Administration Server the AuthenticationExit will be enabled
|
It is worth to take a look at the sample provided |
|
Back to top |
|
 |
jmac |
Posted: Wed Jun 25, 2003 2:58 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Please ensure that your jar containing your exit is higher in the classpath than the fmcoutil.jar. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
ben harris |
Posted: Fri Jun 27, 2003 7:47 am Post subject: got it going... not fully tested yet though |
|
|
 Novice
Joined: 25 Jun 2003 Posts: 19
|
JAVA AuthExit absolutly doesn't work with a jvm > 1.3.1.
It probably says something to this effect in the manual somewhere and I just missed it.
I changed my java_home to my 1.3.1 java installation and whoopi! My fmcamain started right up.
Thanks for your attention.
Ben |
|
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
|
|
|
|