Hi Chris,
        I sure did… these are the steps I took:

o edit workflow.properties:
org.apache.oodt.cas.workflow.engine.resourcemgr.url=http://localhost:9002/

o start batch stub on port 2001:

 ./batch_stub 2001

Are there any other changes I need to make to have RM work out of the box - for 
example, to resource.properties ?

thanks a lot,
Luca

> On Aug 16, 2016, at 6:08 PM, Chris Mattmann <[email protected]> wrote:
> 
> Hi Luca,
> 
> Did you start the batch stub on port 2001 (the default one?)
> 
> Cheers,
> Chris
> 
> 
> 
> 
> On 8/16/16, 4:01 PM, "Cinquini, Luca (398G)" <[email protected]> 
> wrote:
> 
>    Hi all,
>       I should probably know this but I don’t… do we have a tutorial on how 
> to connect the Resource manager to the Workflow Manager ?
> 
>    I executed what I thought were the necessary steps but I get the following 
> error:
> 
>    FINEST: [{job.queueName=high, 
> job.instanceClassName=org.apache.oodt.cas.workflow.structs.TaskJob, 
> job.name=urn:edrn:LabcasTestTask, job.id=, job.status=, job.load=2, 
> job.inputClassName=org.apache.oodt.cas.workflow.structs.TaskJobInput}, 
> {task.instance.class=org.apache.oodt.cas.pge.StdPGETaskInstance, 
> task.config={PGETask_ConfigFilePath=/usr/local/labcas_home/workflows/labcas-test/pge-configs/labcas-test-task-config.pgeconfig.xml,
>  
> PCS_ClientTransferServiceFactory=org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory,
>  
> PCS_ActionRepoFile=file:/usr/local/labcas_home/cas-crawler/policy/crawler-config.xml,
>  PCS_MetFileExtension=met, PGETask_DumpMetadata=true, 
> PCS_WorkflowManagerUrl=http://localhost:9001, 
> PCS_FileManagerUrl=http://localhost:9000, PGETask_Name=LabcasTestTask}, 
> task.metadata={WorkflowInstId=[a195a9e9-63fb-11e6-8305-6d5e443f934e], 
> TaskId=[urn:edrn:LabcasTestTask], experiment=[1], species=[snakes], 
> WorkflowName=[LabcasTestWorkflow], ProcessingNode=[LMC-038261.local], 
> location=[LAB01], WorkflowManagerUrl=[http://LMC-038261.local:9001], 
> WorkflowId=[urn:edrn:LabcasTestWorkflow], 
> JobId=[a195a9e9-63fb-11e6-8305-6d5e443f934e]}}]
>    Aug 16, 2016 3:51:48 PM 
> org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread run
>    WARNING: Job execution exception using resource manager to execute job: 
> Message: Failure writing request
> 
>    thanks, Luca
> 
> 
> 

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to