0 Replies Latest reply on Jan 14, 2006 11:15 AM by Shawn Garner

    env not bound

    Shawn Garner Newbie

      I have in my web.xml:

      Sets the logging context for the Change Form Application

      Then in java:

      Context initCtx = new InitialContext();
      Context envCtx = (Context) initCtx.lookup("java:comp/env");
      loggingContextName = (String) envCtx.lookup("logging-context");
      System.out.println("Found JDNIRS: java:comp/env");

      This is throwing a NamingException saying: env not bound

      I'm new to JBoss can somebody help me?