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 » FMC00126E Program Execution Agent not running? Urgent reply?

Post new topic  Reply to topic
 FMC00126E Program Execution Agent not running? Urgent reply? « View previous topic :: View next topic » 
Author Message
hifive
PostPosted: Thu May 11, 2006 4:28 am    Post subject: FMC00126E Program Execution Agent not running? Urgent reply? Reply with quote

Acolyte

Joined: 06 May 2006
Posts: 52

///****************************************Error
ERRORcom.ibm.workflow.api.FmcException:
FMC38009E MQSeries Workflow API Error :
API Return Code : 126
Error Origin : e:\v350\src\fmcjccon.cxx, line 1196
Error Message : FMC00126E Program Execution Agent not running
//*******************************************
Code:

import com.ibm.workflow.api.*;
import com.ibm.workflow.api.ServicePackage.*;
import com.ibm.workflow.api.PersistentListPackage.*;


public class Readincontainers {
public static void main(String[] args) throws Exception, FmcException
{
ExecutionService service=null;
ExecutionAgent eAgent=null;
try {
Agent agent=new Agent();

agent.setLocator(Agent.LOC_LOCATOR);
agent.setName("siva");

service= agent.locate("FMCGRP","FMCSYS");
service.logon2("ADMIN","password",SessionMode.PRESENT_HERE,AbsenceIndicator.LEAVE);
service.logoff();
service.logon2("ADMIN","password",SessionMode.PRESENT,AbsenceIndicator.LEAVE);
System.out.println("Connected");

service.programExecutionAgentStartUp();
ReadOnlyContainer inctnr;
ContainerElement[][] members = new ContainerElement[10][];
ContainerElement[][] leaves = new ContainerElement[200][];
ContainerElement element = null;
eAgent=agent.getExecutionAgent() ;
inctnr = eAgent.inContainer();
System.out.println("\nReceived input container '" + inctnr.type() + "'\n");
int ulLeafCount = inctnr.allLeafCount();
System.out.println("\nReceived leaf count "+ ulLeafCount);
leaves[0]=inctnr.allLeaves();
service.programExecutionAgentShutDown();
element = leaves[0][0];
String membername,membertype;
for (int j=0; j < ulLeafCount; j++)
{
membername = element.fullName();
membertype =element.type();
System.out.println("name" +membername);
System.out.println("type"+membertype);
}

}
catch(FmcException e)
{
System.out.println("ERROR"+e);
}
catch (Exception e)
{
System.out.println(" StackTrace:");
e.printStackTrace();
System.exit(3);
}

}
}

if the remove agent.get ExecutinAgent() I find the inContainer not found.

MQWF v.3.5 API code
Back to top
View user's profile Send private message
hifive
PostPosted: Sun May 21, 2006 7:54 am    Post subject: Reply with quote

Acolyte

Joined: 06 May 2006
Posts: 52

Waiting for ur assistance..?
Back to top
View user's profile Send private message
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 » FMC00126E Program Execution Agent not running? Urgent reply?
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.