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 » Yet another issue - this time ....

Post new topic  Reply to topic
 Yet another issue - this time .... « View previous topic :: View next topic » 
Author Message
djharte
PostPosted: Mon Dec 16, 2002 7:10 am    Post subject: Yet another issue - this time .... Reply with quote

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
View user's profile Send private message
djharte
PostPosted: Mon Dec 16, 2002 8:31 am    Post subject: Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Mon Dec 16, 2002 8:39 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
djharte
PostPosted: Wed Dec 18, 2002 2:48 am    Post subject: Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Wed Dec 18, 2002 5:26 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
djharte
PostPosted: Wed Dec 18, 2002 7:36 am    Post subject: Reply with quote

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
View user's profile Send private message
djharte
PostPosted: Thu Dec 19, 2002 6:14 am    Post subject: Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Thu Dec 19, 2002 6:29 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
djharte
PostPosted: Thu Dec 19, 2002 7:01 am    Post subject: Reply with quote

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
View user's profile Send private message
jmac
PostPosted: Thu Dec 19, 2002 7:03 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
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 » Yet another issue - this time ....
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.