1 Reply Latest reply on Feb 18, 2005 5:59 AM by zdavidlnx

    JBoss Eclipse IDE Tutorial // FiboApp.ear

    timez

      Hi everbody!

      When I deploy the FiboApp.ear (from the JBoss Eclipse IDE tutorial) to the JBoss 3.2.6. (default configuration) I get following warning:

      20:05:17,788 INFO [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.6/server/default/deploy/FiboApp.ear

      20:05:18,819 WARN [verifier] EJB spec violation:
      Bean : Fibo
      Method : public abstract [D compute(int)
      Section: 7.10.5
      Warning: The methods in the remote interface must include java.rmi.RemoteException in their throws clause.


      Does anybody know why??

      Thanks for helping!

        • 1. Re: JBoss Eclipse IDE Tutorial // FiboApp.ear

          I dont know but ejb expecification says that all remote interface methods must throw (and declara with "throws java.rmi.RemoteException" the signature of all remote interface methods)

          The error indicates that one of the methods of the remote interface for the bean Fibo doesn`t do that)

          It might seems like an error in the declaration of fibo bean remote interface.
          Or at least it is what i think, but it is strange that this error could happend.

          If you have the source of the sample revise the remote interface for Fibo and check that al the methods declarations have a "throws java.rmi.RemoteException2.