1 Reply Latest reply on Aug 16, 2002 5:32 AM by Shaun Appleton

    no ejb-link match

    Shaun Appleton Newbie

      When I deploy my *.war file I get the following error:

      2002-08-16 09:17:59,890 ERROR [org.jboss.deployment.MainDeployer] could not start deployment: file:/C:/jboss-3.0.0_tomcat-4.0.3/server/default/deploy/jemsBank.war
      org.jboss.deployment.DeploymentException: Error during deploy; - nested throwable: (javax.naming.NamingException: ejb-ref: Account, no ejb-link match, use jndi-name in jboss-web.xml)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:309)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481)

      I am using the following jboss-web.xml file (based upon the one in the JBoss template) which defines Account as the jndi-name:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE jboss-web
      PUBLIC "-//JBoss//DTD Web Application 2.3//EN"




      can anybody tell me what I am doing wrong.

      Thanks in advance,