3 Replies Latest reply on Oct 1, 2003 12:40 AM by null null

    env-entry EJB not bound

    null null Newbie

      I have put the following code in ejb-jar.xml

      <env-entry>
      Select
      <env-entry-name>SQLSelect</env-entry-name>
      <env-entry-type>java.lang.String</env-entry-type>
      <env-entry-value>MyValue</env-entry-value>
      </env-entry>


      and in jboss.xml

      <resource-ref>
      <res-ref-name>SQLSelect</res-ref-name>
      <resource-name>Select</resource-name>
      </resource-ref>


      When I try to recall SQLSelect value : MyValue
      from a EJB bean
      I get
      NamingException javax.naming.NameNotFoundException: SQLSelect not bound

      Can u help me?

      Thanks.

      C