1 2 Previous Next 18 Replies Latest reply on Feb 20, 2013 7:47 PM by jonathanmclarke

    Only in Seam 2.3.0.Final, and not Seam 2.2.2.Final: java.lang.ClassCastException: org.jboss.seam.async.ThreadPoolDispatcher_$$_javassist_seam_2 cannot be cast to org.jboss.seam.async.QuartzDispatcher

    jonathanmclarke

      Dear All,

       

      I have a very simple piece of code:

       

      QuartzDispatcher fQuartzDispatcher = QuartzDispatcher.instance();
      Scheduler fScheduler = fQuartzDispatcher.getScheduler();

       

      Now, this works under Seam 2.2.2.Final, but not Seam 2.3.0.Final. The standard  <async:quartz-dispatcher/> declaration has been made in components.xml. The only other difference is that the 2.2.2.Final is running under JBoss 5.1.0.GA, and the 2.3.0.Final is running under 7.1.1.Final. However, using the latter configuration, I get:

       

      java.lang.ClassCastException: org.jboss.seam.async.ThreadPoolDispatcher_$$_javassist_seam_2 cannot be cast to org.jboss.seam.async.QuartzDispatcher

       

      Any ideas?

       

      Thanks in advance,

      Jonathan.

        1 2 Previous Next