Here is httpd.conf
Timeout 300 (Amount of time in seconds the server will wait for certain events before failing a request)
KeepAlive On (Enables HTTP persistent connections)
KeepAliveTimeout 15 (Amount of time the server will wait for subsequent requests on a persistent connection seconds.)
MaxKeepAliveRequests 100 (Number of requests allowed on a persistent connection)
My question is that is it posisble that apache times out and closes the connection while jboss is still ready and working on the request?
What might be causing the Connection Reset By Peer error?
what am i missing here?
Any help is majorly appreciated!!
First, I can't answer your exact question... from the way you describe the problem, either we know it or we don't. Either we encountered the exact same thing, or we didn't.
You need to troubleshoot the problem. Take stack traces, and follow them. Add debugging messages and follow them. Etc. You need to do this to find the root cause of the problem, before you can attempt to fix it..
Unfortunately, you have a problem. A peer reset, is exactly that -- the peer did something unexpected. You are looking on the wrong side of the connection. I would recommend going to the other side of the connection. Is the other side your code too? If so, can you troubleshoot it?