tomcat 4.1 - long delay for certain request

V

VisionSet

I have an action that gets and writes an image to the output stream.
This works fine and is delivered to the <img> tag in the page.
But the process takes about 15 seconds.
The image creation itself is fast, and indeed the action completes in 200
miliseconds.
The struts controller servlet's service method also completes straight
afterwards.

Now the unknown 15 seconds doing what?

This is all on LocalHost and very similar code worked fine on TC4.0 without
struts.

I imagine it isn't a Struts issue, since it is outside struts after the
controller servlet returns, is that right?

TIA
 
V

VisionSet

VisionSet said:
I have an action that gets and writes an image to the output stream.
This works fine and is delivered to the <img> tag in the page.
But the process takes about 15 seconds.
The image creation itself is fast, and indeed the action completes in 200
miliseconds.
The struts controller servlet's service method also completes straight
afterwards.

Now the unknown 15 seconds doing what?

This is all on LocalHost and very similar code worked fine on TC4.0 without
struts.

I imagine it isn't a Struts issue, since it is outside struts after the
controller servlet returns, is that right?

To add, I have cranked the debug upto 2 and there are no log entries to
indicate anything other that an instant response.
Anyone know how I can trace the internal workings of tomcat further?
 

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

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top