[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
RMI Stub not found using Quartz 1.7.1  XML
Forum Index -> Quartz
Author Message
neillott

neo

Joined: 01/27/2010 12:17:20
Messages: 1
Offline

Hi,

I'm seeing this exception in the log:

Caused by: org.quartz.SchedulerException: Unable to bind scheduler to RMI Registry. [See nested exception: java.rmi.StubNotFoundException: Stub class not found: org.quartz.core.QuartzScheduler_Stub; nested exception is:
java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub]
at org.quartz.core.QuartzScheduler.<init>(QuartzScheduler.java:188)
at org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1196)
at org.quartz.impl.StdSchedulerFactory.getScheduler(StdSchedulerFactory.java:1393)
at org.springframework.scheduling.quartz.SchedulerFactoryBean.createScheduler(SchedulerFactoryBean.java:600)
at org.springframework.scheduling.quartz.SchedulerFactoryBean.afterPropertiesSet(SchedulerFactoryBean.java:481)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1398)
... 15 more
Caused by: java.rmi.StubNotFoundException: Stub class not found: org.quartz.core.QuartzScheduler_Stub; nested exception is:
java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub
at sun.rmi.server.Util.createStub(Util.java:274)
at sun.rmi.server.Util.createProxy(Util.java:122)
at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:179)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:293)
at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:220)
at org.quartz.core.QuartzScheduler.bind(QuartzScheduler.java:298)
at org.quartz.core.QuartzScheduler.<init>(QuartzScheduler.java:186)
... 21 more
Caused by: java.lang.ClassNotFoundException: org.quartz.core.QuartzScheduler_Stub
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at sun.rmi.server.Util.createStub(Util.java:268)
... 27 more

I looked and I see in 1.6.5 this class exists in the quartz-all-1.6.5.jar and based on the build.xml I'm seeing this:

<target name="compile" depends="checkstyle,common.compile" description="compile main project and plugin source files">

<rmic classname="org.quartz.core.QuartzScheduler" classpath="${build.java}" base="${build.java}"/>

Is this something that will be added to the maven build for 1.7.1 or did the RMI support get completely removed?

Thanks,

Neil
jhouse

seraphim
[Avatar]
Joined: 11/06/2009 15:29:56
Messages: 1703
Offline


This has been an oversight that was missed due to a flaw I just discovered in my test script (which erroneously finds an old build of the rmi stubs in it's classpath).

We'll try to get it straightened out ASAP.


james
 
Forum Index -> Quartz
Go to:   
Powered by JForum 2.1.7 © JForum Team