JBoss Community

Re: Problem externalizeSession Jboss 4.0.5

created by Mallikarjun Reddy in JBoss Cache - View the full discussion

Hi,

I got below  error when trying with Jboss 4.2.2.GA clusters. Please let me know what exactly would be the reason for occurance of this exception.I Need do it in production server

 

17:02:53,935 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session

SessionBasedClusteredSession[id: 0lBL0ZJumYyLQo2L1L7mKw**.node2 lastAccessedTime: 1315827164904 vers

ion: 1 lastOutdated: 0]

java.io.NotSerializableException: com.sun.faces.context.FacesContextImpl

        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.concurrent.ConcurrentHashMap.writeObject(ConcurrentHashMap.java:1247)

        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)

        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 org.jboss.web.tomcat.service.session.SessionBasedClusteredSession.writeExternal(SessionBas

edClusteredSession.java:175)

        at org.jboss.web.tomcat.service.session.JBossCacheService.externalizeSession(JBossCacheServic

e.java:1027)

        at org.jboss.web.tomcat.service.session.JBossCacheService.putSession(JBossCacheService.java:3

16)

        at org.jboss.web.tomcat.service.session.JBossCacheClusteredSession.processSessionRepl(JBossCa

cheClusteredSession.java:121)

        at org.jboss.web.tomcat.service.session.JBossCacheManager.processSessionRepl(JBossCacheManage

r.java:1097)

        at org.jboss.web.tomcat.service.session.JBossCacheManager.storeSession(JBossCacheManager.java

:652)

        at org.jboss.web.tomcat.service.session.InstantSnapshotManager.snapshot(InstantSnapshotManage

r.java:49)

        at org.jboss.web.tomcat.service.session.ClusteredSessionValve.invoke(ClusteredSessionValve.ja

va:98)

        at org.jboss.web.tomcat.service.session.JvmRouteValve.invoke(JvmRouteValve.java:84)

        at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)

        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

        at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:1

57)

        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)

        at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:437)

        at org.apache.coyote.ajp.AjpProtocol$AjpConnectionHandler.process(AjpProtocol.java:366)

        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)

        at java.lang.Thread.run(Thread.java:619)

Reply to this message by going to Community

Start a new discussion in JBoss Cache at Community