Hey Mihael,<br><br>I was testing my script a little more today and ran into some errors related to CONFIGSERVICE. In this example I was testing passive mode but manually specifying ports instead of using the port files. I'm not sure if that makes a difference - I included an output of ps so you could see how each of the apps were being called. There is more detail in the swift log and in logs/coaster.log.<br>
<br>Thanks,<br>David<br><br><br><div class="gmail_quote">On Tue, May 24, 2011 at 2:27 PM, Mihael Hategan <span dir="ltr"><<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Sorry about that. Attempt #2 is in svn.<br>
<font color="#888888"><br>
Mihael<br>
</font><div><div></div><div class="h5"><br>
On Tue, 2011-05-24 at 14:15 -0500, David Kelly wrote:<br>
> Thanks. I gave it a try and this is what I am seeing now:<br>
><br>
> Failed to connect: Connection refused at /home/davidk/work/<a href="http://worker.pl" target="_blank">worker.pl</a><br>
> line 300.<br>
><br>
> from coaster.log:<br>
> Error starting coaster service: null<br>
> Error starting coaster service<br>
> java.lang.NullPointerException<br>
> at<br>
> org.globus.cog.abstraction.coaster.service.CoasterPersistentService.main(CoasterPersistentService.java:145)<br>
><br>
> David<br>
><br>
> On Tue, May 24, 2011 at 1:57 PM, Mihael Hategan <<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>><br>
> wrote:<br>
> I committed a tentative fix to trunk. I won't swear by it, but<br>
> please<br>
> give it a try and let me know how it works.<br>
><br>
> Mihael<br>
><br>
><br>
> On Tue, 2011-05-24 at 13:44 -0500, David Kelly wrote:<br>
> > Attached is the coaster.log that is being generated, but it<br>
> doesn't<br>
> > contain much information.<br>
> ><br>
> > But where it was throwing the exception, I called<br>
> getStrackTrace() to<br>
> > get more info and saved it. Hope this helps:<br>
> ><br>
> ><br>
> org.globus.cog.abstraction.coaster.service.job.manager.JobQueue.nextId(JobQueue.java:122)<br>
> ><br>
> org.globus.cog.abstraction.coaster.service.LocalTCPService.registrationReceived(LocalTCPService.java:58)<br>
> ><br>
> org.globus.cog.abstraction.coaster.service.local.RegistrationHandler.requestComplete(RegistrationHandler.java:41)<br>
> ><br>
> org.globus.cog.karajan.workflow.service.handlers.RequestHandler.receiveCompleted(RequestHandler.java:84)<br>
> ><br>
> org.globus.cog.karajan.workflow.service.channels.AbstractKarajanChannel.handleRequest(AbstractKarajanChannel.java:390)<br>
> ><br>
> org.globus.cog.karajan.workflow.service.channels.AbstractStreamKarajanChannel.step(AbstractStreamKarajanChannel.java:158)<br>
> ><br>
> org.globus.cog.karajan.workflow.service.channels.AbstractStreamKarajanChannel$Multiplexer.run(AbstractStreamKarajanChannel.java:377)<br>
> ><br>
> > David<br>
> ><br>
> > On Tue, May 24, 2011 at 12:47 PM, Mihael Hategan<br>
> <<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>><br>
> > wrote:<br>
> > Do you have logs or exact stack trace for this?<br>
> ><br>
> ><br>
> > On Tue, 2011-05-24 at 10:21 -0500, David Kelly<br>
> wrote:<br>
> > > Hello,<br>
> > ><br>
> > > When trying to run coaster-service in passive<br>
> mode, I get a<br>
> > null<br>
> > > pointer exception when starting worker nodes. This<br>
> seems to<br>
> > happen<br>
> > > when the worker node tries to register with the<br>
> coaster<br>
> > service. I<br>
> > > get:<br>
> > ><br>
> > > Failed to process data: Failed to register<br>
> (service returned<br>
> > error:<br>
> > > java.lang.NullPointerException)<br>
> > at /home/davidk/work/<a href="http://worker.pl" target="_blank">worker.pl</a> line<br>
> > > 762.<br>
> > ><br>
> > > The exception gets thrown from<br>
> RegistrationHandler.java.<br>
> > Running a<br>
> > > swift script before starting the workers seems to<br>
> be the<br>
> > workaround..<br>
> > > but I think with the -passive option we shouldn't<br>
> need to do<br>
> > that<br>
> > > anymore, is that correct?<br>
> > ><br>
> > > Thanks,<br>
> > > David<br>
> > ><br>
> ><br>
> ><br>
> ><br>
> ><br>
><br>
><br>
><br>
><br>
<br>
<br>
</div></div></blockquote></div><br>