1 Reply Latest reply on Aug 27, 2013 10:23 AM by Clifton Reddy

    ClassCastException: ...finalcontainers.IntegerContainer

    red Car Newbie

      Hallo,

       

      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.

       

      Thank you,

      Werner Hofmann