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 » [SOLVED]Workflow server can't load Authentication exit onAIX

Post new topic  Reply to topic
 [SOLVED]Workflow server can't load Authentication exit onAIX « View previous topic :: View next topic » 
Author Message
muralihegde
PostPosted: Mon Nov 17, 2003 10:56 pm    Post subject: [SOLVED]Workflow server can't load Authentication exit onAIX Reply with quote

Centurion

Joined: 30 Apr 2002
Posts: 108

Hi,
We have implemented authentication exit, by modifying the sample Authentication class. we have packaged the class as specified into a jar called fmcaexit.jar.
On Win 2000, the env variable for system, CLASSPATH contains the path for this jar and workflow server is able to pick this up and we have tested the logon4 API calls to confirm that the authentication exit is working.
We are trying to set up this on RS6000(AIX) box. We have done a binary ftp of the fmcaexit.jar and set the CLASSPATH of the userid fmc. But workflow server does not start. The Admin server starts and then goes down.
Strangely the fmcsys.log does not show any entry..bcz we believe the admin server terminates even before it can write the entry in the log. However, a tail -f fmcsys.log shows an entry of a line "-----" only each time the admin server starts..
On Win2000, if we remove the entry from classpath, the event viewer celarly shows the error, can not load authentication exit..
It would be of great help if anybody can offer suggestion as how to make the exit visible to the workflow server..
We are using MQWF version 3.4 with SP3 on both NT and AIX.

Thanks in advance...


Last edited by muralihegde on Fri Nov 28, 2003 12:36 am; edited 1 time in total
Back to top
View user's profile Send private message Yahoo Messenger
jmac
PostPosted: Tue Nov 18, 2003 5:36 am    Post subject: Reply with quote

Jedi Knight

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

Make sure that your PATH contains java.

Also, if that is already the case, post any messages from fmcsys.log.
_________________
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
muralihegde
PostPosted: Wed Nov 19, 2003 1:49 am    Post subject: Reply with quote

Centurion

Joined: 30 Apr 2002
Posts: 108

Hi,
We are using the user id - fmc and verified that this user Id PATH has java. Unfortunately there are no entries appearing in the fmcsys.log other than this line for each attempt to start the workflow.

entires in fmcsys.log just after we normally shutdown workflow when authentication exit is NOT YET enabled..

/var/fmc/cfgs/FMC/log:>tail -f fmcsys.log
11/19/03 03:35:58 FMC10510I Execution server instance stopped.
11/19/03 03:35:58 FMC10210I Execution server for system FMCSYS stopped.
11/19/03 03:36:03 FMC10020I System FMCSYS in system group FMCGRP stopped.
11/19/03 03:36:03 FMC10130I Administration server for system FMCSYS stopped.


Output when we try to start the workflow after enabling the authentication exit..

/var/fmc/cfgs/FMC/log:>fmcamain -y fmc&
[1] 44714
/var/fmc/cfgs/FMC/log:>FMC10110I Administration server for system FMCSYS started.

[1] + Done(11) fmcamain -y fmc&

This is the content of fmcsys.log after the exit is ENABLED.

/var/fmc/cfgs/FMC/log:>tail -f fmcsys.log
11/19/03 03:35:58 FMC10510I Execution server instance stopped.
11/19/03 03:35:58 FMC10210I Execution server for system FMCSYS stopped.
11/19/03 03:36:03 FMC10020I System FMCSYS in system group FMCGRP stopped.
11/19/03 03:36:03 FMC10130I Administration server for system FMCSYS stopped.

-----------------------------

-----------------------------

-----------------------------


only the 3 lines are after we enable the exit where as the entries before that are for normal shut down when exit is not enabled..

-Any suggestions/thoughts apperciated..
-Murali
Back to top
View user's profile Send private message Yahoo Messenger
muralihegde
PostPosted: Thu Nov 27, 2003 2:19 am    Post subject: Reply with quote

Centurion

Joined: 30 Apr 2002
Posts: 108

Hi All,
We had to remove the SP3 for workflow and install only WF3.4.0 on the AIX system(This was done to address a different problem).. Even now we are having problem enabling the authentication exit..

But now the error message while starting workflow is different !

/var/fmc/cfgs/FMC/log:>fmcamain -y fmc &
[1] 35680
/var/fmc/cfgs/FMC/log:>FMC10110I Administration server for system FMCSYS started.

FmcAssertionException, Condition=*** Pre-condition failed in /projects/fmc/drvp/lbld/v340/src/fmckse
m.cxx(131): _pImpl != 0, Origin=File=/projects/fmc/drvp/lbld/v340/src/fmckdbg.cxx, Line=153, Functio
n=fmckRequire(const char *, const char *, unsigned int)

[1] + Done fmcamain -y fmc &
/var/fmc/cfgs/FMC/log:>


does anyone have a clue as to what might be missing?

-Murali
Back to top
View user's profile Send private message Yahoo Messenger
muralihegde
PostPosted: Thu Nov 27, 2003 11:32 pm    Post subject: [Solved]Workflow server can't load Authentication exit AIX Reply with quote

Centurion

Joined: 30 Apr 2002
Posts: 108

Hi All,
Finally the mystery got solved after a bit of search in google! and this forum.
step 1. We had to point the java to Version 1.3.1 (earlier it was 1.1.8 )
Now got the error "can not dlopen libjava.a"
Step 2. Put both the directories (the one containing libjava.a and its parent directory in the LIBPATH"

This solved the problem and workflow server is able to load the authentication exit..
-Murali
Back to top
View user's profile Send private message Yahoo Messenger
stubie
PostPosted: Mon Dec 08, 2003 7:37 am    Post subject: Further info Reply with quote

Novice

Joined: 05 Nov 2001
Posts: 14
Location: Charlotte, NC

I had to add the following to my LIBPATH:

/usr/java131/jre/bin:/usr/java131/jre/bin/classic

/usr/java131/jre/bin contains libjava.a
/usr/java131/jre/bin/classic contains libjvm.a, which libjava.a needs.
Back to top
View user's profile Send private message
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 » [SOLVED]Workflow server can't load Authentication exit onAIX
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.