0 Replies Latest reply on Apr 9, 2003 6:50 AM by crishantha

    javax.naming.NameNotFoundException

    crishantha

      Hi,

      I have a Session Bean which has the following JNDI mappings.

      web.xml
      ---------
      <ejb-ref>
      <ejb-ref-name>ejb/webtest/AdminSession</ejb-ref-name>
      <ejb-ref-type>Session</ejb-ref-type>
      com.arasys.server.admin.AdminManagerHome
      com.arasys.server.admin.AdminManager
      </ejb-ref>

      jboss-web
      ----------
      <ejb-ref>
      <ejb-ref-name>ejb/webtest/AdminSession</ejb-ref-name>
      <jndi-name>ejb/com/arasys/server/admin/AdminManager</jndi-name>
      </ejb-ref>

      But when I run the appliation I do ge the following error,

      16:48:04,046 INFO [STDOUT] Exception **: javax.naming.NameNotFoundException: co
      mp not bound

      What do i do wrong here?

      Regards
      Crishantha