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 confused about NOP.sh vs. NOP.dll

Post new topic  Reply to topic
 [SOLVED]Workflow confused about NOP.sh vs. NOP.dll « View previous topic :: View next topic » 
Author Message
praveenchhangani
PostPosted: Mon Jul 21, 2003 11:53 am    Post subject: [SOLVED]Workflow confused about NOP.sh vs. NOP.dll Reply with quote

Disciple

Joined: 20 Sep 2002
Posts: 192
Location: Chicago, IL

Folks,

I have a strange problem at hand. For some reason, my process model which happens to be running on my aix server keeps trying to load the windows NT nop.dll eventhough, under the definition of the program NOP, I have both the NOP.dll and the NOP.sh defined.

Code:
The error it displays is "FMC32001E The Dynamic Link Library d:\upes\nop.dll could not be loaded ." 


I have verified that the NOP.sh is in the directory on the aix server where it is supposed to be. So why is workflow getting confused with the NT stuff?

any help is appreciated.
_________________
Praveen K. Chhangani,

IBM Certified Solutions Designer -
MQ Workflow 3.4.
Back to top
View user's profile Send private message Send e-mail
praveenchhangani
PostPosted: Mon Jul 21, 2003 11:56 am    Post subject: Reply with quote

Disciple

Joined: 20 Sep 2002
Posts: 192
Location: Chicago, IL

Correction to my subject:

NOP.sh vs. NOP.dll
_________________
Praveen K. Chhangani,

IBM Certified Solutions Designer -
MQ Workflow 3.4.
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Mon Jul 21, 2003 12:41 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

I just tested what you were doing and I dont have any problem. Can you post your FDL?
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
praveenchhangani
PostPosted: Mon Jul 21, 2003 12:47 pm    Post subject: Reply with quote

Disciple

Joined: 20 Sep 2002
Posts: 192
Location: Chicago, IL

Here is the NOP that is being referenced:

Code:
PROGRAM 'NOP'
  STRUCTURES_FROM_ACTIVITY
  UNATTENDED
  AIX EXE PATH_AND_FILENAME "/workflow/programs/nop.sh"
    WORKING_DIRECTORY "/workflow/programs"
    INHERIT ENVIRONMENT
    DO NOT RUN_IN_XTERM
  WINNT DLL PATH_AND_FILENAME "d:\upes\nop.dll"
    ENTRY_POINT "NOP"
    KEEP_LOADED
    FENCED_MODE
END 'NOP'



And here is the program activity that is choking due to the NOP perhaps?

Code:
PROGRAM_ACTIVITY 'CollectActivity' ( 'Input', 'Output' )
    DESCRIPTION "Loan Number %LoanNumber%"
    START AUTOMATIC WHEN AT_LEAST_ONE CONNECTOR TRUE
    EXIT AUTOMATIC WHEN "CLReceived = ""True""" XPOS -645 YPOS 1095
    LAYOUT XPOS -620 YPOS 1220
    NAME_POSITION XPOS -642 YPOS 1132
    PRIORITY DEFINED_IN INPUT_CONTAINER
    DONE_BY PERSON 'ADMIN'
    CHECKOUT_POSSIBLE
    PROGRAM 'NOP'
    SYNCHRONIZATION NESTED
  END 'CollectActivity'


I am not sure why workflow is trying to invoke the windows dll instead of the AIX nop.sh. Could someone perhaps explain how this works.

I understand the fact that in buildtime, under the NT tab, one specifies the .dll file whereas on the AIX tab, he/she would specify the .sh file. Where I would like more detail is on how workflow is able to understand which is which and which one to invoke thereafter.

Getting a deeper understanding on that might lead to the solution of the above.

Thanks
_________________
Praveen K. Chhangani,

IBM Certified Solutions Designer -
MQ Workflow 3.4.
Back to top
View user's profile Send private message Send e-mail
Ratan
PostPosted: Mon Jul 21, 2003 1:05 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

This is why I believe it is not working for you.

you are probably trying to run the activity on a windows machine. If you are starting the process from a RTC which is on a Windows machine, the program will try to execute on a Windows machine.

You can get around this by assigning the Activity to a user XYZ and starting a PEA on the server under his ID.
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
jmac
PostPosted: Mon Jul 21, 2003 1:55 pm    Post subject: Reply with quote

Jedi Knight

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

praveenchhangani wrote:
I am not sure why workflow is trying to invoke the windows dll instead of the AIX nop.sh. Could someone perhaps explain how this works.

I understand the fact that in buildtime, under the NT tab, one specifies the .dll file whereas on the AIX tab, he/she would specify the .sh file. Where I would like more detail is on how workflow is able to understand which is which and which one to invoke thereafter.


Praveen:

As Ratan is indicating, MQWF decides which of the Platforms to use based on where the request is originating. Thus if you invoke from a client running on AIX it uses the AIX executable, and from a client on NT it uses the NT executable etc. Realize here that of I am speaking of a FAT client.

If you are not trying to run this from an NT box as Ratan is thinking, please post more information, as what you are indicating would be pretty strange.

Regards
_________________
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
praveenchhangani
PostPosted: Tue Jul 22, 2003 6:56 am    Post subject: Reply with quote

Disciple

Joined: 20 Sep 2002
Posts: 192
Location: Chicago, IL

You were both correct about this. It was indeed being invoked from a windows application which was causing the use of the NOP.dll vs. the NOP.sh. Thanks a bunch folks!
_________________
Praveen K. Chhangani,

IBM Certified Solutions Designer -
MQ Workflow 3.4.
Back to top
View user's profile Send private message Send e-mail
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 confused about NOP.sh vs. NOP.dll
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.