1 Reply Latest reply on Oct 22, 2002 5:01 AM by Juha Lindfors

    Does JBoss 3.0 Support <env-entry> in session bean

    Roman Lee Newbie

      I had added a <env-entry> elements in DD and writed a session bean to access this environment variable. But it doesn't work. Does JBoss 3.0 Support <env-entry> in session bean? the following are my DD and bean code. Thanks for any replies.
      A String Test
      <env-entry-value>Hi Roman</env-entry-value>
      Context initCtx = new InitialContext();
      String str = (String) initCtx.lookup("java:comp/env/RSTLang");
      } catch (javax.naming.NamingException e){