Hello Steve, have you tried to run a simple Java application that opens a socket connection under Virtual PC? With the same JVM you are using for HttpClient? I would suspect the problem there. Opening a socket connetcion is implemented in the JVM and probably uses native code. If a plain Java application does not exhibit the delay you noticed with HttpClient, we shall have to investigate. If it does, try different JVMs, maybe only some of them have the problem.
hope that helps, Roland Steven Terrell <[EMAIL PROTECTED]> 02.06.2005 21:24 Please respond to "HttpClient User Discussion" To "Httpclient-User-List ([email protected])" <[email protected]> cc Subject Unusual delay running under Microsoft Virtual PC Platform: Red Hat Enterprise Linux WS 3, running under Microsoft Virtual PC on XP I am experiencing an unusual problem when running httpclient apps when the host OS is running under Microsoft Virtual PC. I consistently get a 20 second delay from PostMethod.execute(). When I run the same application on a 'real' OS, I don't experience the delay. For testing I am using the PostXML example from the HttpClient web site. Here's part of the log I captured, which shows the 20 second delay: 2005-05-31 15:50:42 org.apache.commons.httpclient.HttpConnection DEBUG - enter HttpConnection.open() 2005-05-31 15:50:42 org.apache.commons.httpclient.HttpConnection DEBUG - Open connection to xxx.xxx.xxx.xxx:8080 2005-05-31 15:51:02 org.apache.commons.httpclient.HttpMethodBase DEBUG - enter HttpMethodBase.execute(HttpState, HttpConnection) My first inclination is to blame Virtual PC, but so far no other applications have had a problem. I can run a browser from the virtual Linux, and get a quick response from the same Tomcat servlet I am accessing using PostXML. I am not expecting a fix, but any thoughts or ideas would be welcome. --Steve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
