Ryan,

Like Martin points out, if you add the following line to
ws-delegation/service/java/source/src/org/globus/delegation/errors.propertie
s, the resource missing error will be fixed.  

setCredError=Error setting credential on listener

I don't see any delegation exception that would help debug this, but if you
add the above line, we should hopefully have better logging.

Also, can you turn on logging for delegation service to see what caused the
issue ? In containter-log4j.properties, increase logging for
org.globus.delegation.service and org.globus.delegation.factory ?

Thanks,
Rachana
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Monday, September 24, 2007 11:07 AM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]; Ryan Zhang; Kiran Thyagaraja; T. Mark 
> Huang; [email protected]
> Subject: [gt-user] Re: java.util.MissingResourceException: 
> Can't find resource for bundle 
> java.util.PropertyResourceBundle, key setCredError
> 
> Ryan,
> 
> the problem you see is that an error token in the delegation 
> service can't be resolved to a more verbose message. The 
> message would be "Error setting credential on listener".
> The security team fixed that resolving issue in trunk and 
> probably in the 4.0 branch.
> But the real problem is not the error in not getting the 
> verbose error message, but that there's some problem in 
> ws-gram <---> delegation service interaction.
> It seems to me that it's not a client problem. Was there a 
> change on the server (toolkit, filesystem, etc) compared to 
> the time when that error didn't happen?
> Maybe our security guys jump on this and can put some light 
> on what exactly goes wrong in that situation.
> 
> Martin
> 
> > Hi Martin,
> >        I am not sure what makes this happen, I used the GT 
> for a while 
> > and the day before yesterday was the first time it 
> happened. It went 
> > away in the afternoon and it returned yesterday again. 
> Seems to me it 
> > is more likely to happen after I use the GT a lot(submit around 20 
> > jobs for several times).
> > I am
> > not sure if it's the server's problem or the client's problem so I 
> > don't know which cluster has the problem(I used three 
> clusters). Thank 
> > you very much.
> >
> > -Ryan
> >
> > Quoting [EMAIL PROTECTED]:
> >
> >> Ryan,
> >> please also add gt-user on cc since there are some other 
> guys around 
> >> that might help on this.
> >> Currently it looks to me like this is something in the delegation 
> >> service; seems like the shortcut "setCredErr"
> >> isn't defined in the properties file that includes the 
> verbose error 
> >> messages.
> >> I see the definition in delegation service from trunk, but not in 
> >> 4.0.3. But i'm not really sure about that, I'll ask the security 
> >> guys.
> >> You say it doesn't happen always: Can you say in what 
> situation this 
> >> happens and how frequently?
> >> Do you have this problem on all GT server hosts?
> >> If not: what's the difference of that host compared to others?
> >> Martin
> >>
> >>
> >> > Hi Martin,
> >> >  Sorry that I used GRAMClient which is almost equivalent to 
> >> > globusrun- ws. Here is the error using globusrun
> >> >
> >> > [EMAIL PROTECTED] Launch]$ globusrun-ws -submit -F https:// 
> >> > 
> gridgate.ada.rice.edu/wsrf/services/ManagedJobFactoryService -job- 
> >> > delegate -Ft PBS -f adaTest.rsl Delegating user 
> credentials...Done.
> >> > Submitting job...Failed.
> >> > Cleaning up any delegated credentials...Done.
> >> > globusrun-ws: globus_i_submit.c::731:
> >> > Error submitting job
> >> > ManagedJobFactoryService_client.c::5877:
> >> > SOAP Fault
> >> > Fault code: soapenv:Server.userException Fault string: 
> >> > java.rmi.RemoteException: Job creation failed.; nested exception 
> >> > is:
> >> >          org.globus.wsrf.ResourceException: ; nested 
> exception is:
> >> >          java.util.MissingResourceException: Can't find resource 
> >> > for bundle java.util.PropertyResourceBundle, key 
> setCredError Fault 
> >> > detail:
> >> > <ns1:stackTrace xmlns:ns1="http://xml.apache.org/
> >> > axis/">java.rmi.RemoteException: Job creation failed.; nested 
> >> > exception is:
> >> >          org.globus.wsrf.ResourceException: ; nested 
> exception is:
> >> >          java.util.MissingResourceException: Can't find resource 
> >> > for bundle java.util.PropertyResourceBundle, key setCredError
> >> >          at
> >> > 
> org.globus.exec.service.factory.ManagedJobFactoryService.createMana
> >> > gedJo
> >> > b(ManagedJobFactoryService.java:366)
> >> >          at 
> sun.reflect.GeneratedMethodAccessor4787.invoke(Unknown
> >> > Source)
> >> >          at sun.reflect.DelegatingMethodAccessorImpl.invoke
> >> > (DelegatingMethodAccessorImpl.java:25)
> >> >          at java.lang.reflect.Method.invoke(Method.java:585)
> >> >          at 
> org.apache.axis.providers.java.RPCProvider.invokeMethod
> >> > (RPCProvider.java:384)
> >> >          at org.globus.axis.providers.RPCProvider.invokeMethodSub
> >> > (RPCProvider.java:107)
> >> >          at 
> >> > org.globus.axis.providers.PrivilegedInvokeMethodAction.run
> >> > (PrivilegedInvokeMethodAction.java:42)
> >> >          at 
> java.security.AccessController.doPrivileged(Native Method)
> >> >          at javax.security.auth.Subject.doAs(Subject.java:396)
> >> >          at org.globus.gsi.jaas.GlobusSubject.runAs
> >> > (GlobusSubject.java:55)
> >> >          at 
> org.globus.gsi.jaas.JaasSubject.doAs(JaasSubject.java:90)
> >> >          at org.globus.axis.providers.RPCProvider.invokeMethod
> >> > (RPCProvider.java:97)
> >> >          at 
> >> > org.apache.axis.providers.java.RPCProvider.processMessage
> >> > (RPCProvider.java:281)
> >> >          at org.apache.axis.providers.java.JavaProvider.invoke
> >> > (JavaProvider.java:319)
> >> >          at org.apache.axis.strategies.InvocationStrategy.visit
> >> > (InvocationStrategy.java:32)
> >> >          at
> >> org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
> >> >          at 
> org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
> >> >          at org.apache.axis.handlers.soap.SOAPService.invoke
> >> > (SOAPService.java:450)
> >> >          at 
> org.apache.axis.server.AxisServer.invoke(AxisServer.java:
> >> > 285)
> >> >          at org.globus.wsrf.container.ServiceThread.doPost
> >> > (ServiceThread.java:676)
> >> >          at org.globus.wsrf.container.ServiceThread.process
> >> > (ServiceThread.java:397)
> >> >          at org.globus.wsrf.container.GSIServiceThread.process
> >> > (GSIServiceThread.java:151)
> >> >          at org.globus.wsrf.container.ServiceThread.run
> >> > (ServiceThread.java:302)
> >> > Caused by: org.globus.wsrf.ResourceException: ; nested 
> exception is:
> >> >          java.util.MissingResourceException: Can't find resource 
> >> > for bundle java.util.PropertyResourceBundle, key setCredError
> >> >          at
> >> > 
> org.globus.exec.service.exec.ManagedExecutableJobResource.initSecur
> >> > ity
> >> > (ManagedExecutableJobResource.java:354)
> >> >          at
> >> > 
> org.globus.exec.service.exec.ManagedExecutableJobResource.initializ
> >> > e
> >> > (ManagedExecutableJobResource.java:191)
> >> >          at
> >> > 
> org.globus.exec.service.exec.ManagedExecutableJobResource.initializ
> >> > eWhol
> >> > eState(ManagedExecutableJobResource.java:162)
> >> >          at
> >> > 
> org.globus.exec.service.exec.PersistentManagedExecutableJobResource
> >> > .init
> >> > ializeWholeState(PersistentManagedExecutableJobResource.java:154)
> >> >          at
> >> > org.globus.exec.service.exec.ManagedExecutableJobHome.create
> >> > (ManagedExecutableJobHome.java:333)
> >> >          at
> >> > 
> org.globus.exec.service.factory.ManagedJobFactoryService.createMana
> >> > gedJo
> >> > b(ManagedJobFactoryService.java:312)
> >> >          ... 22 more
> >> > Caused by: java.util.MissingResourceException: Can't 
> find resource 
> >> > for bundle java.util.PropertyResourceBundle, key setCredError
> >> >          at
> >> java.util.ResourceBundle.getObject(ResourceBundle.java:325)
> >> >          at
> >> java.util.ResourceBundle.getString(ResourceBundle.java:285)
> >> >          at org.globus.util.I18n.getMessage(I18n.java:97)
> >> >          at
> >> > org.globus.delegation.service.DelegationResource.addListener
> >> > (DelegationResource.java:214)
> >> >          at
> >> > 
> org.globus.delegation.service.DelegationResource.addRefreshListener
> >> > (DelegationResource.java:187)
> >> >          at
> >> > org.globus.delegation.DelegationUtil.registerDelegationListener
> >> > (DelegationUtil.java:167)
> >> >          at
> >> > 
> org.globus.exec.service.utils.DelegatedCredential.getDelegatedCrede
> >> > ntial
> >> > (DelegatedCredential.java:179)
> >> >          at
> >> > 
> org.globus.exec.service.job.ManagedJobResourceImpl.getJobCredential
> >> > (ManagedJobResourceImpl.java:421)
> >> >          at
> >> > 
> org.globus.exec.service.exec.ManagedExecutableJobResource.initSecur
> >> > ity
> >> > (ManagedExecutableJobResource.java:346)
> >> >          ... 27 more
> >> > </ns1:stackTrace>
> >> >
> >> > The GT version is 4.0.3
> >> >
> >> > the Job description is
> >> > <job>
> >> > <!--Auto Generated by Ryan Zhang--> 
> >> > <executable>Launch/node</executable>
> >> > <directory>${GLOBUS_USER_HOME}/</directory>
> >> > <argument>/home/yzhang8/output/job1_1.res</argument>
> >> > <argument>4</argument>
> >> > <argument>12</argument>
> >> > <argument>0.5</argument>
> >> > <queue>interactive</queue>
> >> > <maxWallTime>6</maxWallTime>
> >> > </job>
> >> >
> >> > I am not the admin so I am not sure where to find the 
> container log.
> >> > This error doesn't show up every time. I hope this helps and any 
> >> > suggestion on what leads to this is helpful.
> >> >
> >> > -Ryan
> >> >
> >> >
> >> > On Sep 23, 2007, at 8:47 PM, [EMAIL PROTECTED] wrote:
> >> >
> >> >> Ryan,
> >> >> I don't know GRAMClient and we don't support it.
> >> >> If this also happens with globusrun-ws please send the 
> submission 
> >> >> command, the GT version, the job description document 
> you're using 
> >> >> and the output in the container logfile.
> >> >> -Martin
> >> >>
> >> >>> Hi Martin,
> >> >>>        I got the following error when I try to submit 
> job through GT4
> >> >>>
> >> >>> org.globus.wsrf.ResourceException: ; nested exception is:
> >> >>>          java.util.MissingResourceException: Can't 
> find resource 
> >> >>> for bundle java.util.PropertyResourceBundle, key setCredError
> >> >>>          at GRAMClient.processJob(GRAMClient.java:240)
> >> >>>          at GRAMClient.submitRSL(GRAMClient.java:183)
> >> >>>          at GRAMClient.main(GRAMClient.java:398)
> >> >>>
> >> >>> I wonder if you know what does that mean and how to correct it?
> >> Thank
> >> >>> you very much.
> >> >>>
> >> >>> -Ryan
> >> >>>
> >> >>>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
> >
> 
> 

Reply via email to