I'm trying to track down a bug that results in a server timeout. The server log shows a queue of DSRequests coming in from the client to populate a bunch of different SelectItems based on optionDataSource tags in various ds.xml files. In one case the queue has 11 entries and in another there are 7. Oddly, there are two instances of each queue.
I'm using a subclass of IDACall and have overridden handleDSRequest and inserted a System.out.println() before and after each call to super.handleDSRequest(). Every request in the queue processes just fine, but then I see this in the server log, followed by a long wait.
Then, after a few minutes I see these messages appear in the server log. But by then the client has stopped waiting for a response.
Looking at the client side log doesn't tell me much more than that the client waited approximately 3 minutes and then threw a server timeout error. Eventually the response comes back to the client, but by then the client can't match it back up with a transaction it is waiting for so I see these messages in the client side log.
How can I find out where the server is getting hung up? I can see that the problem is not with the actual queries running against the database server since those return in a reasonable amount of time.
I'm using a subclass of IDACall and have overridden handleDSRequest and inserted a System.out.println() before and after each call to super.handleDSRequest(). Every request in the queue processes just fine, but then I see this in the server log, followed by a long wait.
Code:
=== 2010-10-18 18:02:14,868 [l0-8] DEBUG RPCManager - Content type for RPC transaction: text/plain; charset=UTF-8 === 2010-10-18 18:02:14,873 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,877 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,883 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,888 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,891 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,894 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,899 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,915 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,919 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,925 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false === 2010-10-18 18:02:14,931 [l0-8] DEBUG RPCManager - non-DMI response, dropExtraFields: false
Code:
=== 2010-10-18 18:08:31,182 [l0-0] INFO Compression - /ipgui/sc/IDACall: 1698435 -> 72214 bytes 200 - POST /ipgui/sc/IDACall?isc_rpc=1&isc_v=SC_SNAPSHOT-2010-10-03&isc_xhr=1&isc_tnum=14 (127.0.0.1) 72214 bytes === 2010-10-18 18:08:57,096 [l0-5] INFO Compression - /ipgui/sc/IDACall: 1672316 -> 76846 bytes 200 - POST /ipgui/sc/IDACall?isc_rpc=1&isc_v=SC_SNAPSHOT-2010-10-03&isc_xhr=1&isc_tnum=11 (127.0.0.1) 76846 bytes === 2010-10-18 18:09:04,877 [l0-8] INFO Compression - /ipgui/sc/IDACall: 1672316 -> 76846 bytes 200 - POST /ipgui/sc/IDACall?isc_rpc=1&isc_v=SC_SNAPSHOT-2010-10-03&isc_xhr=1&isc_tnum=12 (127.0.0.1) 76846 bytes === 2010-10-18 18:09:06,420 [l0-4] INFO Compression - /ipgui/sc/IDACall: 1698435 -> 72214 bytes 200 - POST /ipgui/sc/IDACall?isc_rpc=1&isc_v=SC_SNAPSHOT-2010-10-03&isc_xhr=1&isc_tnum=13 (127.0.0.1) 72214 bytes
Code:
18:08:31.193:XRP0:WARN:RPCManager:performTransactionReply: No such transaction 14 18:08:57.111:XRP1:WARN:RPCManager:performTransactionReply: No such transaction 11 18:09:04.932:XRP2:WARN:RPCManager:performTransactionReply: No such transaction 12 18:09:06.502:XRP3:WARN:RPCManager:performTransactionReply: No such transaction 13
Comment