• Post Reply Bookmark Topic Watch Topic
  • New Topic

Question about Http protocol.

 
francisk
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
First, let say about the back ground. I have written an application using the URL class to call an servlet that reside in a cluster (2) of WebSphere servers with a load balancer to distribute jobs between servers. Now I have a problem when my application try to call the servlet application, it turn out both servlet in each server get response and taking process, but I just need it to process once not twice. I don't know why that happen, is it the problem of the load balancer distribute job to both server or the http protocol firing twice from my remote application because it get no response from the 1st http request or is there any other reason? Is there any way to prevent this kind of action? Thanks!
Francis Kwok
 
Peter den Haan
author
Ranch Hand
Posts: 3252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This certainly shouldn't happen. But before wasting brain cell cycles on this, start with a simple experiment. Take your favourite web browser and point it at the servlet being invoked. Do you see one or two requests?
- Peter
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!