3 Replies Latest reply on Feb 9, 2007 1:32 PM by clemente cioffi

    Problem seam in clustering( conversationEntries??)

    clemente cioffi Newbie

      Hi, can you help me about this problem??

      I'm trying to deploy a seam application(using also jsf with icefaces) on jboss 4.0.5 GA with EJB3-Clustered configuration.

      I think that the deploy goes fine but when I try to access to index of my application, I see this error:

      11:00:58,768 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def
      ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa
      ces-facelets.jar!/META-INF/jstl-core.taglib.xml
      11:00:58,808 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def
      ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/jboss
      -seam-ui.jar!/META-INF/seam.taglib.xml
      11:00:58,838 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa
      ces-comps.jar!/META-INF/facelet/icefaces.taglib.xml
      11:00:58,919 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def
      ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa
      ces-facelets.jar!/META-INF/jsf-core.taglib.xml
      11:00:58,969 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def
      ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa
      ces-facelets.jar!/META-INF/jsf-ui.taglib.xml
      11:00:58,989 ERROR [STDERR] 07-Feb-2007 11:00:58 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/default/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa
      ces-facelets.jar!/META-INF/jstl-fn.taglib.xml
      11:00:59,019 ERROR [STDERR] 07-Feb-2007 11:00:59 com.sun.facelets.compiler.TagLibraryConfig loadImplicit
      INFO: Added Library from: jar:file:/C:/Program%20Files/jboss-4.0.5.GA/server/def
      ault/./tmp/deploy/tmp63271cerssvd.ear-contents/cerssvd-exp.war/WEB-INF/lib/icefa
      ces-facelets.jar!/META-INF/jsf-html.taglib.xml
      11:01:01,773 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: NhCr1Y33cNsWaawV84WOEg**.
      node1 lastAccessedTime: 1170846057627 version: 1 lastOutdated: 0]
      java.io.NotSerializableException: org.apache.catalina.session.StandardSessionFacade

      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)

      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java
      :1509)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:14
      74)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.jav
      a:1392)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)


      After I did a bit of debug to see what attribute in session could cause this error.
      The log is:

      2007-02-08 12:22:23,744 INFO [STDOUT] Aromentooooooooooooooooooo:
      2007-02-08 12:22:23,744 INFO [STDOUT] Name: org.jboss.seam.core.conversationEntries
      2007-02-08 12:22:23,744 INFO [STDOUT] Value: ConversationEntries([])
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postSetVariable.org.jboss.seam.core.conversationEntries
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postCreate.org.jboss.seam.core.conversationEntries
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] After render response, destroying contexts
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying business process context
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.BUSINESS_PROCESS
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.BUSINESS_PROCESS
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying conversation context
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.CONVERSATION
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.persistenceContexts
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.persistenceContexts
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.facesMessages
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.facesMessages
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.conversation
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.conversation
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Contexts] destroying: entityManager
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.entityManager
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.ManagedPersistenceContext] destroying seam managed persistence context for persistence unit: java:/cerssvdEntityManagerFactory
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.CONVERSATION
      2007-02-08 12:22:23,744 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing server-side conversation context
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Lifecycle] flushing session context
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Lifecycle] destroying event context
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroyContext.EVENT
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: icesoft_javascript_request_key_7698193
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.icesoft.faces.removeSeamContexts
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: facelets.Encoding
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: org.jboss.seam.core.manager
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.org.jboss.seam.core.manager
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: msg
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: loginUser
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.preDestroy.loginUser
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: com.sun.facelets.legacy.ELCONTEXT
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Contexts] destroying: servletkey
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.core.Events] Processing event:org.jboss.seam.postDestroyContext.EVENT
      2007-02-08 12:22:23,754 DEBUG [org.jboss.seam.contexts.Lifecycle] <<< End web request
      2007-02-08 12:22:23,764 DEBUG [com.icesoft.faces.env.ServletEnvironmentRequest] Acegi Security not detected.
      2007-02-08 12:22:23,774 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces}
      2007-02-08 12:22:23,774 DEBUG [org.jboss.seam.servlet.SeamExceptionFilter] ended request
      2007-02-08 12:22:23,824 ERROR [org.jboss.web.tomcat.tc5.session.JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: h7IT2+A6DGtkY+7MwiSH1Q**.node1 lastAccessedTime: 1170937335112 version: 1 lastOutdated: 0]
      java.io.NotSerializableException: org.apache.catalina.session.StandardSessionFacade

      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)
      at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474)
      at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)
      at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)
      at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326)
      at java.util.Hashtable.writeObject(Hashtable.java:824)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)
      at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)


      What do you think about that?
      Can you help me ??

      Thank you!!!