2 Replies Latest reply on Jul 22, 2008 6:40 AM by Gary Brown

    Serialisation issue between 4.2.1 client and 4.3 server

    Gary Brown Master

      Hi

      I have just updated my server environment to be JBossAS 4.2.2.GA and JBossESB 4.3.GA, but my client remained JBossESB 4.2.1GA.

      My client sends a message to an ESB service specifying a JMSEpr replyTo, specifying a temporary response queue.

      Normally when it receives a response message, it calls org.jboss.soa.esb.util.Util.deserialize() to retrieve the ESB Message object.

      However after the upgrade, this call throws the following exception:

      java.io.IOException: Util.deserialize caught UnmarshalException
      at org.jboss.soa.esb.util.Util.deserialize(Util.java:231)
      ......
      Caused by: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DeferredTextImpl
      at org.jboss.internal.soa.esb.message.format.xml.BodyImpl.fromXML(BodyImpl.java:249)
      ......

      Also noticed on the server console:

      14:08:32,054 WARN [JMSEpr$AcknowledgeMode] ' 1' is invalid : .Will use default
      'AUTO_ACKNOWLEDGE

      Regards
      Gary