Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old January 13th, 2005, 10:13 PM
Registered User
Join Date: Jan 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Jdeveloper -> Tomcat 5.5, long delay, XML response

I am going nuts trying to figure out why:
An application created using Jdeveloper 3.2.3. Some pages send XML as response. When using Jdev, JSP/Web-to-go server everything is fine. Now trying to migrate to TomCat 5.5. For pages that return XML, I am noticing a rather 'hang' like behaviour as if client is waiting for something:

I put a time stamp at beginning and end of my processing. Elapsed time is 20ms. Page size < 500 b. All done locally. Browser (Internet Explorer) takes about 9s to display the XML. Page is buffered (32K, though doesn't help, autoflush on). I even tried with SetHeader(Connection, close) no luck.

Similarly my client makes a bunch of call to such JSP pages returning XML. Each time the processing supposed to happen is of the order of 20-100ms. But the client seems to be 'waiting' gaps between timestamp for next request spans more than 10s (and higher). The client uses Microsoft's IXMLHttpRequest (MSXML v3). Any ideas what could be happening?

Also any reason for cookies not be written by Tomcat (the Jdev does write that)

mucho gracias

Similar Threads
Thread Thread Starter Forum Replies Last Post
Long SQL Query (>1024) in VBA??? mlep Excel VBA 1 June 14th, 2007 08:41 PM
Forms with XML > XSLT > XHTML kwilliams XSLT 0 October 27th, 2005 09:52 AM
Achitecture ? SQL -> XML -> ASP -> PDF or HTML Frm jstrong Classic ASP XML 0 July 9th, 2005 01:18 PM
Request-response in Tomcat sherbir Servlets 0 September 4th, 2004 04:26 AM
asp(ado->xml) --->internet>--asp(xml->ado) moon XML 0 November 28th, 2003 09:27 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.