Hi,
i want to use RMI to start/stop jobs in my application. The following line throws an UnmarshalException:
Code:
JobDetail job = scheduler.getJobDetail(key);
Exeption:
Code:
Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
java.lang.ClassNotFoundException: de.csconnect.udb.business.dienste.impl.TestJob
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:178)
at org.quartz.core.QuartzScheduler_Stub.getJobDetail(Unknown Source)
at org.quartz.impl.RemoteScheduler.getJobDetail(RemoteScheduler.java:720)
... 2 more
I know that i cannot access the class TestJob (different codebase), but all i want is to use its interface JobDetail. Is there a way to tell RMi just to unmarshall the interface? Any other idea how this problem may be solved?
Thanks Björn