-
1. Re: Serialization failing for a vector object with error "org.jboss.serial.exception.SerializationException: Object reference 3 was not found" with JBoss 6.1 and JRE 1.7
wdfink Mar 24, 2013 6:20 AM (in response to reema.pal)Are you sure that all Objects referenced by the Vector are Serializable?
-
2. Re: Serialization failing for a vector object with error "org.jboss.serial.exception.SerializationException: Object reference 3 was not found" with JBoss 6.1 and JRE 1.7
reema.pal Mar 24, 2013 10:14 AM (in response to wdfink)Thanks for your response. The objects referenced by Vector are serializable. I have started facing this issue after upgrading JDK to 1.7. If i replace Vector with ArrayList/List or downgrade jdk to 1.6, everything works.
-
3. Re: Serialization failing for a vector object with error "org.jboss.serial.exception.SerializationException: Object reference 3 was not found" with JBoss 6.1 and JRE 1.7
wdfink Mar 24, 2013 10:40 AM (in response to reema.pal)1 of 1 people found this helpfulHummm,
sounds like an JDK bug, you might try former version or test the next update if you need to stay with Vector
BTW if you do not need to synchronize the Collection for multithread access I would use ArrayList instead. If you use it I would only provide 'List' to be independent from implementation details.
-
4. Re: Serialization failing for a vector object with error "org.jboss.serial.exception.SerializationException: Object reference 3 was not found" with JBoss 6.1 and JRE 1.7
reema.pal Mar 25, 2013 12:25 AM (in response to wdfink)Don't think it is a jdk bug bacause if my client program runs outside jboss, everything works. Only when it runs inside jboss, it fails.
For now, i have converted the remote EJB call to local EJB call as the client and service both are deployed inside the same container Things are working for me now.