Products | Versions |
---|---|
TIBCO DataSynapse GridServer | - |
Not Applicable | - |
Resolution:
On the Engine side of a Java Service which recursively submits a Job, it may fail when TaskException.getTaskInput throws a ClassNotFoundException.
To solve this issue, change your code around getTaskInput() as follows. Replace
TaskInput input = e.getTaskInput();
with
IByteSource src = e.getByteSource();
TaskInput input = (TaskInput) BasicByteSupport.inflateObj( src.getBytes(), getClass().getClassLoader(), src.getCompress());