Project

General

Profile

Actions

Bug #3435

closed

SSH Adaptor no thread-safe

Added by Scardaci Diego over 12 years ago. Updated over 11 years ago.

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

Also available in: Atom PDF