Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

server crash  RSS feed

 
Shivaprakash Shettihalli
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose an application is deployed at more than one server. The request is being handled by one server and suddenly server crashes. now the request from that particular client should be routed to another server. And the user should not be asked to enter his login credentials, which will be handled by session.But my problem is -- A servlet has set an attribute in the serveltContext. As per my knowledge, there exists only one servletContext per one JVM. how that attribute set by the servlet at first server is made available at the second server.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The other server has its own JVM, hence its own ServletContext
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!