2011/7/8 Peter Cameron <p.came...@monitormedia.co.uk>: > I'm having an interesting problem which seems to be Tomcat-related and which > occurs randomly under heavy load. I'd appreciate some advice/help. > > I'm developing a Java web application and deploying to Tomcat 6.0.32. (I get > the same behaviour with the latest Tomcat 7). > >(...) > Why is Tomcat sending duplicate requests? Is there some timeout that is > silently happening under load and causing Tomcat to resend the request? Are > there any JMX diagnostics I can look at/turn on for Tomcat? Something is > sending those duplicate requests and it isn't me!
You mean, receiving duplicate requests? Is there anything in the access logs? (In TC7 they are turned on by default, so maybe you already have them). Look for response codes that are not equal to "200". How do you count - in a servlet or in a filter? Do you use authentication? (If server requests authentication credentials, a web client will repeat its request, now with credentials). Is Tomcat running standalone, or behind something? What connectors are you using (Bio/Nio/Apr -- see logs during startup). Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org