-
1. Re: Double HttpRequest Problem
peterj Oct 9, 2006 4:00 PM (in response to diego.loro)How did you determine that the app server is sending the requests twice? Personally, I have never experienced this behavior.
-
2. Re: Double HttpRequest Problem
diego.loro Oct 10, 2006 8:33 AM (in response to diego.loro)Hi Peter,
using TCPMON I can see that the server receives twice all the client requests.
The first immediately and the second after few seconds.
It is very strange, because the HTML code is quite simple and with other AppServers like Websphere the problem doesn't exists.
So I think about some possible configuration problem with JBOSS.
if you have any ideas..
tnx! -
3. Re: Double HttpRequest Problem
peterj Oct 10, 2006 10:59 AM (in response to diego.loro)Sorry, but I don't know why TCPMON would show duplicate transmissions, other than network issues that might cause the server to request a retransmit, or JavaScript in the HTML that does a periodic refresh request. I have never noticed duplicate requests in any of my servlets from plain HTML.
-
4. Re: Double HttpRequest Problem
diego.loro Oct 11, 2006 3:55 AM (in response to diego.loro)Hi Peter,
now the problem is more restricted.
Only the requests sent from a client that is on the same machine of the JBOSS AppServer are duplicated (so calls to localhost).
If the client and the server are on different machines (or the client invokes the server by its http://ipaddress:port/url instead of http://localhost:8080/url) the problem does not exists.
So I think that, as you suppose, the problem could be related to some network issues.
Tnx!