0 Replies Latest reply on Mar 25, 2002 5:43 PM by bart.haccuria

    env-entry in Session Bean

    bart.haccuria Newbie

      using jboss 3.0.0beta2
      does someone knows how you can get an "env-entry" of a session-bean ?

      ->binding is ok according server log-file
      2002-03-25 23:27:58,114 DEBUG [org.jboss.ejb.StatelessSessionContainer] Begin java:comp/env for EJB: UIDHighKeyGenerator
      ...
      2002-03-25 23:27:58,114 DEBUG [org.jboss.ejb.StatelessSessionContainer] Binding env-entry: DBNameColumn of type: java.lang.String to value:NAME
      ...
      2002-03-25 23:27:58,124 DEBUG [org.jboss.ejb.StatelessSessionContainer] End java:comp/env for EJB: UIDDispenserServerTestBean

      ->but [return (String) ContextUtil.getInitContext().lookup("java:comp/env/DBNameColumn");] throws an javax.naming.NameNotFoundException !!!???