[jboss-user] [EJB 3.0] - Re: EJBAccessException not marshalled?

valtoni do-not-reply at jboss.com
Tue Aug 14 13:24:43 EDT 2007


"domyalex" wrote : 
  | 
  |   | Exception in thread "main" java.lang.reflect.UndeclaredThrowableException
  |   | 	at $Proxy0.testSecurity(Unknown Source)
  |   | 	at security.SecurityTest.main(SecurityTest.java:31)
  |   | 
  |   | Caused by: java.rmi.MarshalException: Failed to communicate.  Problem during marshalling/unmarshalling; nested exception is: 
  |   | 	java.io.InvalidClassException: javax.ejb.EJBAccessException; local class incompatible: stream classdesc serialVersionUID = -3982037377455977398, local class serialVersionUID = 4923220329322198628
  |   | 
  | 

Alejandro,

Sorry for the late post, but i'm in trouble with this in this morning and i'll share with you the solution: simply put off your jarfile containing class "javax.ejb.EJBAccessException" and put the jar from your container. Class compiling generate diferents serialVersionID and appear wich your class is diferent in client or you have 2 classes in your jboss container (1 with your application and the other from the container).

Hope this was help you!

Regards,
Valtoni Boaventura

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4074126#4074126

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4074126



More information about the jboss-user mailing list