title: Quartz - ClassCastException
body: <p>I am using Jboss5.1.x , EJB3.0
  I am trying to configure Quartz.
  I get this exception when I try to do lookup:</p>
  
  <pre><code>       InitialContext ctx = new InitialContext();
          StdScheduler scheduler = (StdScheduler) ctx.lookup("Quartz");
  </code></pre>
  
  <p>this is the exception:</p>
  
  <blockquote>
    <p>java.lang.ClassCastException: org.quartz.impl.StdScheduler cannot be cast to org.quartz.Scheduler</p>
  </blockquote>
  
  <p>anyone has any idea?</p>
  
  <p>Thanks.</p>