1 Reply Latest reply on Apr 20, 2005 12:12 PM by Scott Queen

    Can't deploy EJB WebService

    Scott Queen Newbie

      I'm trying to deploy an EJB service endpoint webservice; I've followed the example shown from the Wiki site (http://www.jboss.org/wiki/Wiki.jsp?page=WSServerEJB) line-by-line using my own EJB (which is just about as simple as that used in the example). However, when I try to deploy, I'm getting the following error:

      07:55:07,419 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-4.0.0/server/default/deploy/JBossWebServices.ear
      07:55:07,689 WARN [verifier] EJB spec violation:
      Bean : DbConnection
      Section: 7.10.1
      Warning: The session bean must implement either a remote home and remote, or a local home and a local interface.

      07:55:07,689 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-4.0.0/server/default/tmp/deploy/tmp52230JBossWebServices.ear-contents/JBossWebServices-ejb.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:553)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:889)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:881)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:745)

      I expected that the <service-endpoint> tag replaced the need for the <home...> and <remote....> tags.

      Anyone have any direction that might help me get this thing deployed?
      Scott