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

domyalex do-not-reply at jboss.com
Mon Jun 4 16:17:55 EDT 2007


Hi to all,
I'm trying out the JBoss security togheter with remote ejb.

Long story short, the security domain validates my credentials and everything works fine if I provide the right user/password.
However, if they are not valid, I receive:

  | 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
  | 
etc...

I changed all my jar references to use those in the /lib directories rather than /client in case it was some different version of Serializable classes, but this didn't help...
Any ideas? 

Regards

Alejandro

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

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



More information about the jboss-user mailing list