Author |
Message
|
Mark |
Posted: Thu Feb 13, 2003 8:45 pm Post subject: Java Corba Agent - Activity Implimentation does not run |
|
|
Acolyte
Joined: 30 Dec 2001 Posts: 55
|
Hi
I am having JAVA CORBA Agent configured with LOCATOR Policy JNDI.
When I call workItem.start() it changes the WorkItem state from READY to
RUNNING , But Activity Implimentation does not Run. The workItem state always remain in RUNNING ..
Well can any body help me to solve the problem......
Below is the SET UP Information.
The MQWF System Information is
MQWF Version -3.3.0.5
OS - AIX
Java Corba Agent Locator Policy- JNDI
MQWF Installation Type - Stand Alone
Thnx in Advance |
|
Back to top |
|
 |
jmac |
Posted: Fri Feb 14, 2003 7:03 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Mark:
Why don't you try this first with LocatorPolicy Agent.LOC_LOCATOR, this would be the normal environment for a StandAlone setup anyway. Then if there is still a problem, you should post your code and maybe someone can spot the problem. If LOC_LOCATOR works for you, then you probably have some problem with your agent configuration. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Mark |
Posted: Wed Feb 19, 2003 2:31 pm Post subject: |
|
|
Acolyte
Joined: 30 Dec 2001 Posts: 55
|
Hi John ,
There was two problem
1.Activity Implemenation not Running -That is solved . I was missing some
parameter for Program Definition.
2. WorkItem State in RUNNING only - This is still open.
The Activity Implementation Runs properly.
A. Calls EJB and returns successfully from EJB
B.Set the value "_RC" to 0
C.Set the Output container.
But the state still remains to be RUNNING.Is |
|
Back to top |
|
 |
jmac |
Posted: Wed Feb 19, 2003 2:36 pm Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Mark wrote: |
Hi John ,
2. WorkItem State in RUNNING only - This is still open.
The Activity Implementation Runs properly.
A. Calls EJB and returns successfully from EJB
B.Set the value "_RC" to 0
C.Set the Output container.
But the state still remains to be RUNNING.Is |
How are you starting this activity? Are you using a fat client with a PEA?
What you are describing is quite unusual for a PEA started activity. You need to tell us a little bit more about your environment. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
Mark |
Posted: Thu Feb 20, 2003 9:57 am Post subject: |
|
|
Acolyte
Joined: 30 Dec 2001 Posts: 55
|
Hi John ,
Yeah we have FAT Client with PEA.If we are wrong with the SETUP and using workflow in improper way , Pls correct us.
We have installed following component in single AIX Box.
1. MQSeries Server 5.2
2. MQWF 3.2.2
3. WebSphere 3.5.6
For configuration FMC settings.
1.Java Corba Agent with locator Policy as JNDI
2.RunTime Db DB2 in same AIX Box.
We have java Application which runs on same Box where MQWF and WAS is installed and startWorkItem for user.The workItem has got Activity Implementation as EJB Client .Inside Activity Implemenatation we take the get the Agent using call
objAgent.setLocator(Agent.LOC_LOCATOR);
and in the last set the "_RC" to 0.
Pls correct me if there is something wrong.
Thnx for your kind help. |
|
Back to top |
|
 |
jmac |
Posted: Thu Feb 20, 2003 10:03 am Post subject: |
|
|
 Jedi Knight
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
|
Mark:
I am confused by your configuration.
Why are you running Websphere? If you are using the fat client, there is no need for Websphere. _________________ John McDonald
RETIRED |
|
Back to top |
|
 |
|