hi,
i think we have a webservertimeoutproblem.
constellation:
browser jrunwebservice webserver proxy other servletengine
| | | | |
|----------->|---forwards---|----------|--------->|
| | | | |
| |<-----foo()---|----------|----------|
| | | | |
analyse:
1)
when we test the above figured out constellation INHOUSE (without a proxy),
the answering time from foo() is ok (circa 5 sec).
2)
if we do the some test in a real environment (inet), WITH a proxy
inbetween, we notice a answering time of foo() of 60 sec.
3)
after some analyses: the webserver had an entry:
Network Setting > Timeout(s): Receive: 60 sec.
if we set the Timeout to 20 sec, we waited 20 sec of foo().
4)
we had the same problem with our .jsps and solved it with
<%
out.flush();
out.close();
%>
in every .jsp, at the end of the file.
5)
our environment: webserver: o'reilly; jrun as servletcontainer.
the webservice is programmed as described here:
http://www.macromedia.com/software/jrun/download/web_services/pdf/tech-preview-guide.pdf
6)
point 4) could be a solution,
but: how can i flush() or close() - and what?