0 Replies Latest reply on Sep 1, 2004 3:28 PM by jgkenned

    Connecting to EJB's in a Schedulable class

    jgkenned Newbie

      I am successfully doing this using a jndi lookup like this:

      Object ref = initCtx.lookup("/ejb/myEJBBla");

      I'm having, what I think is a firing order issue with JBOSS. When I retrieve an EJB home interface within the constructor of a class that implements Schedulable, I get classdefnotfound errors.

      I believe this is caused because the ejb container coming up after the mbean for the "Schedulable" tasks.

      Can I change this order?
      Should I? I have work-arounds, but they suck.