cancel
Showing results for 
Search instead for 
Did you mean: 

Job Executor - class loader problem

mariusz_cwikla
Champ in-the-making
Champ in-the-making
Hello,
I have problem using Job Executor in OSGi environment.

I have following diagram:

… -> [TimerCatchingEvent] -> [UserTask] -> …
User task has an associated listener. If I use timer events, then job executor could not instantiate my listener (it can't find my class). If I remove timer event, then everything runs fine, so I think, that job executor uses different class loader.

Is there a way to set up custom class loader for job executor?
3 REPLIES 3

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
why a custom classloader? Just make sure your class is on the classpath of where the jobexecutor is started

rahulkrs
Champ in-the-making
Champ in-the-making
Did you solve this issue in OSGI? I am also getting a similar problem.

martin_grofcik
Confirmed Champ
Confirmed Champ
Is it possible to create jUnit test?