1 Reply Latest reply on Feb 7, 2004 1:25 AM by juha

    EJB spec violation!

    nagulapati Newbie

      Hello All,

      When I am trying to deploy a bean, I am getting the following error:
      23:59:38,132 WARN [verifier] EJB spec violation:
      Bean : HelloWorld
      Method : public abstract HelloWorld create() throws CreateException, RemoteException, ServiceException
      Section: 7.10.6
      Warning: The method return values in the home interface must be of valid types for RMI/IIOP.

      Here is the code snippet from my home interface

      public HelloWorld create() throws javax.ejb.CreateException, java.rmi.RemoteException, javax.xml.rpc.ServiceException;

      I have a single method in my bean which is sayHello() and this is the method,

      public java.lang.String sayHello( ) throws javax.xml.rpc.ServiceException;

      Any pointers? Valid types for RMI/IIOP??