Hi all, I've been experimenting a little bit with the FileConcatenator sample ( https://cwiki.apache.org/confluence/display/OODT/CAS-PGE+Learn+by+Example). The workflow seems set up, and the scheduling of the job seems to be in place. I even get a nice display of jobs running on the OPSUI. However, the actual running of the job fails. I think I have tracked down the problem to this log entry (relevant log file attached):
SEVERE: Job execution failed for jobId '2015-06-09T14:40:44.896+02:00' : batchstub.executeJob returned false java.lang.Exception: batchstub.executeJob returned false at org.apache.oodt.cas.resource.batchmgr.XmlRpcBatchMgrProxy.run(XmlRpcBatchMgrProxy.java:125) The batch_stub seems running, and shows "green" on OPSUI as well on port 2001. Not sure how to move on from here. I have scouted some forums for this error, and found a couple of what seem to be relevant posts from Chris :) I'm also attaching my tasks.xml file, since I read there might be something in there which is set up incorrectly. If I can give you any additional information, please let me know. Thanks, Andrea
<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <cas:tasks xmlns:cas="http://oodt.jpl.nasa.gov/1.0/cas"> <!-- TODO: Add some examples --> <task id="urn:oodt:FileConcatenator" name="FileConcatenator" class="org.apache.oodt.pge.examples.fileconcatenator.FileConcatenatorPGETask"> <conditions/> <configuration> <property name="PGETask_Name" value="FileConcatenator"/> <property name="PGETask_ConfigFilePath" value="/home/andrea/oodt/pge/file_concatenator/pge-configs/PGEConfig.xml" envReplace="true"/> <property name="PGETask_DumpMetadata" value="true"/> <property name="PCS_WorkflowManagerUrl" value="[WORKFLOW_URL]" envReplace="true" /> <property name="PCS_FileManagerUrl" value="[FILEMGR_URL]" envReplace="true"/> <property name="PCS_MetFileExtension" value="met"/> <property name="PCS_ClientTransferServiceFactory" value="org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferFactory"/> <property name="PCS_ActionRepoFile" value="file:[CRAWLER_HOME]/policy/crawler-config.xml" envReplace="true"/> </configuration> <requiredMetFields> <metfield name="RunID"/> </requiredMetFields> </task> </cas:tasks>