Hi Raminder,

I am sending you my file airavata-server.properties. This is the one I have
updated to use longer proxy life. I am pretty sure I modified correctly. I
even checked empty space in the end of the line. I will another test later.
Unfortunately, to test that takes time.

I did another test with phonon task that took just a few minutes, which
means, I didn't have to consider the proxy life time. It ran using two
Application Services over the same working directory and finished correctly
without any problem. I even got the message on Xbaya saying "Workflow
finished successfully." I am testing the same workflow right now using the
API Client.

Thank you,




On Mon, Feb 4, 2013 at 12:54 PM, Raminder Singh <[email protected]>wrote:

> Yes this is strange. Can you try to find airavata-server.properties
> properties and see you updated the right property file? I have checked the
> code and its reading from the property file. \
>
> > [ERROR] The connection to the server failed (check host and port) [Caused
> > by: Connection refused]
> This error is problem with gram client when its not able to connect to
> same job handler after renewing proxy. In some case if the job finish
> during the proxy was renewed then Gram API will above error.
>
> Thanks
> Raminder
>
> On Feb 1, 2013, at 6:17 PM, Pedro da Silveira wrote:
>
> > Hi Devs,
> >
> > I updated the the file "airavata-server.properties"
> > from "myproxy.life=3600" to "myproxy.life=172800". Then I restarted my
> > Airavata Server and Xbaya.
> > I had a workflow that was running for about 15 hours. In the Airavata
> > Server log was informing that my proxy was renewing for 3600 lifetime:
> >
> >
> > ===================================================================
> > [INFO] job
> >
> https://gridftp1.ls4.tacc.utexas.edu:50383/16289813886031905366/8943296923860001466/have
> > same status: ACTIVE
> > [INFO] Job proxy expired. Trying to renew proxy
> > org.globus.gsi.gssapi.GlobusGSSCredentialImpl@8e5d057
> > [INFO] Proxy file renewed to
> > /tmp/x509up_uogcee6be0135-395e-440e-a402-b9f012492582 for the user ogce
> > with 3600 lifetime.
> > [INFO] Myproxy renewed
> > [INFO] job
> >
> https://gridftp1.ls4.tacc.utexas.edu:50383/16289813886031905366/8943296923860001466/have
> > same status: ACTIVE
> > ===================================================================
> >
> > When my job successfully finished I still got the error message on the
> > Apache Airavata Server:
> >
> >
> > ===================================================================
> > [INFO] job
> >
> https://gridftp1.ls4.tacc.utexas.edu:50383/16289813886031905366/8943296923860001466/have
> > same status: ACTIVE
> > [INFO] Job proxy expired. Trying to renew proxy
> > org.globus.gsi.gssapi.GlobusGSSCredentialImpl@415c515e
> > [INFO] Proxy file renewed to
> > /tmp/x509up_uogcecd28decc-eb9d-469b-af77-380b26a7020c for the user ogce
> > with 3600 lifetime.
> > [ERROR] Context passed was NULL.
> > java.lang.RuntimeException: Context passed was NULL.
> > at
> >
> org.apache.airavata.workflow.tracking.impl.ProvenanceNotifierImpl.sendingFault(ProvenanceNotifierImpl.java:496)
> > at
> >
> org.apache.airavata.workflow.tracking.impl.ProvenanceNotifierImpl.sendingFault(ProvenanceNotifierImpl.java:485)
> > at
> >
> org.apache.airavata.core.gfac.notification.impl.WorkflowTrackingNotification.executionFail(WorkflowTrackingNotification.java:108)
> > at
> >
> org.apache.airavata.core.gfac.notification.impl.DefaultNotifier.executionFail(DefaultNotifier.java:135)
> > at
> >
> org.apache.airavata.core.gfac.exception.JobSubmissionFault.sendFaultNotification(JobSubmissionFault.java:52)
> > at
> >
> org.apache.airavata.core.gfac.provider.impl.GramProvider.executeApplication(GramProvider.java:231)
> > at
> >
> org.apache.airavata.core.gfac.provider.AbstractProvider.execute(AbstractProvider.java:69)
> > at
> >
> org.apache.airavata.core.gfac.services.impl.AbstractSimpleService.execute(AbstractSimpleService.java:118)
> > at org.apache.airavata.core.gfac.GfacAPI.gridJobSubmit(GfacAPI.java:140)
> > at
> >
> org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:256)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.handleWSComponent(WorkflowInterpreter.java:749)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.executeDynamically(WorkflowInterpreter.java:533)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.scheduleDynamically(WorkflowInterpreter.java:218)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.executeWorkflow(WorkflowInterpretorSkeleton.java:389)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.access$400(WorkflowInterpretorSkeleton.java:87)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton$2.run(WorkflowInterpretorSkeleton.java:382)
> > at java.lang.Thread.run(Thread.java:680)
> > [INFO] -----DATA-----
> > [INFO] lonestar4.tacc.teragrid.org,&( queue = "normal" )( stdout =
> >
> "/scratch/01437/ogce/Vlab/Phonon/__p4_14/AppPhonon_Thu_Jan_31_19_04_24_CST_2013_cffbf571-663d-4642-a095-dca3a3da887f/lonestar_application.stdout"
> > )( count = "72" )( executable =
> > "/scratch/01437/ogce/Vlab/Phonon/executePhonon_test2.sh" )( stderr =
> >
> "/scratch/01437/ogce/Vlab/Phonon/__p4_14/AppPhonon_Thu_Jan_31_19_04_24_CST_2013_cffbf571-663d-4642-a095-dca3a3da887f/lonestar_application.stderr"
> > )( maxwalltime = "1440" )( hostCount = "6" )( minmemory = "10240" )(
> > project = "TG-STA110014S" )( jobtype = "mpi" )( environment = (
> "inputData"
> >
> "/scratch/01437/ogce/Vlab/Phonon/__p4_14/AppPhonon_Thu_Jan_31_19_04_24_CST_2013_cffbf571-663d-4642-a095-dca3a3da887f/inputData"
> > ) ( "outputData"
> >
> "/scratch/01437/ogce/Vlab/Phonon/__p4_14/AppPhonon_Thu_Jan_31_19_04_24_CST_2013_cffbf571-663d-4642-a095-dca3a3da887f/outputData"
> > ) )( proxy_timeout = "1" )( arguments =
> >
> "///scratch/01437/ogce/Vlab/Phonon/__p4_14/AppPhonon_Thu_Jan_31_19_04_24_CST_2013_cffbf571-663d-4642-a095-dca3a3da887f/inputData/Phonon_Input"
> > )( directory =
> >
> "/scratch/01437/ogce/Vlab/Phonon/__p4_14/AppPhonon_Thu_Jan_31_19_04_24_CST_2013_cffbf571-663d-4642-a095-dca3a3da887f"
> > )( maxmemory = "15360" )
> > [INFO] -----END DATA-----
> > [ERROR] The connection to the server failed (check host and port) [Caused
> > by: Connection refused]
> > org.apache.airavata.core.gfac.exception.JobSubmissionFault: The
> connection
> > to the server failed (check host and port) [Caused by: Connection
> refused]
> > at
> >
> org.apache.airavata.core.gfac.provider.impl.GramProvider.executeApplication(GramProvider.java:229)
> > at
> >
> org.apache.airavata.core.gfac.provider.AbstractProvider.execute(AbstractProvider.java:69)
> > at
> >
> org.apache.airavata.core.gfac.services.impl.AbstractSimpleService.execute(AbstractSimpleService.java:118)
> > at org.apache.airavata.core.gfac.GfacAPI.gridJobSubmit(GfacAPI.java:140)
> > at
> >
> org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:256)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.handleWSComponent(WorkflowInterpreter.java:749)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.executeDynamically(WorkflowInterpreter.java:533)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.scheduleDynamically(WorkflowInterpreter.java:218)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.executeWorkflow(WorkflowInterpretorSkeleton.java:389)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.access$400(WorkflowInterpretorSkeleton.java:87)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton$2.run(WorkflowInterpretorSkeleton.java:382)
> > at java.lang.Thread.run(Thread.java:680)
> > Caused by: org.globus.gram.GramException: The connection to the server
> > failed (check host and port) [Caused by: Connection refused]
> > at org.globus.gram.Gram.renew(Gram.java:595)
> > at org.globus.gram.GramJob.renew(GramJob.java:329)
> > at org.globus.gram.GramJob.renew(GramJob.java:315)
> > at
> >
> org.apache.airavata.core.gfac.provider.utils.JobSubmissionListener.waitFor(JobSubmissionListener.java:72)
> > at
> >
> org.apache.airavata.core.gfac.provider.impl.GramProvider.executeApplication(GramProvider.java:206)
> > ... 11 more
> > Exception in thread "Thread-42"
> > org.apache.airavata.workflow.model.exceptions.WorkflowRuntimeException:
> > org.apache.airavata.workflow.model.exceptions.WorkflowException: The
> > connection to the server failed (check host and port) [Caused by:
> > Connection refused]
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.executeWorkflow(WorkflowInterpretorSkeleton.java:392)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.access$400(WorkflowInterpretorSkeleton.java:87)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton$2.run(WorkflowInterpretorSkeleton.java:382)
> > at java.lang.Thread.run(Thread.java:680)
> > Caused by:
> org.apache.airavata.workflow.model.exceptions.WorkflowException:
> > The connection to the server failed (check host and port) [Caused by:
> > Connection refused]
> > at
> >
> org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:321)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.handleWSComponent(WorkflowInterpreter.java:749)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.executeDynamically(WorkflowInterpreter.java:533)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpreter.scheduleDynamically(WorkflowInterpreter.java:218)
> > at
> >
> org.apache.airavata.xbaya.interpretor.WorkflowInterpretorSkeleton.executeWorkflow(WorkflowInterpretorSkeleton.java:389)
> > ... 3 more
> > Caused by: org.apache.airavata.core.gfac.exception.JobSubmissionFault:
> The
> > connection to the server failed (check host and port) [Caused by:
> > Connection refused]
> > at
> >
> org.apache.airavata.core.gfac.provider.impl.GramProvider.executeApplication(GramProvider.java:229)
> > at
> >
> org.apache.airavata.core.gfac.provider.AbstractProvider.execute(AbstractProvider.java:69)
> > at
> >
> org.apache.airavata.core.gfac.services.impl.AbstractSimpleService.execute(AbstractSimpleService.java:118)
> > at org.apache.airavata.core.gfac.GfacAPI.gridJobSubmit(GfacAPI.java:140)
> > at
> >
> org.apache.airavata.xbaya.invoker.EmbeddedGFacInvoker.invoke(EmbeddedGFacInvoker.java:256)
> > ... 7 more
> > Caused by: org.globus.gram.GramException: The connection to the server
> > failed (check host and port) [Caused by: Connection refused]
> > at org.globus.gram.Gram.renew(Gram.java:595)
> > at org.globus.gram.GramJob.renew(GramJob.java:329)
> > at org.globus.gram.GramJob.renew(GramJob.java:315)
> > at
> >
> org.apache.airavata.core.gfac.provider.utils.JobSubmissionListener.waitFor(JobSubmissionListener.java:72)
> > at
> >
> org.apache.airavata.core.gfac.provider.impl.GramProvider.executeApplication(GramProvider.java:206)
> > ... 11 more
> >
> > [WARN] User : admin Failed login attempt to system at 2013-02-01 17:06:25
> > Feb 1, 2013 5:06:25 PM com.sun.jersey.spi.container.servlet.WebComponent
> > filterFormParameters
> >
> > ===================================================================
> >
> > Is there any work around to avoid this error message?
> >
> > Thank you,
> >
> > Pedro da Silveira
>
>

Reply via email to