I am hitting this issue with Tomcat session replication in JBoss 3.2.3. I have 2  
servers, app1 and app2. I log into my app and my load balancer sends me to app1. Once 
I am logged in, I can snoop my session on app1  and see all the values I expect.

I also browse the DistributedState MBean for my partition, and when I list the values 
in CMPClusteredInMemoryPersistenceManager-ClusteredHTTPSession, I can see the session 
Id on both app1 and app2. 

However, when I contrive a web server failure on app1, and my browser sends the 
request to app2,  the request does not find a matching session and it logs me out. I 
fired up the snooper, and I found that the HTTPSession existed in app1, but did not 
exist in app2, even though app2 had the session id in distributed state.

In summary, it looks like the servlet request 
(org.apache.coyote.tomcat4.CoyoteRequest) is not reading from distributed state to  
"find" the session. 

I have tested with both settings:

      <attribute name="SnapshotMode">instant</attribute>
  |       <attribute name="SnapshotInterval">2000</attribute>
  | 
and 

      <attribute name="SnapshotMode">interval</attribute>
  |       <attribute name="SnapshotInterval">2000</attribute>

My web.xml also has the <distributable/> tag in it.

I have not attempted the new 3.2.3 replication tags in the jboss-web.xml, because it 
seems the basic session replication is not occuring. If I found a session on app2

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826680#3826680";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826680>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to