Posted: Mon Jun 06, 2005 12:56 am Post subject: error while starting the program associated with the activit
Newbie
Joined: 21 May 2005 Posts: 3
Hi,
I am having this issue when i try to start the program associated with the activity. I am using the "start" api of the workitem class. The program i am trying to start is a java program. I have given the full path of the "java.exe" in the file name part and given the java file ("sampletest") name in the parameters field. I have also added the java class file ("sampletest.class") in the classpath.
Note: I am just processing the first work item for testing purpose.
The error:
Error reason is FMC01014E The PEA TESTUSER.FMCGRP is not available
------------code snippet--------
if(wrkitm.length > 0){
System.out.println("Starting the work item");
wrkitm[0].start();
if (wrkitm[0].state() == ExecutionState.IN_ERROR){
System.out.println("Error reason is " + wrkitm[0].errorReason().messageText);
System.out.println("Error reason is " + wrkitm[0].errorReason().rc);
}
}
------end snippet --------
I tried to start the process execution agent through the command "fmcxspea -u=TESTUSER -p=password -y=FMC -g=FMCGRP -s=FMCSYS". The command ends successfully but the api is still failing with the same error as given above.
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