Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

HttpSession object not able to deserialize into custom object.

No replies
  • Login or register to post comments
Sat, 10/20/2012 - 13:09
navneetdhadak
Offline
Joined: 10/20/2012
Groups: None

Hi,

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.

Top
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker