Actions
Bug #3435
closedSSH Adaptor no thread-safe
Status:
Rejected
Priority:
High
Assigned To:
Category:
Non-grid adaptors
Target version:
Start date:
11/15/2012
Due date:
% Done:
0%
Estimated time:
Description
Dear All,
I experienced a problem using the SSH adaptor in a multi-thread program.
In particular I noticed that I have to put all the call to Job class methods inside synchronized blocks as:
if (adaptor.equals("ssh")) {
synchronized (JSagaJobSubmission.class) {job.run();}
}
else
job.run();
to avoid error.
Cheers,
Diego
Actions