-
1. Re: JBOSS 7.0.2 Frequent Session Timeout
niraj.salot Oct 2, 2012 5:37 AM (in response to niraj.salot)Hi,
Checking further on this Issue , When I Fire
curl --digest -D - http://admin:XXXXX@localhost:9990/management/ -d '{"operation":"read-resource", "include-runtime":"true", "address":[{"subsystem":"web"},{"connector":"AJP"}], "json.pretty":1}' -HContent-Type:application/json
I get below mentioned output
HTTP/1.1 200 OK
Transfer-encoding: chunked
Content-type: application/json
Access-control-allow-origin: *
Date: Tue, 02 Oct 2012 09:32:40 GMT
{
"outcome" : "success",
"result" : {
"bytesReceived" : "21510543",
"bytesSent" : "368687830",
"enable-lookups" : false,
"enabled" : true,
"errorCount" : "385",
"max-connections" : 512,
"maxTime" : "182231",
"processingTime" : "5784419",
"protocol" : "AJP/1.3",
"requestCount" : "75681",
"scheme" : "http",
"socket-binding" : "ajp",
"ssl" : null,
"virtual-server" : null
}
How to see "errorCount" : "385", ? I can not see anything in server log.
Please help urgently.
Thanks,
-
2. Re: JBOSS 7.0.2 Frequent Session Timeout
ctomc Oct 2, 2012 8:56 AM (in response to niraj.salot)Hi,
errorCount also includes 404 errors...
are there any exceptions that happens when session times out?
Can you make sure sessionId cookie is passed at all this times?
Just to make sure, can you add session listener that will log when session is beeing destroyed?
--
tomaz
-
3. Re: JBOSS 7.0.2 Frequent Session Timeout
niraj.salot Oct 2, 2012 9:00 AM (in response to ctomc)Hi,
No there are not any exceptions that happens when session times out.
We are making sure that cookie is passed at all this times.
Thanks,Niraj.
-
4. Re: JBOSS 7.0.2 Frequent Session Timeout
niraj.salot Oct 3, 2012 5:09 AM (in response to niraj.salot)Hi,
More Information on this.
We already have session listener but It is not getting invoked as this is what is happening.
Randomly the Apache server thinks that JBOSS is too busy OR it is down and It fwd. the requests to anothe Node of JBOSS which does not contain that session.
We are having stick session approach and for that it is must the subsequest request goes to the same node which generated session.
What could case Apache to take that session that JBOSS is too busy OR it is down?
Thanks,Niraj Salot.