Yes, I created HttpSessionAttributeListener. It is displaying the names and values what ever i set in the session. In my case i am setting 2 things in the session in login page.
1. DMSession class which extends UserSession class which implements serializable. 2. A boolean variable in the DMSession's object as true. There is only HTML code to take user id and password for inputs. I started all on 8080 and node1 on 8180...Started nicely. Tested web-console displays both when refreshed. when i say localhost/timbermine, First request goes to all server. Value of boolean set in the session is true.... and when i enter details and submit, the second request goes to node1 now the value of boolean variable is false in node1 since the first request goes to all server.....and displays the following error in node1.... The boolean variable i am setting in the session is not replicating in the node1... In this first 2 lines are the values set in the session.. 10:21:23,976 INFO [STDOUT] [Sess Add] [EMAIL PROTECTED]: [EMAIL PROTECTED] 10:21:23,992 INFO [STDOUT] [Sess Add] [EMAIL PROTECTED]: ISFROMLOGIN=true 10:21:24,039 INFO [STDOUT] java.io.NotSerializableException: org.apache.catalina.session.StandardSessionFacade 10:21:24,039 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) 10:21:24,039 INFO [STDOUT] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332) 10:21:24,039 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304) 10:21:24,039 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) 10:21:24,039 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) 10:21:24,039 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) 10:21:24,054 INFO [STDOUT] at java.util.HashMap.writeObject(HashMap.java:978) 10:21:24,054 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 10:21:24,054 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 10:21:24,054 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 10:21:24,054 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324) 10:21:24,070 INFO [STDOUT] at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:809) 10:21:24,070 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1296) 10:21:24,070 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) 10:21:24,070 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) 10:21:24,070 INFO [STDOUT] at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1332) 10:21:24,070 INFO [STDOUT] at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1304) 10:21:24,085 INFO [STDOUT] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1247) 10:21:24,085 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052) 10:21:24,085 INFO [STDOUT] at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) 10:21:24,085 INFO [STDOUT] at org.jboss.invocation.MarshalledValue.(MarshalledValue.java:57) 10:21:24,085 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheService.getMarshalledValue(JBossCacheService.java:538) 10:21:24,101 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheService.putSession(JBossCacheService.java:155) 10:21:24,117 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession.processSessionRepl(SessionBasedClusteredSession.java:161) 10:21:24,117 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:475) 10:21:24,117 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:256) 10:21:24,117 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.InstantSnapshotManager.snapshot(InstantSnapshotManager.java:38) 10:21:24,117 INFO [STDOUT] at org.jboss.web.tomcat.tc5.session.ClusteredSessionValve.invoke(ClusteredSessionValve.java:91) 10:21:24,117 INFO [STDOUT] at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59) 10:21:24,117 INFO [STDOUT] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 10:21:24,117 INFO [STDOUT] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 10:21:24,117 INFO [STDOUT] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 10:21:24,117 INFO [STDOUT] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 10:21:24,132 INFO [STDOUT] at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:307) 10:21:24,132 INFO [STDOUT] at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:385) 10:21:24,132 INFO [STDOUT] at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:748) 10:21:24,132 INFO [STDOUT] at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:678) 10:21:24,132 INFO [STDOUT] at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:871) 10:21:24,148 INFO [STDOUT] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) 10:21:24,148 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038710#4038710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038710 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user