Classloader problems

57 views
Skip to first unread message

epp...@gmail.com

unread,
Sep 8, 2014, 5:35:06 AM9/8/14
to js...@googlegroups.com
Hello,

I have a problem and was hoping someone here knows the answer :)

My project exists of a 'core' and some ' modules'. These modules are Plugins using the JSPF framework. On start up the 'core' will search for module jar files in a certain path and tries to load them. The 'core' uses the scheduling library Quartz. Now did I create a new module which consists of some Quartz jobs. The problem is that on initiation of the Quartz scheduler it cannot resolve the job classes used in the new module. (The modules will be loaded before Scheduler initialization). This is due the fact that the JSPF framework will load each Module with its own classloader and when the Quartz scheduler inits the used classloader does not known any of the modules classes. How can I solve this?

Thanks!
Reply all
Reply to author
Forward
0 new messages