7 Replies Latest reply on Jan 29, 2004 8:49 PM by Andre Fernandes

    Jboss 3.2.1 Ejb1.1 Session Bean Deployment Problem

    Manish Jain Newbie

       

      "mjain" wrote:
      Hi

      I am trying to deploy a Session Bean (EJB 1.1 COmpliant) on JBoss 3.2.1. I keep getting the Following error :

      12:11:39,373 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss
      -3.2.1/server/default/deploy/companyFacade.jar
      12:11:39,560 WARN [verifier] EJB spec violation:
      Bean : CompanyFacade
      Section: 16.2
      Warning: The Bean Provider must specify the fully-qualified name of the Java cla
      ss that implements the enterprise bean's business methods.

      12:11:39,560 WARN [verifier] EJB spec violation:
      Bean : CompanyFacade
      Section: 16.2
      Warning: The Bean Provider must specify the fully-qualified name of the enterpri
      se bean's home interface in the home element.

      12:11:39,576 WARN [verifier] EJB spec violation:
      Bean : CompanyFacade
      Section: 16.2
      Warning: The Bean Provider must specify the fully-qualified name of the enterpri
      se bean's remote interface in the remote element.

      12:11:39,576 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-3.
      2.1/server/default/deploy/companyFacade.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans faile
      d, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:487)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:784)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:613)
      at java.lang.reflect.Method.invoke(Native Method)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBea


      Here's the descriptor file which i am using:

      <?xml version="1.0"?>
      <!DOCTYPE ejb-jar
      PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN"
      "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd"
      >

      <ejb-jar>
      <enterprise-beans>
      <session>
      <ejb-name>CompanyFacade</ejb-name>
      <home>com.myCompany.directory.company.facade.CompanyFacadeHome</home>
      <remote>com.myCompany.directory.company.facade.CompanyFacade</remote>
      <ejb-class>com.myCompany.directory.company.facade.CompanyFacadeBean</ejb-class>
      <session-type>Stateless</session-type>
      <transaction-type>Container</transaction-type>
      </session>
      </enterprise-beans>

      <assembly-descriptor>
      <method>
      <ejb-name>CompanyFacade</ejb-name>
      <method-name>*</method-name>
      </method>
      </assembly-descriptor>
      </ejb-jar>


      Any help would be appreciated

      Thanx