Foros del Web » Programación para mayores de 30 ;) » Java »

TimeService EJB y Jboss

Estas en el tema de TimeService EJB y Jboss en el foro de Java en Foros del Web. hola estoy intentando hacer levantar un TimeService en mi jboss pero no logro hacerlo me da el siguiente error javax.naming.NameNotFoundException: class uy.com.its.util.Scheduler not bound at ...
  #1 (permalink)  
Antiguo 14/05/2008, 12:51
Avatar de djagu_26  
Fecha de Ingreso: enero-2008
Ubicación: Montevideo, Uruguay
Mensajes: 518
Antigüedad: 16 años, 3 meses
Puntos: 6
TimeService EJB y Jboss

hola estoy intentando hacer levantar un TimeService en mi jboss pero no logro hacerlo me da el siguiente error

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:
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();   
    }
necesito gelp!!!!

saludos y gracias
__________________
"La magia no existe, la programacion si"

A/P Agustin Sivoplas
[email protected]
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 14:54.