javax.naming.NameNotFoundException: class uy.com.its.util.Scheduler not bound
at org.jnp.server.NamingServer.getBinding(NamingServe r.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServe r.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer .java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.ja va:296)
at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingCont ext.java:587)
at javax.naming.InitialContext.lookup(InitialContext. java:392)
at uy.com.its.util.InitAppServlet.init(InitAppServlet .java:44)
at javax.servlet.GenericServlet.init(GenericServlet.j ava:211)
el metodo init es este
Código:
necesito gelp!!!!public void init() throws ServletException { log.info("InitAppServlet - init"); try { alarmScheduler = (IScheduler) ctx.lookup(jndiPrefix + Scheduler.class.getName()); } catch (NamingException e) { log.error("InitAppServlet - NamingException",e); } log.info("InitAppServlet - starting alarm scheduling notification."); // start up alarm scheduler alarmScheduler.startUpTimer(); }
saludos y gracias