Author |
Message
|
fredla |
Posted: Fri May 20, 2005 6:35 am Post subject: AuthenticationExitTypeServer |
|
|
Novice
Joined: 17 Mar 2005 Posts: 16
|
I type the command:
fmczchk -c inst:m,RTAuthenticationExitTypeServer,JAVA -y fmc
to enable authexit.
But after the command is executed, I find the MQWorkFlow Service cannot be started. I checked fmcerr.log and it states the following things.
Related message = FMC31050E An error has occurred which has terminated processing.
Error location = File=e:\v350\src\fmcaauth.cxx, Line=154, Function=FmcAuthenticationExit::Init
Error data =
Exception Class : FmcExitException
Error ID : A1
Error Description :
No Java-Authentication Exit available: virtual machine could not be loaded.
I am using Windows 2003 and MQWorkflow 3.5. The java version is
j2sdk1.4.2_08.
I have set the Environment variables :
JAVA_HOME = C:\j2sdk1.4.2_08
PATH = %JAVA_HOME%\jre\bin;%JAVA_HOME%\jre\bin\classic
CLASSPATH = .;C:\PROGRA~1\IBM\SQLLIB\java\db2java.zip;C:\PROGRA~1\IBM\SQLLIB\java\db2jcc.jar;C:\PROGRA~1\IBM\SQLLIB\bin
Can anyone help? |
|
Back to top |
|
 |
vennela |
Posted: Fri May 20, 2005 6:53 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Is an auth exit present ?
If it is, is it in the CLASSPATH?
Is java in the PATH?
Have you tried starting workflow server from command line?
use something like
|
|
Back to top |
|
 |
fredla |
Posted: Fri May 20, 2005 7:38 am Post subject: |
|
|
Novice
Joined: 17 Mar 2005 Posts: 16
|
Well... I just copy all the classpath and the related files from another PC which can operate authexit without any problem.
Java and MQ Workflow are installed from CD.
So, I wonder why this problem exists... |
|
Back to top |
|
 |
fredla |
Posted: Fri May 20, 2005 7:41 am Post subject: |
|
|
Novice
Joined: 17 Mar 2005 Posts: 16
|
Is there any jar file that is related to this error line?
I am sure that the JAVA is installed in JAVA_HOME that I have listed above. But it still claims no JVM is found..... |
|
Back to top |
|
 |
jmac |
Posted: Fri May 20, 2005 7:54 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Can you go to a command prompt and type java -version and get the expected response?
If not Java is not in your path... this is by far the most common cause of the problem you are describing. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
fredla |
Posted: Fri May 20, 2005 5:28 pm Post subject: |
|
|
Novice
Joined: 17 Mar 2005 Posts: 16
|
It shows the following:
java version "1.4.2_08"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode) |
|
Back to top |
|
 |
fredla |
Posted: Fri May 20, 2005 6:01 pm Post subject: |
|
|
Novice
Joined: 17 Mar 2005 Posts: 16
|
I find the followings in the trace file.....
5/21/2005 9:47:52 AM FMC10100I Administration server starting.
5/21/2005 9:47:52 AM FMC10110I Administration server for system FMCSYS started.
5/21/2005 9:47:53 AM FMC10200I Execution server for system FMCSYS started.
5/21/2005 9:47:54 AM FMC10500I Execution server instance started.
5/21/2005 9:47:58 AM FMC10000I System startup complete. System FMCSYS in system group FMCGRP is now running.
5/21/2005 9:54:08 AM FMC10120I Administration server stopping.
5/21/2005 9:54:08 AM FMC10030W System is being shutdown.
5/21/2005 9:54:08 AM FMC10510I Execution server instance stopped.
5/21/2005 9:54:08 AM FMC10210I Execution server for system FMCSYS stopped.
5/21/2005 9:54:13 AM FMC10020I System FMCSYS in system group FMCGRP stopped.
5/21/2005 9:54:13 AM FMC10130I Administration server for system FMCSYS stopped.
-----------------------------
5/21/2005 9:54:44 AM FMC31050E An error has occurred which has terminated processing.
5/21/2005 9:54:44 AM
Exception Class : FmcExitException
Error ID : A2
Error Description :
No Java-Authentication Exit available: could not access authentication method. |
|
Back to top |
|
 |
fredla |
Posted: Sat May 21, 2005 1:21 am Post subject: |
|
|
Novice
Joined: 17 Mar 2005 Posts: 16
|
Thanks vennela!
I think I have made a typing mistake on th path for java.
But error still exits and have changed to:
Related message = FMC31050E An error has occurred which has terminated processing.
Error location = File=e:\v350\src\fmcaauth.cxx, Line=154, Function=FmcAuthenticationExit::Init
Error data =
Exception Class : FmcExitException
Error ID : A2
Error Description :
No Java-Authentication Exit available: could not access authentication method. |
|
Back to top |
|
 |
fredla |
Posted: Sat May 21, 2005 2:21 am Post subject: |
|
|
Novice
Joined: 17 Mar 2005 Posts: 16
|
execute fmcadmin -c y FMC results followings:
FMC10110I Administration server for system FMCSYS started.
java.lang.NoClassDefFoundError: com/ibm/workflow/java/exit/Authentication
5/21/2005 6:17:43 PM FMC31050E An error has occurred which has terminated processing. |
|
Back to top |
|
 |
fredla |
Posted: Sat May 21, 2005 3:07 am Post subject: |
|
|
Novice
Joined: 17 Mar 2005 Posts: 16
|
I have fixed.....
But I don't really know why.... I have not changed the location of any file and the classpath....
It seems that I have to stop the DB2 security server and start it again.
Can anyone tell me why? |
|
Back to top |
|
 |
|