6 Replies Latest reply on Apr 16, 2009 4:09 PM by Joshua Davis

    Seam Remoting - Marshalling bug

    Joshua Davis Expert

      I think we've just found a subtle multi-threading issue in the Seam Remoting marshalling code.   The issue only happens when lots of threads are doing Seam Remoting calls.


      org.jboss.seam.remoting.wrapper.DateWrapper uses a SimpleDateFormat to convert values to and from text.   However, this class has a static instance of SimpleDateFormat, which is not thread safe.   If you have lots of threads doing seem remoting (we do) then eventually the marshalling will produce weird results.