|Code Issue [message #1273672]
||Thu, 20 March 2014 06:55
| Manan Shah
Registered: March 2014
I am using commonj.sdo-2.1.1.jar and easybeans-uberjar-eclipselink-1.2.1.jar and using JBoss Server.
When trying to communicate from two different EAR's it is trying to serialize DataObject while sending from one EAR to other EAR.
At that moment it is going through JBoss jar file to serialize and then accessing commonj.sdo-2.1.1.jar and from it, it is calling SDOResolvable class file from easybeans-uberjar-eclipselink-1.2.1.jar.
In SDOResolvable class file code present at line 229 - "((ObjectOutputStream)objectOutput).writeObject(this.theSDODataObject.getRootObject());".
It is trying to cast ObjectOutput to ObjectOutputStream where I am facing ClassCastException.
I have attached the full StackTrace.
Kindly help me.
Powered by FUDForum
. Page generated in 0.01569 seconds