Jonathan
I assume this is a Session Bean. If so:
1. Your BookManagerBean ejbCreate() should return void
2. It must be no args for stateless bean, and there must only be one
ejbCreate
> -----Original Message-----
> From: Jonathan Ackerman [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 15, 2001 3:07 PM
> To: '[EMAIL PROTECTED]'
> Subject: [jBoss-User] Strange Verifier Error
>
>
> Hi all,
>
> I'm getting a strange Verifier error when deploying my bean, namely:
>
> [Verifier]
> Bean : BookManagerBean
> Method : public abstract BookManager create() throws RemoteException,
> EJBException, CreateException
> Section: 6.10.6
> Warning: The method return values in the home interface must
> be of valid
> types for RMI/IIOP.
>
> Now I've looked closely at my Remote and Home interfaces and
> they look OK, I
> have even compared them to some of the JBoss test beans and
> they match up.
>
> What am I doing wrong.
>
> My remote interface is defined as follows:
> //------------------------------------------------------------
> --------------
> -----
> package example.booklist.server;
>
> import java.rmi.RemoteException;
> import javax.ejb.EJBObject;
> import javax.ejb.EJBException;
> import example.booklist.common.BookInfo;
>
> public interface BookManager extends EJBObject
> {
> public BookInfo getBook(String isbn) throws
> EJBException,RemoteException;
> }
> //------------------------------------------------------------
> --------------
> -----
>
> My home interface is:
> //------------------------------------------------------------
> --------------
> -----
> package example.booklist.server;
>
> import java.rmi.RemoteException;
> import javax.ejb.EJBHome;
> import javax.ejb.EJBException;
> import javax.ejb.CreateException;
> import java.io.Serializable;
>
>
> public interface BookManagerHome extends EJBHome
> {
> public BookManager create() throws
> CreateException,EJBException,RemoteException;
> }
> //------------------------------------------------------------
> --------------
> -----
>
> and BookInfo is:
> //------------------------------------------------------------
> --------------
> -----
> package example.booklist.common;
>
> public class BookInfo implements java.io.Serializable
> {
> public String isbn;
> public String title;
> public String author;
> }
> //------------------------------------------------------------
> --------------
> -----
>
>
>
> -------------------------------------------------------------------
> Jonathan Ackerman Senior Consultant
> Optimation Phone: +64 9 3075567
> L4, Optimation House, Fax: +64 9 3097919
> 43 College Hill Rd, Mobile: +64 25 319307
> Auckland, mailto:[EMAIL PROTECTED]
> New Zealand http://www.optimation.co.nz/
>
>
>
> --
> --------------------------------------------------------------
> To subscribe: [EMAIL PROTECTED]
> To unsubscribe: [EMAIL PROTECTED]
> List Help?: [EMAIL PROTECTED]
>
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]