Thread: Issue encountered while testing coherence*web on tomcat 5.5.x/6.0

This question is not answered. Helpful answers available: 5. Correct answers available: 1.


Permlink Replies: 1 - Pages: 1 - Last Post: Oct 22, 2009 8:28 AM Last Post By: user10637644 Threads: [ Previous | Next ]
user10637644

Posts: 3
Registered: 10/22/09
Issue encountered while testing coherence*web on tomcat 5.5.x/6.0
Posted: Oct 22, 2009 8:22 AM
 
Click to report abuse...   Click to reply to this thread Reply
Following the instructions in the coherence online documents and coherence training labs, I packaged a simple web application "counter.war", deployed on the
tomcat6.0 on two different nodes(windows), and used webInstaller.jar to inspect and install the coherence*web, then restarted the two tomcat instances,
I can see the output messages indicating that the coherence is enabled, also I successfully tested the web application individually,everything is ok, BUT, when
I started the coherence loadbalancer and try to test the session distributed cache, problem happened:

First of all, i can see the load balancer routing to a specific node, and the output is right. then i killed the node using ctrl-c, i can see messages on the other node
indicating that it has restored backup partitions, but when i refresh the web page , i can see the load balancer re-route request to the second node, but the
counter value didn't increment properly. After debug and trace, I found the second node could get the right session (whick means the result of "request.getSession(true).isNew()" return false, and the session.getId() returns is exactly equal to the session id generated on the first node, but the application could not get the right attribute , "session.getattribute("xxx")" returned null.

So, my question is , the session objects seems partitioned successfully whilt one node killed, but why the attributes in the session couldn't be got successfully?

Enviroment:
Coherence 3.4.2/3.5.1/3.5.2 (all tested,got the same result)
Tomcat 5.5.28/6.0 (all tested)
OS: Windows XP

Any suggestions or successfully tested demos are highly appreciated!

BTW: I've tested the same application on Jetty, everything works well, the operation steps are same, so i'm confused....

user10637644

Posts: 3
Registered: 10/22/09
Re: Issue encountered while testing coherence*web on tomcat 5.5.x/6.0
Posted: Oct 22, 2009 8:28 AM   in response to: user10637644 in response to: user10637644
 
Click to report abuse...   Click to reply to this thread Reply
sorry, i've transfered this question to coherence support forum.
Legend
Guru Guru : 2500 - 1000000 pts
Expert Expert : 1000 - 2499 pts
Pro Pro : 500 - 999 pts
Journeyman Journeyman : 200 - 499 pts
Newbie Newbie : 0 - 199 pts
Oracle ACE Director
Oracle ACE Member
Oracle Employee ACE
Helpful Answer (5 pts)
Correct Answer (10 pts)

Point your RSS reader here for a feed of the latest messages in all forums