1 Reply Latest reply on Jun 24, 2003 5:12 AM by Adrian Brock

    Exposing ejb as webservices

    sathish Newbie

      I have deployed an hellobean.ear in server\all\deploy folder, i am able to excute the program but i am getting the following exception in the console,

      14:12:42,140 INFO [EJBDeployer] Deployed: file:/D:/work/jbossmigration/jboss/se
      rver/all/tmp/deploy/server/all/deploy/HelloEJB.ear/57.HelloEJB.ear-contents/Hell
      oEJB.jar
      14:12:42,250 WARN [NestedThrowable] Duplicate throwable nesting of same base ty
      pe: class org.jboss.deployment.DeploymentException is assignable from: class org
      .jboss.deployment.DeploymentException
      14:12:42,250 WARN [EmbeddedCatalinaService41] Failed to parse descriptors for w
      ar(file:/D:/work/jbossmigration/jboss/server/all/tmp/deploy/server/all/deploy/He
      lloEJB.ear/57.HelloEJB.ear-contents/HelloEJB.war)
      org.jboss.deployment.DeploymentException: Failed to parse WEB-INF/jboss-web.xml;
      - nested throwable: (org.jboss.deployment.DeploymentException: ejb-ref Hello fo
      und in jboss-web.xml but not in web.xml)
      at org.jboss.web.AbstractWebContainer.parseMetaData(AbstractWebContainer
      .java:877)
      at org.jboss.web.AbstractWebContainer.start(AbstractWebContainer.java:35
      ......

      can anyone help me out.