Hi Srinivas,

        in most cases you can solve the problem with a restart of the rmiregistry. 
(The 
error-message shows, that the rmiregistry has different versions of the registered 
classes. That can happen, if you recompile you sources, restart the EJBServer and 
forget the rmiregistry.)

Hope that helps,

Martin.

> I was able to deploy JOnAS on Windows NT 4.0 (using CygWin tools). 
> 
> When I tried to deploy it on our Linux server I am getting the following
> error. And the error is on
> 'org.objectweb.jonas.jtm.TransactionFactoryImpl_Stub' which can be found
> in 'RMI_jonas.jar' and 'JEREMIE_jonas.jar' ! This has really stumped !!! I
> hope somebody can shed some light on this !
> 
> OS: Linux-Mandrake 7.1 
> JOnAS: Ver 2.0
> JDK: 1.3.0 Beta for Linux
> 
> [root@abldev01 classes]# EJBServer 
> JOnAS Server, version 2.0, running on rmi. 
> TransactionService: Cannot rebind TM: 
> javax.naming.CommunicationException [Root exception is
> java.rmi.ServerException: RemoteException occurred in server thread;
> nested exception is: 
> 
>         java.rmi.UnmarshalException: error unmarshalling arguments; nested
> exception is: 
>         java.io.InvalidClassException:
> org.objectweb.jonas.jtm.TransactionFactoryImpl_Stub; Local class not
> compatible: stream classdesc serialVersionUID=-1023774639622504485 local
> class serialVersionUID=-8193650898591423451]
> 
> JOnAS: Cannot start Transaction Service 
> javax.naming.CommunicationException.  Root exception is
> java.rmi.ServerException: RemoteException occurred in server thread;
> nested exception is: 
> 
>         java.rmi.UnmarshalException: error unmarshalling arguments; nested
> exception is: 
>         java.io.InvalidClassException:
> org.objectweb.jonas.jtm.TransactionFactoryImpl_Stub; Local class not
> compatible: stream classdesc serialVersionUID=-1023774639622504485 local
> class serialVersionUID=-8193650898591423451
> 
> java.rmi.UnmarshalException: error unmarshalling arguments; nested
> exception is: 
>         java.io.InvalidClassException:
> org.objectweb.jonas.jtm.TransactionFactoryImpl_Stub; Local class not
> compatible: stream classdesc serialVersionUID=-1023774639622504485 local
> class serialVersionUID=-8193650898591423451
> 
> java.io.InvalidClassException:
> org.objectweb.jonas.jtm.TransactionFactoryImpl_Stub; Local class not
> compatible: stream classdesc serialVersionUID=-1023774639622504485 local
> class serialVersionUID=-8193650898591423451
> 
>         at
> sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemot
> eC all.java:245) 
>         at
> sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220) 
>         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:354) 
>         at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:134)
> 
>         at
> com.sun.jndi.rmi.registry.RegistryContext.rebind(RegistryContext.java:141)
> 
>         at javax.naming.InitialContext.rebind(InitialContext.java:366) at
> org.objectweb.jonas.naming.NamingManager.rebind(NamingManager.java:226) 
>         at
> org.objectweb.jonas.jtm.TransactionService.<init>(TransactionService.java:
> 66 ) 
>         at org.objectweb.jonas.server.Server.main(Server.java:89) 
> 
> Thanks in advance
> Srinivas 
> 
> ----
> This list is cross-posted to two mail lists.  To unsubscribe,
> follow the instructions below for the list you subscribed to.
> For objectweb.org: send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe ejb-container-group". For
> enhydra.org: send email to [EMAIL PROTECTED] and include in the body
> of the message "unsubscribe ejb-container-group".
> 



________________________________________

outermedia gbr - internet kommunikation
eva duvenkamp, nils bader
und simon oldeboershuis

post:
greifswalder str. 207
berlin 10405

phone: (+49-30) 44 35 09 40
< http://www.outermedia.de >

martin stiel
< mailto:[EMAIL PROTECTED] >
< http://www.informatik.hu-berlin.de/~stiel >
----
This list is cross-posted to two mail lists.  To unsubscribe,
follow the instructions below for the list you subscribed to.
For objectweb.org: send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe ejb-container-group".
For enhydra.org: send email to [EMAIL PROTECTED] and include
in the body of the message "unsubscribe ejb-container-group".

Reply via email to