Hello,

Between the first launch of the EJBServer and the modification
of the bean and its deployement (via GenIC), it's better to stop
then restart rmiregistry.
(Indeed, the old version of the stub may be 'loaded' in rmiregistry).

Hope this help you.
H�l�ne.

Rui Gil wrote:
> 
> Hi !
> 
> I'm trying to make an entity bean, with a couple of finder methods
> but each time I try it gives me the following output.
> 
> ----------------------------
> JOnAS - Version 1.5
> JDBC DataSource db is mapped on oracle.properties
> Cannot register MessageHome : javax.naming.CommunicationException [Root
> exceptio
> n is java.rmi.ServerException: RemoteException occurred in server thread;
> nested
>  exception is:
>         java.rmi.UnmarshalException: error unmarshalling arguments; nested
> excep
> tion is:
>         java.io.InvalidClassException: JOnASMessageBeanMessageHome_Stub;
> Local
> class not compatible: stream classdesc serialVersionUID=-8
> 841640483850668683 local class serialVersionUID=3561265397176646693]
> ----------------------------
> 
> The bean work's well without the finder methods, what's happening ?
> 
> Thank you.
> 
> Rui Gil

-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]    http://www-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________

Reply via email to