Author |
Message
|
venkatesh1976 |
Posted: Tue Nov 26, 2002 2:22 am Post subject: Problem encountered while working on Work Items in RTC |
|
|
Apprentice
Joined: 11 Nov 2002 Posts: 26
|
Hi,
I have a problem while working on Work Items in RTC.
After I create the Process Instance when I'm trying to load
the Work Items,
the system does not invoke the executable files like
fmcsiyes.exe and notepad.exe.
Kindly help me in this regard.
I have already configured these exe's in the Buildtime Client.
Regards,
venkat |
|
Back to top |
|
 |
jmac |
Posted: Tue Nov 26, 2002 4:42 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
If you have the FDL for one of your program activities, post it here and perhaps we can see where you are going wrong. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
fbaril3 |
Posted: Tue Nov 26, 2002 6:08 am Post subject: |
|
|
Acolyte
Joined: 14 Jun 2002 Posts: 53
|
Hello,
Indeed, your fdl file would be useful.
Could you tell the state of your activity after you tried to run it ?
Is the state "InError" or is it another state for your activity in the RTC ?
THX. |
|
Back to top |
|
 |
jmac |
Posted: Tue Nov 26, 2002 8:18 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Venkat:
I dont know what you are doing wrong, as when I run your process it immediatly brings up notepad. Did you issue a CreateAndStart on the instance or just a Create? If only a create, now do a start and it will run.
One thing I do see is that I can never leave the first activity unless I get a value of 1 in _RC. I don't know how to do this with notepad. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
venkatesh1976 |
Posted: Tue Nov 26, 2002 7:59 pm Post subject: regarding RTC |
|
|
Apprentice
Joined: 11 Nov 2002 Posts: 26
|
Hi John,
When I run the Process Instance having the same FDL file,
it does not even invoke notepad.exe.
Is there any setting to be done ?
I have already given the command for executing notepad in the
Buildtime Client.
Kindly help me in this regard asap.
Thx in advance.
Venkat |
|
Back to top |
|
 |
venkatesh1976 |
Posted: Tue Nov 26, 2002 9:07 pm Post subject: regarding RTC problem |
|
|
Apprentice
Joined: 11 Nov 2002 Posts: 26
|
John,
My MQWorkflow server is running on a Windows NT environment.
Is there any kind of setup which needs to be done
so that the Workflow is aware of the exe's in NT ?
Regards,
Venkat |
|
Back to top |
|
 |
vennela |
Posted: Tue Nov 26, 2002 9:47 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
I don't think we need to set any env variables for invoking a notepad.
Can you invoke NOTEPAD.EXE on a command line.
Take a look at the samples which has an example using NOTEPAD.EXE
They should be in
<MQWFInstallDir>\SCENARIO
"Credit" and "Life" are te two samples provided for quick test using fat client.
Do you think your client is running?
Is PEA running?
Was any other workitem successful?
Venny |
|
Back to top |
|
 |
venkatesh1976 |
Posted: Tue Nov 26, 2002 11:13 pm Post subject: regarding Credit FDL |
|
|
Apprentice
Joined: 11 Nov 2002 Posts: 26
|
Hi Vennela,
I tried the sample using Credit FDL and still the exe's
in it are not invoked from the Runtime Client.
I have an NT setup.
One more thing how is the PEA (Program Execution Agent) started ?
Is it a separate process to be running ?
As I start the Runtime Client, it opens a console for creating work items,
templates and process instances.
Do let me know why the exe's are not executing ?
Regards,
Venkat |
|
Back to top |
|
 |
vennela |
Posted: Tue Nov 26, 2002 11:23 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
When you start the runtime client does another window open along with the runtime client.
Or else you can start a PEA using command line
fmcxspea -u=USERID [-p=PASSWORD] [-s=System] [-g=SystemGroup] [-y=Configuration] [-f]
Like at the command prompt say
fmcxspea -u=admin -p=password
It should say
"PEAStartup okay "
and another window should be opened.
After starting the PEA try invoking the workitem. It should work.
If your PEA is not started then there is no way that your exes are executed.
---
Venny |
|
Back to top |
|
 |
vennela |
Posted: Tue Nov 26, 2002 11:29 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
If the startup of PEA gives you an error then you may try this
Start the Runtime Client
Stop the PEA
Start the PEA
Invoke the WorkItem
To stop a PEA use "fmcxpsd "
---
Venny |
|
Back to top |
|
 |
jmac |
Posted: Wed Nov 27, 2002 6:35 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Venkat:
1. Are you using the IBM Fat client?
2. Is your process instance running? Look at the State in the Instance list if it is not "Running" that is your problem. If it is "Ready" use the Start action from the context menu.
3. As Venny said, is your PEA running? If you are using the IBM Fat client it will automatically start the PEA. It is a DOS shell with the title "IBM MQSeries Workflow PEA". If it is not started (I.E. if you don't see this DOS Shell) then that is your problem, use the command Venny indicated to Start the PEA.
4. What state is your workitem in? Look at the State in the Worklist. If it is "InError" then mostlikely Notepad.exe can not be found using the Path. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
venkatesh1976 |
Posted: Wed Nov 27, 2002 9:24 pm Post subject: Java Corba Agent |
|
|
Apprentice
Joined: 11 Nov 2002 Posts: 26
|
Hi John/Vennela,
Previous issue has been solved. Now we trying to start Java Corba Agent it is already been configured in the utility but we are unable to find MQSeries Workflow JavaAgent - FMC.
let us know for any information.
thanks in advance.
Venkat |
|
Back to top |
|
 |
vennela |
Posted: Wed Nov 27, 2002 10:17 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
What platform are you talking about.
Anyway why do you want to use CORBA Agent. It's deprecated. The sure way to go is Local Bindings.
What are you trying to do?
I am not sure if we have to explicitly start a CORBA agent.
---
Venny |
|
Back to top |
|
 |
venkatesh1976 |
Posted: Thu Nov 28, 2002 4:23 am Post subject: hi vennala |
|
|
Apprentice
Joined: 11 Nov 2002 Posts: 26
|
Hi Vennela,
I wanted to start the Java Agent as given in IBM Redbooks.
Programs ---->IBM MQSeries Workflow ------>
This is where Java Agent is there according to Redbooks.
But in my installed one, there is no Java Agent.
Is there anything wrong with my installation ?
Do enlighten,
Venkat |
|
Back to top |
|
 |
jmac |
Posted: Thu Nov 28, 2002 6:16 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Venkat:
As Venny says... use Local bindings. That will give you one less thing to worry about while you are trying to get up to speed on MQWF. IF you truly can not use Local bindings, you can go back later and set up your agent.
Take one thing at a time.  _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|