RequestDispatcher.forward() Taking 30 Seconds Each

W

Will Handley

Have a really odd one: In a web app, using RequestDispatcher.forward()
to pass request along to next servlet/jsp. No problem when using
Tomcat in development, but as soon as moved to iPlanet, each trans
taking a very, very long time. By writing time info to iPlant log, see
that first handoff is instantanious, but each one after that takes
almost exactly 30 seconds. The pattern is too consistent to be
coincidence, it must be waiting for some resource, then timing out.
Only difference I see between first handoff and all subsequent ones is
that the first is from a front controller servlet with no database
access, subsequent ones access an Oracle database. But I'm using
connection pooling, don't think that's really a factor. I get the RD
from the servlet context, if that's relevant. Same behavior when fwd
to servlet or JSP.
Anybody have any ideas?
 
N

Nigel Wade

Will said:
Have a really odd one: In a web app, using RequestDispatcher.forward()
to pass request along to next servlet/jsp. No problem when using
Tomcat in development, but as soon as moved to iPlanet, each trans
taking a very, very long time. By writing time info to iPlant log, see
that first handoff is instantanious, but each one after that takes
almost exactly 30 seconds. The pattern is too consistent to be
coincidence, it must be waiting for some resource, then timing out.
Only difference I see between first handoff and all subsequent ones is
that the first is from a front controller servlet with no database
access, subsequent ones access an Oracle database. But I'm using
connection pooling, don't think that's really a factor. I get the RD
from the servlet context, if that's relevant. Same behavior when fwd
to servlet or JSP.
Anybody have any ideas?

Whenever I see "30 seconds delay" I immediately think "DNS timeout".

Given your situation I've no idea if this is the case, but 30 sec. delays
are so synonymous with DNS that it's got to be worth investigating.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top