0 Replies Latest reply on Dec 16, 2002 9:05 PM by Ivy Lim

    War files: no ejb-link match

    Ivy Lim Newbie

      Hi people,

      I'm currently using JBoss 3.0 on Windows 2000.

      I've deployed various EJBs via XDoclet with success, but now I've decided to use a web client....which I'm not familiar with in JBoss env as I'm newbie in JBoss.

      I used a ear file. The ear file consists of the EJBs in jar and web client side in war file.

      Here's what the war file contains: -

      web-inf - jboss-web.xml, web.xml

      Is this the structure?

      Here's what my web.xml looks like: -


      <display-name>Web Client</display-name>

      <!-- The Welcome File List -->



      And the jboss-web.xml: -




      My Session bean XDoclet comments: -

      * @ejb:bean name="dog/DogSession"
      * display-name="Dog Session"
      * type="Stateless"
      * view-type="remote"
      * jndi-name="ejb/dog/DogSession"

      Here is my error upon deployment: -

      17:01:23,374 ERROR [MainDeployer] could not start deployment: njar:file:/D:/jboss-3.0.0_tomcat-4.0.3 /server/default/tmp/deploy/server/default/deploy/ejb-test.ear/84.ejb-test.ear^/web-client.war

      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: ejb/webtest/DogSession, no ejb-link match, use jndi-name in jboss-web.xml)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:309)

      I believe the server side works well as I've tested with an EJB client before. Only the web client is not working.