Author |
Message
|
mqwhelp |
Posted: Fri Jul 05, 2002 10:35 pm Post subject: Problem in Starting PEA |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 85 Location: TCS
|
Hi All,
I want to run the activity implemenation using Java API method named workitem.start();
Now to run java program as an activity implementation, I start program execution agent..
So next time when user try to start the workitem it will say PEA is already running.
If I don't start PEA then workitem goes in IN_ERROR state
In document its written ,even if a user logged out from seesion that does not mean
that PEA is shut down..
It is also not advisable to shut down PEA ..as some activity might be running ..
I would like to know how I can run a java program as an activity impln by calling the method
workitem.start() from application
Waiting for reply/suggestion |
|
Back to top |
|
 |
jmac |
Posted: Sat Jul 06, 2002 5:13 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
When your user logs in to your Workflow Client, you should start the PEA at that time (Like IBM Fat Client). Then when user selects start on a workitem, you simply issue the start() for the selected Workitem _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
mqwhelp |
Posted: Sat Jul 06, 2002 9:44 pm Post subject: |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 85 Location: TCS
|
Thanxs John..
Bur I have one query ..
When a use logs in workflow client I am starting PEA..
If user logs out should I need to sutdown PEA..In Praogramming guide it is written one should not shut down PEA as there could be possibility of any program running under PEA..whcih will stop in case it is shut down..
If I am not calling for shutdown PEA
then what happen if session times out..Does the same PEA can be active when user login once again..
Waiting for Reply |
|
Back to top |
|
 |
murlee_99 |
Posted: Sun Jul 07, 2002 6:35 pm Post subject: |
|
|
 Novice
Joined: 28 May 2002 Posts: 10 Location: NZ
|
If you haven't shut the pea down then you dont need to start it again when the user logs in for the next time.
If you have any problems in starting pea then you should use -f option, which clears the any hanging instances of pea.
ex :-
fmcxspea -u=ADMIN -p=password -f
cheers,
murali |
|
Back to top |
|
 |
mqwhelp |
Posted: Sun Jul 07, 2002 7:13 pm Post subject: |
|
|
Voyager
Joined: 20 Dec 2001 Posts: 85 Location: TCS
|
Thanks murali..
1.What happen when client sedsion time out..
Does the user pea will be running..still?
2. I am planning to start the PEA for the user and do not want to shutown ever thru my application as there could be any chance that any activity implemenatation might be running under PEA..
Is there any performance problem as Iam not going to shutdwon PEA.,
Please provide the alternate solution if there is any performance issues.
As you said I can start PEA by executing PEA with user and password...
Can I do it the same thing on AIX ,ie starting of PEA manually..as I have a requirement where a user is treated as DUMMY which will not be logged in as application user but I would like to start some default activity implemenation on behalf of this DUMMY user..
Waiting for reply.. |
|
Back to top |
|
 |
jmac |
Posted: Wed Jul 10, 2002 5:50 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
It is my opinion that using the PEA for an unattended long running session is bad. In the past there have been memory leak problems. Any time you have automatic activities you should seriously consider UPES implementation.
GOOD LUCK _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|