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 » Problem in Starting PEA

Post new topic  Reply to topic
 Problem in Starting PEA « View previous topic :: View next topic » 
Author Message
mqwhelp
PostPosted: Fri Jul 05, 2002 10:35 pm    Post subject: Problem in Starting PEA Reply with quote

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
View user's profile Send private message Send e-mail
jmac
PostPosted: Sat Jul 06, 2002 5:13 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
mqwhelp
PostPosted: Sat Jul 06, 2002 9:44 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
murlee_99
PostPosted: Sun Jul 07, 2002 6:35 pm    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
mqwhelp
PostPosted: Sun Jul 07, 2002 7:13 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
jmac
PostPosted: Wed Jul 10, 2002 5:50 am    Post subject: Reply with quote

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
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 » Problem in Starting PEA
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.