1 Reply Latest reply on Aug 2, 2003 7:17 AM by Colin Thorburn

    Entity Home business method results in EJBP Spec violation d

    Colin Thorburn Newbie

      I have just tried this simple BMP entity bean experiment:


      [Remote Home interface] public void x() throws RemoteException;

      [Local Home interface] public void x();

      [Bean Implementation] public void x() {}


      This is is the first time I've had cause to implement a home business method, and I'd like to make extensive use of the facility.
      I thought JBoss was supposed to be EJB2.0 compliant? I suspect it's me that's not.
      I can't for the life of see what I'm doing wrong - please point me in the right direction!

      Many Thanks In Advance.



      17:50:19,727 WARN [verifier] EJB spec violation:
      Bean : SupplierRequestStatus
      Method : public abstract void x() throws RemoteException
      Section: 12.2.9
      Warning: Each home method must match a method defined in the entity bean class.

      17:50:20,180 ERROR [MainDeployer] could not create deployment: file:/D:/jboss-3.2.2RC1/server/dorfq/tmp/deploy/tmp21821websrv.ear-contents/w
      ebsrv-ejb.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:487)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:774)
      at org.jboss.deployment.MainDeployer.create

      ...blah blah blah