2 Replies Latest reply on Jan 28, 2006 10:00 PM by Scott Stark

    Failed to setup client ENC

    Matt Galloway Newbie


      I am new to JBoss and J2EE and am trying to get the Duke's Bank App working. I'm doing everything according to the documentation and have no problems until I try to deploy. The deployment fails with the following:

      00:26:12,403 WARN [NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.
      deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException

      00:26:12,407 ERROR [MainDeployer] could not start deployment: file:/opt/jboss-4.0.0/server/default/t
      mp/deploy/tmp43459DukesBankApp.ear-contents/DukesBankACJAR.jar
      org.jboss.deployment.DeploymentException: Failed to setup client ENC; - nested throwable: (org.jboss
      .deployment.DeploymentException: ejb-ref ejb/accountController, expected either ejb-link in ejb-jar.
      xml or jndi-name in jboss.xml)

      Can any of you EJB experts throw me and bone and point me in a direction. Is this really a problem with the Deployment Descriptor and JNDI/ENC (becuase I didn't write (or yet understand) the code provided by Sun & JBoss) or is does the failing have to do with the preceding warning?

      Any help would be appreciated.

      Thanks,

      Matt