1 Reply Latest reply on Feb 6, 2006 9:09 PM by Alejandro Guizar

    BPEL onAlarm -  context lookup error

    Adrian Andrei Newbie

      Hi,

      I try the BPEL extension with an example that uses timer (onAlarm) events. In runtime I get the error:

      Caused by: javax.naming.NameNotFoundException: Scheduler not bound
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:514)
       at org.jnp.server.NamingServer.getBinding(NamingServer.java:522)
       at org.jnp.server.NamingServer.getObject(NamingServer.java:528)
       at org.jnp.server.NamingServer.lookup(NamingServer.java:281)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:610)
       at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:572)
       at javax.naming.InitialContext.lookup(InitialContext.java:351)
       at org.jbpm.bpel.scheduler.exe.AlarmInstance.start(AlarmInstance.java:48)
       ... 62 more
      


      AlarmInstance.java lookup searches the Scheduler interface, none is found.
       SchedulerHome schedulerHome =
       (SchedulerHome)PortableRemoteObject.narrow(
       context.lookup("Scheduler"), SchedulerHome.class);
      


      Any help on what is the module that my local JBoss 4.0.3 is missing, or what other cause this issue this will be greatly appreciated.

      Regards,
      AA