Do you have declared throws EJBException or throws RuntimeException in any of your
beans methods? If so then it probably is that that is causing the somewhat erronous
message. You are not allowed to do that.
/Lennart
----- Original Message -----
From: Carles Pi-Sunyer <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 03, 2001 10:27 PM
Subject: [JBoss-user] RMI/IIOP valid types
> I have a session bean that I am deploying. When I it
> loads I get the following message:
>
> [Verifier]
> Bean : DirectoryBean
> Method : public abstract Directory create() throws
> RemoteException, CreateExcept
> ion
> Section: 6.10.6
> Warning: The method return values in the home
> interface must be of valid types f
> or RMI/IIOP.
>
> Through trial and error I have determined that the
> warning is caused by a method in my remote interface
> that returned a class I had defined. This class
> implements Serializable.
>
> My questions are:
>
> 1) What are valid types for RMI/IIOP?
>
> 2) Do I need to do more to my classes other then have
> them implement Serializable to make them the return
> types from business methods?
>
> Thanks,
> Carles
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user