1 Reply Latest reply on Jan 8, 2005 11:08 PM by bluezero000

    The remote interface must extend the javax.ejb.EJBObject int

    bluezero000

      I have JBoss [WonderLand] 3.2.5 (build: CVSTag=JBoss_3_2_5 date=200406251954). When I try to deploy an EAR, it fails on a Session Bean. The warnings/errors are:


      2005-01-08 21:33:16,210 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : DisplayCityBean
      Section: 7.10.5
      Warning: The remote interface must extend the javax.ejb.EJBObject interface.

      2005-01-08 21:33:16,210 WARN [org.jboss.ejb.EJBDeployer.verifier] EJB spec violation:
      Bean : DisplayCityBean
      Method : public native int hashCode()
      Section: 7.10.5
      Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws clause.
      ...
      2005-01-08 21:33:16,370 ERROR [org.jboss.deployment.MainDeployer] could not create deployment: file:/C:/jboss/server/default/tmp/deploy/tmp38291UMS.ear-contents/UMSEJB.jar
      org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages.
      at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:517)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:790)
      at org.jboss.deployment.MainDeployer.create(MainDeployer.java:782)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:644)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)


      Can someone give me a clue what's going on? Thanks a lot.