I guess that your methods in the bean-class throws RemoteException. The
methods in the home, and remote interface must throw RemoteException,
however the method in the bean-class are no longer allowed to do that (see
EJB2.0 PFD section 18, Exception handling, for more information).
However I can't see why EJBException should not be a valid RMI/IIOP type???
/Per
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Fran�ois
> Charoy
> Sent: den 4 juli 2001 15:37
> To: [EMAIL PROTECTED]
> Subject: Re: [JBoss-user] RMI/IIOP warning
>
>
> Anyway, I have still this error message without EJBException
>
> Fran�ois
>
> ----- Original Message -----
> From: "Hermann RANGAMANA" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, July 04, 2001 3:23 PM
> Subject: Re: [JBoss-user] RMI/IIOP warning
>
>
> > Still it's an invalid exception of RMI/IIOP because ... it extends
> > RuntimeException (regardless of what the superclass of
> RuntimeException
> is).
> >
> > --hermann
> > PS : cf previous post of Toby ... ;-)
> > ----- Original Message -----
> > From: "Burkhard Vogel" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, July 04, 2001 2:36 PM
> > Subject: Re: [JBoss-user] RMI/IIOP warning
> >
> >
> > > No!
> > > EJBException extends RuntimeException extends Exception extends
> Throwable
> > > implements java.io.Serializable.
> > > So?
> > > Burkhard
> > > ----- Original Message -----
> > > From: "Toby Allsopp" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Tuesday, July 03, 2001 12:18 AM
> > > Subject: Re: [JBoss-user] RMI/IIOP warning
> > >
> > >
> > > > On Sun, Jul 01, 2001 at 09:07:57PM -0400, asdfa asdfdfd wrote:
> > > > > public void setHostIP(String hostName) throws
> > java.rmi.RemoteException,
> > > javax.ejb.EJBException;
> > > >
> > > > javax.ejb.EJBException is not a valid exception for
> RMI/IIOP because
> it
> > > > is a subclass of RuntimeException. Remove this from your throws
> clause.
> > > >
> > > > Toby.
> > > >
> > > > _______________________________________________
> > > > 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
> > >
> >
> >
> > _______________________________________________
> > 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
>
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user