2 Replies Latest reply on Aug 10, 2006 8:30 PM by Koh Chong Ming

    No ejb-link in web.xml and jndi-name in jboss-web.xml

    Koh Chong Ming Newbie

      hi guys, i have a qns hope some of you will reply me.

      I have just deploy an ear file in jboss4.0.3 and it give these errors.

      Caused by: javax.naming.NamingException: ejb-ref: ejb/MyMusicCart, No ejb-link in web.xml and jndi-name in jboss-web.xml.

      I have check the web.xml and i do have state the ejb-ref-name of the specific bean. However i do not have the jboss-web.xml file cos i read that jboss will auto configure the jndi.

      Can anyone of you help me please? i can put up more codes if u guys request to.

      partial codes for web.xml


      codes for ejb-jar for MusicCart