with JBoss 5.1.0 GA and JDK 1.7.0_04 I get an ClassCastException during return of an EJB-Call:
ClassCastException: java.lang.String cannot be cast to org.jboss.serial.finalcontainers.IntegerContainer
In my run.conf.bat I added this line:
set "JAVA_OPTS=%JAVA_OPTS% -Dorg.jboss.serial.SYNC_SERIALIZATION_BINARY_FORMATS=true"
But I am getting this error anyway. What is wrong?
With JDK 1.6.0_04 everything is working well.
I tried doing the same, except that i was on jdk 1.6.0_24 but was not successful.Were you able to find a resolution to this issue?
If you have, can you please throw some light on the solution?