Bingo ! You really got it ! No white spaces, no bugs... thank's a lot !! I even had sent the epr file through an XML parser and it found well formed...
I'm using globus-4.0.1. Why? Is this a known bug ?? [EMAIL PROTECTED] ~]$ globusrun-ws -q -s -submit -Ff grid02simple.epr -f simpletest.xml Linux grid02.fccn.pt 2.6.20-1.2925.fc6 #1 SMP Sat Mar 10 18:20:58 EST 2007 i686 i686 i386 GNU/Linux Epr file: <factoryEndpoint xmlns:gram="http://www.globus.org/namespaces/2004/10/gram/job" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"> <wsa:Address>https://grid02.fccn.pt:8443/wsrf/services/ManagedJobFactoryServ ice</wsa:Address> <wsa:ReferenceProperties> <gram:ResourceID>Fork</gram:ResourceID> </wsa:ReferenceProperties> </factoryEndpoint> Regards, José Rogado -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: terça-feira, 12 de Junho de 2007 17:37 To: Jose Rogado Cc: [email protected] Subject: RE: [gt-user] Delegating Credentials (please help!) Jose, i can see at least one whitespace (newline) before you close the </wsa:Address>, or is this due to formatting in the email? So what happens if you remove that newline? Also: what version of the GT are you using? Martin > > Hi Martin, > > Thank's for helping ! > > New version of epr with no blanks: > > <?xml version="1.0" encoding="UTF-8" ?> <factoryEndpoint > xmlns:gram="http://www.globus.org/namespaces/2004/10/gram/job" > xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"> > <wsa:Address>https://grid02.fccn.pt:8443/wsrf/services/ManagedJobFacto > ryServ > ice > </wsa:Address> > <wsa:ReferenceProperties><gram:ResourceID>Fork</gram:ResourceID> > </wsa:ReferenceProperties> > </factoryEndpoint> > > Here's the result: > > [EMAIL PROTECTED] ~]$ globusrun-ws -debug -s -submit -Ff grid02simple.epr > -f simpletest.xml Delegating user credentials... > === REQUEST MESSAGE (length 593) (time 1181665364.583517000) === > <ns00:Envelope > xmlns:ns00="http://schemas.xmlsoap.org/soap/envelope/"><ns00:Header></ > ns00:H > eader><ns00:Body><ns01:GetMultipleResourceProperties > xmlns:ns01="http://docs.oasis-open.org/wsrf/2004/06/wsrf-WS-ResourcePr > operti es-1.2-draft-01.xsd"><ns01:ResourceProperty > xmlns:ns02="http://www.globus.org/namespaces/2004/10/gram/job">ns02:de > legati onFactoryEndpoint</ns01:ResourceProperty><ns01:ResourceProperty > xmlns:ns02="http://www.globus.org/namespaces/2004/10/gram/job">ns02:st > agingD > elegationFactoryEndpoint</ns01:ResourceProperty></ns01:GetMultipleReso > urcePr > operties></ns00:Body></ns00:Envelope> > ---------------------------------------------- > Failed. > globusrun-ws: Error trying to delegate > globus_soap_message_module: SOAP Message transport failed: Failed to > flush message > globus_xio: System error in writev: Connection reset by peer > globus_xio: A system call failed: Connection reset by peer > > José Rogado > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: terça-feira, 12 de Junho de 2007 17:09 > To: Jose Rogado > Cc: [email protected] > Subject: Re: [gt-user] Delegating Credentials (please help!) > > Jose, > same here: > avoid whitespaces in the values of the epr tags, i.e. try it with > <wsa:Address>https://grid02.fccn.pt:8443/wsrf/services/ManagedJobFacto > ryServ > ice</wsa:Address> > Please let me know if it works for you. > What version GT are you using? > Martin > >> Hello, >> >> I'm stucked in a problem related with credentials delegation. I >> understand the concept, but cannot find documentation that explains >> the details of including credental delegation in job submission files. >> >> For instance, the globusrun-ws description page mentions this topic >> in the delegation section, but no exaamples are given. >> >> http://www.globus.org/toolkit/docs/4.0/execution/wsgram/rn01re01.html >> >> The quicktstart guide also gives severall examples on how to create >> staging files, but none indicates how to delegate the credentials. >> >> So I keep on getting this error: >> >> [EMAIL PROTECTED] ~]$ globusrun-ws -s -submit -Ff grid02.epr -f >> simpletest.xml Delegating user credentials...Failed. >> globusrun-ws: Error trying to delegate Error querying delegation >> factories >> globus_soap_message_module: Failed receiving response >> ManagedJobFactoryPortType_GetMultipleResourceProperties. >> globus_soap_message_module: Deserialization of >> {http://schemas.xmlsoap.org/soap/envelope/}Header failed. >> >> The content of the grid02.epr file is the following: >> >> <factoryEndpoint >> xmlns:gram="http://www.globus.org/namespaces/2004/10/gram/job" >> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing"> >> <wsa:Address> >> >> https://grid02.fccn.pt:8443/wsrf/services/ManagedJobFactoryService >> </wsa:Address> >> <wsa:ReferenceProperties> >> <gram:ResourceID>Fork</gram:ResourceID> >> </wsa:ReferenceProperties> >> >> And the simpletest.xml is really simple: >> >> <job> >> <executable>uname</executable> >> <directory>/bin</directory> >> <argument>-a</argument> >> </job> >> >> Is there any document that explains how to delegate the credentials? >> >> Thank's a lot. >> >> José Rogado >> >> > > >
