1 Reply Latest reply on Mar 31, 2009 8:56 AM by Nick Belaevski

    Problem with FastSwap on Weblogic Server 10.3

    Mauro Castaldo Newbie

      When I modify a bean WebLogic Server 10.3 reload it automatically due to it's FastSwap feature but I receive this error:

      <Mar 30, 2009 11:35:56 PM CEST> <BEA-101002> <[weblogic.servlet.internal.WebAppServletContext@26f033 - appName: '_auto_generated_ear_', name: 'test', context-path: '/test', spec-version: '2.5'] Could not deserialize the context attribute.
      java.io.NotSerializableException: org.ajax4jsf.component.RenderPhaseUIDataAdaptorVisitor
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
      at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
      at weblogic.common.internal.PassivationUtils.toByteArray(PassivationUtils.java:33)
      Truncated. see log file for complete stacktrace

      It seams you have to implement Serializable for RenderPhaseUIDataAdaptorVisitor.
      The error doesn't prevent WebLogic from swapping my bean class, anyway I reported it (maybe you want to fix it).