Bug 6172

Summary: Bad error message for "file not found"
Product: GRAM Reporter: Charles Bacon <bacon@mcs.anl.gov>
Component: wsrf gram clientsAssignee: Joe Bester <bester@mcs.anl.gov>
Status: RESOLVED FIXED    
Severity: normal CC: bester@mcs.anl.gov, feller@mcs.anl.gov, madduri@mcs.anl.gov, smartin@mcs.anl.gov
Priority: P3    
Version: 4.2.0   
Target Milestone: 4.2.1   
Hardware: Macintosh   
OS: All   

Description From 2008-06-19 15:27:54
elephant % globusrun-ws -submit -S -f a.rsl
globusrun-ws: Error loading rsl
globus_soap_message_module: Failed to initialize soap message handle: Failed 
to open XIO handle


I'd expect something like "a.rsl: no such file" or "file not found" or
something.
------- Comment #1 From 2008-07-16 09:28:35 -------
Committed changes to globus_c_ws_messaging to add xio error as a causal error,
and to globus_globusrun_ws to use the system errno-related string from the xio
error to form the error message. For example, the new message for file not
found is

globusrun-ws: Error opening job description file a.rsl: No such file or
directory

This is a 4.2.0 only fix. 4.0.x returned the XIO error directly instead of a
globus_c_ws_messaging-related error object  so that the error message contained
the info (though not as concisely):
globusrun-ws: Error loading rsl
globus_xio: Unable to open file a.rsl
globus_xio: System error in open: No such file or directory
globus_xio: A system call failed: No such file or directory