2 Replies Latest reply on Sep 8, 2004 4:35 PM by kyleyj

    EJB Deployment Error

    kyleyj

      Upon the release of JBoss 4.0 RC2, I've downloaded and deployed my EJBs that worked with 3.2.3 into 4.0, but I get the following error:

      Failed to setup client ENC; - nested throwable: (org.jboss.deployment.DeploymentException: ejb-ref ejb/jdelphi-utility, expected either ejb-link in ejb-jar.xml or jndi-name in jboss.xml)

      I'm not quite sure what that means and if it is correct because I have the jndi-name defined in the jboss.xml already. And by adding the ejb-link to the ejb-jar.xml it doesn't change the error.

      Any ideas? Is this error correct? or am I missing something else that was added to change the behavior from 3.2.3 to 4.0 RC2?

      Cheers!
      Kyley

        • 1. Re: EJB Deployment Error
          kabirkhan

          You need to create an entry in your jboss-web.xml (if you are using a web client) or your jboss-client.xml (if you are using an application-client)

          • 2. Re: EJB Deployment Error
            kyleyj

            Is this something that is new to 4.0 (because I notice there exists a 3_2.dtd and 4_0.dtd) or did the dependency on this change.

            Thanks for your reply -- I'll give it a try.

            Cheers!
            Kyley