Author |
Message
|
MQSerious |
Posted: Fri Oct 01, 2004 2:53 pm Post subject: [SOLVED]Authentication Exit (ad nauseam) |
|
|
Acolyte
Joined: 29 Mar 2004 Posts: 68 Location: At Large
|
I know there are hundreds of posts on this topic but I am stuck. On my Windows 2000 machine I have set the CLASSPATH with my JDK and the jar file with the exit. I have enabled RTAuthenticationExitTypeServer. I have tried to follow every instruction but I still get this:
2004-10-01, 17:19:52.120, fmczjvmi.cxx( 231) (00,Er,Kr), fmcamain(2672-1128), FmcJVMBase::Load, Java home directory not found; tried to find the executable "java". If this executable was found, it is checked if it is inside the directory tree of a JVM.
Looks like it can't find the JDK even though it is in the classpath. Any clues? Thx.
Last edited by MQSerious on Tue Oct 05, 2004 12:35 pm; edited 1 time in total |
|
Back to top |
|
 |
MQSerious |
Posted: Fri Oct 01, 2004 3:02 pm Post subject: |
|
|
Acolyte
Joined: 29 Mar 2004 Posts: 68 Location: At Large
|
What does the programming guide mean when it states that
Quote: |
...the CLASSPATH visible by the MQ Workflow administration server |
I assume this is the system CLASSPATH. The beginning of my classpath reads like this:
Quote: |
CLASSPATH=C:\Program Files\WebSphere\AppServer\java;c:\dev\exit\exit.jar... |
|
|
Back to top |
|
 |
jmac |
Posted: Sat Oct 02, 2004 4:51 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Check your environment variables for:
Code: |
JAVA_HOME=C:\PROGRA~1\IBM\WEBSPH~2\APPSER~1\java |
What it is complaining about is it can not find the JAVA command. In my case I am using the java environment under WAS so I am pointing to my java directory installed under WAS.
Of course, now once it finds the JAVA command, it has to locate the exit, so you may be in for some more nausea.
Good luck _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
texan |
Posted: Mon Oct 04, 2004 10:25 am Post subject: |
|
|
Acolyte
Joined: 25 Feb 2004 Posts: 74
|
Start workflow from command line (fmcamain) instead of starting it as a service. What I found is: If you run it as a service, it won't be able to read your classpath. |
|
Back to top |
|
 |
MQSerious |
Posted: Tue Oct 05, 2004 5:47 am Post subject: |
|
|
Acolyte
Joined: 29 Mar 2004 Posts: 68 Location: At Large
|
Finally got mqwf to load the auth exit. However, I cannot successfully invoke either logon3() or logon4(). I get: FMC00119E Not authorized
The manual states that this could be because the admin server cannot find the exit...doubt it since my trace file shows it was loaded successfully.
I gather starting mqwf from the cmd line might solve this. How do you start it from the cmd line? When I type "fmcamain" at the prompt I get:
The service process could not connect to the service controller. (0x427) |
|
Back to top |
|
 |
jmac |
Posted: Tue Oct 05, 2004 5:55 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
use:
fmcamain -c in a windows environment. Is your java command in the path? _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
MQSerious |
Posted: Tue Oct 05, 2004 12:32 pm Post subject: |
|
|
Acolyte
Joined: 29 Mar 2004 Posts: 68 Location: At Large
|
Yes it is. By the way John, the JDK that comes with WAS does not work with the authentication exit. Had to set my classpath to IBM JDK 1.4 to get the admin server to load my exit.
Thanks for your help!! |
|
Back to top |
|
 |
jmac |
Posted: Tue Oct 05, 2004 12:44 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
MQSerious wrote: |
Yes it is. By the way John, the JDK that comes with WAS does not work with the authentication exit. |
It works for me... and I run MQWF from the service not the command line.
The path I have includes this directory to locate the java command
C:\Program Files\IBM\WebSphere\AppServer\java\bin
The classpath I have includes these jars for MQWF:
C:\ZDrive\projects\_dependencies\fmcojagt.jar;
C:\ZDrive\Projects\_dependencies\AuthenticationExit.jar;
Not sure why it is not working for you. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|