Hi Mihael,
First, very thanks for the answer.
Well, I'll try to enable delegation (spec.setDelegation(true) or
spec.setDelegation(Delegation.FULL_DELEGATION)
The version I'm using is: Cog 4.1.5.
I'll try delegation, and report here.
"É este um mundo no qual devemos esconder nossas virtudes?"
Willian Shakespeare
****************
Wilson Júnior
****************
On Fri, Aug 29, 2008 at 2:53 PM, Mihael Hategan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Which version of cog is this?
>
> Can you try enabling delegation (spec.setDelegation(true) or
> spec.setDelegation(Delegation.FULL_DELEGATION) - depending on the
> version you have)?
>
> Mihael
>
> On Thu, 2008-08-28 at 23:25 -0300, Wilson Jr. wrote:
> > Hi Martin,
> >
> > I'm using GT 4.0.5, it will be great if Mihael may help me.
> >
> > thanks,
> >
> > "É este um mundo no qual devemos esconder nossas virtudes?"
> > Willian Shakespeare
> >
> >
> > ****************
> > Wilson Júnior
> > ****************
> >
> >
> > On Thu, Aug 21, 2008 at 9:39 AM, Martin Feller <[EMAIL PROTECTED]>
> > wrote:
> > Hi,
> >
> > You are using cog on the client-side, so i'll add Mihael on CC
> > who maintains
> > this code.
> >
> > Do you use GT 4.0.5 or lower on the server-side? In newer
> > versions a
> > better explanation should be printed in the server-side
> > container logfile
> > if a job fails.
> >
> > I suspect that maybe no delegation is done. In that case Gram
> > cannot not
> > call RFT on behalf of the user (with the help of a delegated
> > credential)
> > and RFT cannot not communicate with the GridFTP servers on
> > behalf of the
> > user.
> >
> > But Mihael will probably know better.
> >
> > Martin
> >
> > Wilson Jr. wrote:
> > Excuse me, I had forgot the attachement.
> >
> > Hi Folks, I developed a Grid-Service that I use on
> > Globus, I'm trying to make my Grid-Service
> > send Jobs to machines on the Grid, I have a cenario
> > with some machines using Globus e Torque.
> >
> > But, before do this I tried to create a simple Java
> > code, using the JobSubmission.java,
> > I got some success, but there's a scenario I'm having
> > problems.
> >
> > The job submission worked when I send a job to execute
> > a simple /bin/echo and run fine.
> >
> > But when I try to send a job that need to FileStageIn,
> > It doesn't work.
> > My Jobs need to execute an executable that need two
> > input files, then I need to FileStageIn these two
> > files, beyond the executable file.
> >
> > This is the RSL String used in the Java Code.:
> > *// Setando string specification.
> > String lSpecification = new String();
> > lSpecification = "<job>" +
> > "
> > <executable>my_bozorth3</executable>" +
> > "
> > <directory>${GLOBUS_USER_HOME}</directory>" +
> > "
> > <argument>minucia.xyt</argument>" +
> > "
> > <argument>outraMinucia.xyt</argument>" +
> > "
> > <stdout>${GLOBUS_USER_HOME}/stdout</stdout>" +
> > "
> > <stderr>${GLOBUS_USER_HOME}/stderr</stderr>" +
> > " <fileStageIn>" +
> > " <transfer>" +
> >
> > "
> > <sourceUrl>gsiftp://
> topgrid.dcc.ufba.br:2811/usr/bin/bozorth3 <
> http://topgrid.dcc.ufba.br:2811/usr/bin/bozorth3></sourceUrl>" +
> >
> > "
> >
> <destinationUrl>file:///${GLOBUS_USER_HOME}/my_bozorth3</destinationUrl>" +
> > " </transfer>" +
> > " <transfer>" +
> >
> > "
> > <sourceUrl>gsiftp://
> topgrid.dcc.ufba.br:2811/home/wilsonjr/Cog/minucia.xyt <
> http://topgrid.dcc.ufba.br:2811/home/wilsonjr/Cog/minucia.xyt></sourceUrl>"
> +
> >
> > "
> >
> <destinationUrl>file:///${GLOBUS_USER_HOME}/minucia.xyt</destinationUrl>" +
> > " </transfer>" +
> > " <transfer>" +
> >
> > "
> > <sourceUrl>gsiftp://
> topgrid.dcc.ufba.br:2811/home/wilsonjr/Cog/outraMinucia.xyt <
> http://topgrid.dcc.ufba.br:2811/home/wilsonjr/Cog/outraMinucia.xyt></sourceUrl>"
> +
> >
> > "
> >
>
> <destinationUrl>file:///${GLOBUS_USER_HOME}/outraMinucia.xyt</destinationUrl>"
> +
> > " </transfer>" +
> > " </fileStageIn>" +
> > "</job>"*
> >
> > This is the erro that occurred:
> > But when I put a rsl with FileStageIn I receive this
> > message:
> > Job failed: #0 Staging error for RSL element
> > fileStageIn.
> >
> > and at $GLOBUS_LOCATION/var/log/
> > container.log:
> >
> > *2008-07-01 00:22:23,824 INFO exec.StateMachine
> > [RunQueueThread_17,logJobAccepted:3513] Job
> > ec27f180-471c-11dd-aee6-c10a668dd90c accepted for
> > local user 'wilsonjr'
> > 2008-07-01 00:22:24,771 INFO exec.StateMachine
> > [RunQueueThread_17,logJobFailed:3543] Job
> > ec27f180-471c-11dd-aee6-c10a668dd90c failed*
> >
> > But I can submit the same RSL string with globusrun-ws
> > normally.
> > globusrun-ws -Ft PBS -submit -S -f teste.rsl
> >
> > Any idea, what it can be?
> > At the log I have no much information.
> >
> > I'm putting attached the JobSubmission.java.
> >
> > I hope anyone can help me.
> >
> > Thanks,
> >
> >
> > "É este um mundo no qual devemos esconder nossas
> > virtudes?"
> > Willian Shakespeare
> >
> >
> > ****************
> > Wilson Júnior
> > ****************
> >
> >
> >
> >
>
>