cancel
Showing results for 
Search instead for 
Did you mean: 

ClassNotFound Exception for a service task after timer task

sugandhagupta
Champ in-the-making
Champ in-the-making
Hi,

I have been trying to create a process that has a timer task followed by a service task.
The entire process before the timer task executes fine, but as soon as the timer exhausts, the java class for the service task after the timer does not get initialized and throws a
Runtime exception
. This causes the process to terminate right there and not proceed further.

Every time i run the process the issue is the same.
Could you help me figure out what i am missing and how can i rectify this situation.

Thanks in advance.
3 REPLIES 3

pmunerotsg
Champ in-the-making
Champ in-the-making
Hello, are you sure that your service class is indeed in the classpath? It seems the actual class seems to be missing as the ClassNotFoundException suggests.

Regards,
Pascal

sugandhagupta
Champ in-the-making
Champ in-the-making
Thank you for responding.
The classpath has been set for this service task. The service task gets executed if i remove the timer and let the process continue as it is.
Its just any service task after the timer that creates this issue.
A mail task after the timer works fine, but not a service task followed after.

jbarrez
Star Contributor
Star Contributor
>  a Runtime exception.

Could you give the full stack trace of the exception(s) happening?