Author |
Message
|
djharte |
Posted: Mon Dec 16, 2002 7:10 am Post subject: Yet another issue - this time .... |
|
|
Apprentice
Joined: 02 Oct 2002 Posts: 26
|
Does anyone have experience of starting the PEA from the web client. I have followed the example in the docs to no avail. No error msgs either ......
WebClient.properties updated
CommandHandler=com.ibm.workflow.servlet.sample.StarterPEAHandler
StarterPEA=true
StarterUserID=STARTER
StarterPassword=password
and the user has been created (with supplied .fdl file).
log shows this :
Handler info: MQWF Sample - Start PEA for Web user V1.1
but no sign of the PEA.
As always any thoughts would be appreciated.
David |
|
Back to top |
|
 |
djharte |
Posted: Mon Dec 16, 2002 8:31 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2002 Posts: 26
|
For anyone else who falls victim to IBM's poor documentation, the following change was required to get this to work. The
StarterPEA=true
line must be in the servlet section of the webclient.properties file. The documentation simply stated :
Enable the PEA in WebClient.properties by adding the following line: StarterPEA=true
You must restart the Web Client to activate this change.
Regards,
David |
|
Back to top |
|
 |
jmac |
Posted: Mon Dec 16, 2002 8:39 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
One other issue that is documented is that the Program Activity must be unchecked for the attribute "Program activities can be checked out" on the Control tab of the Program activity.
David: Did you find this to be true? I have never really played much with this feature.
Thanks _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
djharte |
Posted: Wed Dec 18, 2002 2:48 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2002 Posts: 26
|
John,
"Program activities can be checked out" is unchecked by default in my env. I haven't checked what effect changing this might have.
I don't suppose you know how the PEA is supposed to work, if it executes activities for the user under which it is defined or if it executes all activities? I have tried changing the properties of the user used to start it in buildtime but have gotten inconsistent results, i.e if it is started with userid X and Y executes activities (implementations) then it executes them too - not what I want.
Thanks
David |
|
Back to top |
|
 |
jmac |
Posted: Wed Dec 18, 2002 5:26 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
David:
PEA is most definitely associated with a user. I.E. it will only run programs for a specific user.
To kill a running PEA use the supplied fmcxpsd utility
Code: |
fmcxpsd -u <userid> |
you will be prompted for the password for this user
The PEA may be started using the supplied fmcxspea utility
Code: |
fmcxspea -u <userid> |
_________________ John McDonald
RETIRED |
|
Back to top |
|
 |
djharte |
Posted: Wed Dec 18, 2002 7:36 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2002 Posts: 26
|
Thanks a lot John,
I don't think I was correctly killing my peas !
David |
|
Back to top |
|
 |
djharte |
Posted: Thu Dec 19, 2002 6:14 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2002 Posts: 26
|
John,
I tried killing the pea using the supplied command, as opposed to just killing the dos box. However, it still doesn't work, the PEA is killed but when I start the PEA as user X and user Y executes an activity it will run under X's PEA. Is it possible do you know that I have set permissions incorrectly in buildtime for the users ?. might this affect the PEA ?
Thanks
David |
|
Back to top |
|
 |
jmac |
Posted: Thu Dec 19, 2002 6:29 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
David:
We are in uncharted territory for me here. Not many people use PEA with the thin client. So realize that this is purely a guess.
There is a setting in the Program properties on the Data Tab in the "Inherit From System" group. The property is "Execution User" and it is inherited by default. What I would try is to remove the check from inherited and set the Execution User to Starter (I believe the default in the Domain is Agent). This may solve your problem.
Please report back on this, either way.
Thanks and GOOD LUCK. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
djharte |
Posted: Thu Dec 19, 2002 7:01 am Post subject: |
|
|
Apprentice
Joined: 02 Oct 2002 Posts: 26
|
John,
Thanks for the reply, I had already tried this option in fact, to no avail. I also tried setting "execution mode" as safe which didn't work either. Hmmm, not too sure what to do now.
Thanks
David |
|
Back to top |
|
 |
jmac |
Posted: Thu Dec 19, 2002 7:03 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Dave:
Best bet is to post to the IBM Newsgroup and hope for the Developers to answer. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|