2 Replies Latest reply on Jun 26, 2003 11:22 AM by grnath

    Basic deployment question

    grnath

      Hi all,

      I am runnig simple helloworld stateless session bean example, I have home, remote interfaces, bean calss and ejb-jar.xml. I made a jar file and trying to deploy it by placing in server/default/deploy but I am getting this error while deploying.

      14:20:15,820 WARN [verifier] EJB spec violation:
      Bean : MessageEJB
      Section: 22.2
      Warning: The Bean Provider must specify the fully-qualified name of the Java cla
      ss that implements the enterprise bean's business methods in the <ejb-class> ele
      ment.
      Info : Class not found: com.eia.TestEJB.MessageBean

      14:20:15,820 ERROR [MainDeployer] could not create deployment: file:/C:/jboss-3.
      2.1/server/default/deploy/Message.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
      d, see above for error messages.

      but I have same name and path for MessageBean in <ejb-class> of ejb-jar.xml.

      Any help is greatly appriciated.

      Thank you very much
      grnath

        • 1. Re: Basic deployment question
          jonlee

          It could not find that class in the JAR. Are you sure that the class, with full directory representation for the fully qualified name, is present in the JAR, with preservation of the case you have used in ejb-jar.xml?

          Also post your ejb-jar.xml, if the rest checks out.

          • 2. Re: Basic deployment question
            grnath

            Thanks for your reply. I got the problem fixed, i didint gave the correct path.

            thanks