Hi Paul,

Thank you for replying. I found the batch_stub script (Duh!). I was so busy 
looking at java code that I never looked in the bin dir. So, I ran batch_stub 
with the expected port number, and I made a little more progress, batch_stub 
actually received the job!  The "learn by example" example on the wiki didn't 
say anything about needing to run batch_stub, so I am surprised that it is 
looking for it to be running also.  I'm really shooting at fish in barrel here. 
 But, now, batch_stub crashed when it received the job, so I will start looking 
at that now.

OMG, I am back to exactly the same place I was at two days ago. It is failing 
on line 72 of ExternScriptTaskInstance where it is trying to iterate through 
the arguments to pass to the script. Only now, the workflow is trying to start 
the crawler via the CAS PGE rather than as simple non-PGE workflow task.  See 
my previous post on Monday, Oct 6 at 21:53 "how to pass arguments to workflow 
task that is external script".  But, my tasks.xml file is a little different 
now, and I have added a crawler-pge-config.xml file since I had to add PGE/PCS 
things into it. So, I will start looking there.  At first glance, it looks like 
my <pgeConfig> ... </pgeConfig> is not applying my environment variables to 
some of the parameters that need to be passed to the crawler_launcher script.

Thanks!
Val




Valerie A. Mallder
New Horizons Deputy Mission System Engineer
Johns Hopkins University/Applied Physics Laboratory


> -----Original Message-----
> From: Ramirez, Paul M (398J) [mailto:[email protected]]
> Sent: Wednesday, October 08, 2014 5:32 PM
> To: <[email protected]>
> Subject: Re: what is batch stub? Is it necessary?
>
> Valerie,
>
> I would have thought it would have just not used a batch stub by default. 
> That said
> if you go into the $OODT_HOME/resmgr/bin there should be a script to start a
> batch stub. Right now on my phone I forget the name of the script but if you 
> more
> the file you will see the Java class name that corresponds to below. You 
> should
> specify a port when you run the script which from the looks of the output 
> below
> should be 2001.
>
> HTH,
> Paul R
>
> Sent from my iPhone
>
> > On Oct 8, 2014, at 2:04 PM, Mallder, Valerie <[email protected]> 
> > wrote:
> >
> > Well then, I'm proud to be a member :)  (I think .... )
> >
> >
> > Valerie A. Mallder
> > New Horizons Deputy Mission System Engineer Johns Hopkins
> > University/Applied Physics Laboratory
> >
> >
> >> -----Original Message-----
> >> From: Bruce Barkstrom [mailto:[email protected]]
> >> Sent: Wednesday, October 08, 2014 4:54 PM
> >> To: [email protected]
> >> Subject: Re: what is batch stub? Is it necessary?
> >>
> >> You have every right to bother everyone.
> >> You won't get what you need unless you do.
> >>
> >> You get one honorary membership in the Society of General Agitators -
> >> at the rank of Major Agitator.
> >>
> >> Bruce B.
> >>
> >> On Wed, Oct 8, 2014 at 4:49 PM, Mallder, Valerie
> >> <[email protected]
> >>> wrote:
> >>
> >>> Hello,
> >>>
> >>> I am still having trouble getting my CAS PGE crawler task to run due
> >>> to
> >>> http://localhost:2001 being "down". I have spent the last 2 days
> >>> tracing through the resource manager code and tracked this down to
> >>> line 146 of LRUScheduler where the XmlRpcBatchMgr is failing to
> >>> execute the task remotely, because on line 75 of
> >>> XmlRpcBatchMgrProxy (that was instantiated by XmlRpcBatchMgr on its
> >>> line 74) is trying to call "isAlive" on the webservice named
> >>> "batchstub" which, to my knowledge, is not running because I have not done
> anything explicitly to run it.
> >>>
> >>> All I am trying to do is run "crawler_launcher" as a workflow task
> >>> in the CAS PGE environment.  I had it running perfectly before I
> >>> started trying to make it run as part of a workflow.  I really miss
> >>> my crawler and really want it to run again L
> >>>
> >>> So, if "batchstub" is necessary in this scenario, pleast tell me
> >>> what it is, why it is necessary, and how to run it (please provide
> >>> exact syntax to put in my startup shell script, because I would
> >>> never be able to figure it out for myself and I don't want to have
> >>> to bother everyone again.)
> >>>
> >>> Thanks so much!
> >>>
> >>> Val
> >>>
> >>>
> >>>
> >>>
> >>> 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