Hi All,
I am trying to run two post ingest success actions after PGE runs the crawler 
and I have come across something that Cameron also came across back in 
February. It thinks my two action names separated by a comma is one long bean 
name. And, despite my best efforts I haven't been able to solve this by 
following the instructions provided by an email thread in the mailing list 
archives here:

http://markmail.org/search/?q=oodt+ACTION_IDS+order%3Adate-backward#query:oodt%20ACTION_IDS%20order%3Adate-backward+page:2+mid:gxnbptf4zamq2qdp+state:results

or by following Cameron's subsequent documentation on the wiki here:

https://cwiki.apache.org/confluence/display/OODT/CAS-PGE+Help+and+Documentation

I am sure I am missing something subtle, but I would appreciate your help.  
Here are the lines from my tasks.xml and PgeConfig.xml files.  And the error I 
am getting (which is similar to the error Cameron received back in February) is 
below that.

Thanks in advance!
Val

In tasks.xml
  <property name="PostIngestSuccessActions" 
value="MoveFileToLevel0Dir,MoveMetFileToBackupDir"/>

In PgeConfig.xml
   <customMetadata>
      <metadata key="PCS_ActionsIds" val="[PostIngestSuccessActions]" />
   </customMetadata>


INFO: Updating status to workflow as [CRAWLING]
Oct 20, 2014 3:56:52 PM org.apache.oodt.cas.pge.PGETaskInstance runIngestCrawler
INFO: Crawling for products in 
[/homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/data/staging]
Oct 20, 2014 3:56:52 PM org.apache.oodt.cas.pge.PGETaskInstance run
SEVERE: PGETask FAILED!!! : No bean named 
'MoveFileToLevel0Dir,MoveMetFileToBackupDir' is defined
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 
'MoveFileToLevel0Dir,MoveMetFileToBackupDir' is defined
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:360)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:914)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:241)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at 
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:761)
        at 
org.apache.oodt.cas.crawl.action.CrawlerActionRepo.loadActionsFromBeanFactory(CrawlerActionRepo.java:71)
        at 
org.apache.oodt.cas.crawl.ProductCrawler.loadAndValidateActions(ProductCrawler.java:228)
        at 
org.apache.oodt.cas.crawl.ProductCrawler.crawl(ProductCrawler.java:83)
        at 
org.apache.oodt.cas.pge.PGETaskInstance.runIngestCrawler(PGETaskInstance.java:575)
        at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:144)
        at 
org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread.executeTaskLocally(IterativeWorkflowProcessorThread.java:574)
        at 
org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread.run(IterativeWorkflowProcessorThread.java:321)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown 
Source)
        at java.lang.Thread.run(Thread.java:745)

org.apache.oodt.cas.workflow.structs.exceptions.WorkflowTaskInstanceException: 
PGETask FAILED!!! : No bean named 'MoveFileToLevel0Dir,MoveMetFileToBackupDir' 
is defined
        at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:150)
        at 
org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread.executeTaskLocally(IterativeWorkflowProcessorThread.java:574)
        at 
org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread.run(IterativeWorkflowProcessorThread.java:321)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(Unknown 
Source)
        at java.lang.Thread.run(Thread.java:745)
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No 
bean named 'MoveFileToLevel0Dir,MoveMetFileToBackupDir' is defined
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:360)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getMergedBeanDefinition(AbstractBeanFactory.java:914)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:241)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
        at 
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:761)
        at 
org.apache.oodt.cas.crawl.action.CrawlerActionRepo.loadActionsFromBeanFactory(CrawlerActionRepo.java:71)
        at 
org.apache.oodt.cas.crawl.ProductCrawler.loadAndValidateActions(ProductCrawler.java:228)
        at 
org.apache.oodt.cas.crawl.ProductCrawler.crawl(ProductCrawler.java:83)
        at 
org.apache.oodt.cas.pge.PGETaskInstance.runIngestCrawler(PGETaskInstance.java:575)
        at org.apache.oodt.cas.pge.PGETaskInstance.run(PGETaskInstance.java:144)
        ... 4 more
Oct 20, 2014 3:56:52 PM 
org.apache.oodt.cas.workflow.engine.IterativeWorkflowProcessorThread 
executeTaskLocally
WARNING: Exception executing task: [feiCrawlerTask] locally: Message: PGETask 
FAILED!!! : No bean named 'MoveFileToLevel0Dir,MoveMetFileToBackupDir' is 
defined

Valerie A. Mallder

New Horizons Deputy Mission System Engineer
The Johns Hopkins University/Applied Physics Laboratory
11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723
240-228-7846 (Office) 410-504-2233 (Blackberry)

Reply via email to