0 Replies Latest reply on Jun 13, 2016 1:28 PM by Enrique Gretter

    Problema con javax.naming.NameNotFoundException: comp/env

    Enrique Gretter Newbie

      Hola!!  Tengo una aplicación que realice el deploy en un JBoss 4.2.3 sin probelmas, pero al hacerlo en un WildFly 8.0 me da el error

       

      javax.naming.NameNotFoundException: comp/env -- service jboss.naming.context.java.comp.env

      2016-06-13 13:59:22,009 ERROR [stderr] (default task-34)     at org.jboss.as.naming.ServiceBasedNamingStore.lookup(ServiceBasedNamingStore.java:104)

      2016-06-13 13:59:22,009 ERROR [stderr] (default task-34)     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:202)

      2016-06-13 13:59:22,009 ERROR [stderr] (default task-34)     at org.jboss.as.naming.InitialContext$DefaultInitialContext.lookup(InitialContext.java:233)

      2016-06-13 13:59:22,009 ERROR [stderr] (default task-34)     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:188)

      2016-06-13 13:59:22,010 ERROR [stderr] (default task-34)     at org.jboss.as.naming.NamingContext.lookup(NamingContext.java:184)

      2016-06-13 13:59:22,010 ERROR [stderr] (default task-34)     at javax.naming.InitialContext.lookup(InitialContext.java:411)

      2016-06-13 13:59:22,010 ERROR [stderr] (default task-34)     at javax.naming.InitialContext.lookup(InitialContext.java:411)

       

       

      Como lo puedo solucionar?