Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357330 - [JAXB] Unable to submit interactive job
Summary: [JAXB] Unable to submit interactive job
Status: RESOLVED FIXED
Alias: None
Product: PTP
Classification: Tools
Component: RM (show other bugs)
Version: 5.0.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 5.0.2   Edit
Assignee: Greg Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-11 12:48 EDT by Greg Watson CLA
Modified: 2011-09-11 13:13 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg Watson CLA 2011-09-11 12:48:59 EDT
Attempting to submit an interactive job results in a message "ERROR: invalid account for user ".
Comment 1 Greg Watson CLA 2011-09-11 12:52:58 EDT
The arguments to a submit command (e.g. <arg>-A  ${ptp_rm:Account_Name#value}</arg>) are passed verbatim to the remote command. This is equivalent to surrounding the arguments with quotes on the command-line (e.g. qsub -I "-A account"), which will result in the same error. The solution is to split the argument on spaces (taking into account escaping) and passing each argument separately.
Comment 2 Greg Watson CLA 2011-09-11 13:13:25 EDT
Fixed in ptp_5_0 and HEAD.