Hi,
I'm still in eclipse, I'm not executing the client as a jar file, I also
deploy the EJB project from eclipse to glassfish.
I have a client project and an EJB Project. The client project has the EJB
project in its build path, so I thought they would both use the same
EJB-classes/entities (same version).
Well, I am accessing the EJBs in the server from the client, I can see that
the EJB is found and the method in it invoked and finishes correctly, so no
connection problems here.
The EJB method accesses a database using JPA and returns a List of an Entity.
Then I receive this Exception:
java.io.IOException: Mismatched serialization UIDs : Source (Rep.
IDRMI:org.eclipse.persistence.indirection.IndirectSet:7AB69E49EEC9728C:10B97CA7FD8C5386)
= 10B97CA7FD8C5386 whereas Target (Rep. ID
RMI:org.eclipse.persistence.indirection.IndirectSet:7AB69E49EEC9728C:86AF5AEC417FEEFB)
= 86AF5AEC417FEEFB
What could be the problem?
I tried to change the serialVersionUID of my entity, clean and rebuild both
projects, but no luck...
Can anybody help me here?
Thank you in advance!
Regards
--
[Message sent by forum member 'MohamzJava']
View Post: http://forums.java.net/node/848221