HttpSession object not able to deserialize into custom object.
I am new to couchbase implementation. I want to implement couch base cluster for my web based application where end user fill 4 different form funnel with their information.
Requirement : session persistence on server fail over.
I have two production servers, right now if any one of the server fails LTM detect that and transfer next request to new server. My problem is I want to persist same session information on to new server after fail over so that end user will be still able to continue fill his remaining form (where he was before server fail over) without any interruption.
In that case couch base comes into picture:
I have couch base 1.8.1 where I have two server nodes bqwebx0080,bqwebx0090 with data bucket name "trouve" of type "Couchbase"
On my both web server(tomcat) i added below code into context.xml
Server 110 :
Server 210 :
With this configuration i am able to get httpSession object from "trouve" bucket but its return a type "Object".
I tried various transcoder but not able to get deserealized HttpSession object.
If I am missing anything or I am going to wrong direction to achieve my requirement. Please correct me.
Your comments/suggestion are always welcome.