---------------------------------------------------------------- BEFORE YOU POST, search the faq at <http://java.apache.org/faq/> WHEN YOU POST, include all relevant version numbers, log files, and configuration files. Don't make us guess your problem!!! ---------------------------------------------------------------- I upgraded one of my development machines to JServ 1.1b3 and discovered that POST requests to my servlets began to hang. After wasting more time than I should have debugging my own code, I rolled the JServ code back to 1.1b2 and it started working fine again. Environment: Solaris 7 sparc, Apache 1.3.9, JServ 1.1b3, 1.2.1 JVM. I have Java code on one system which does an HTTP POST to a servlet on another system, to send a message consisting of a few name/value pairs. The servlet reads the raw POST data directly (using req.getInputStream() and req.getContentLength(), rather than with the servlet API calls. This is because the message is not always examined immediately, it may be queued for later processing. This code has been working fine for quite a while. With JServ version 1.1b3, it started hanging. On the sending side, I'd send the POST request, including a Content-Length header. After sending the body, no reply comes back from the server end. It hangs waiting for a response to the HTTP request. On the server side, my servlet is called via the doPost() method. But when it attempts to read the POST data, it blocks in the read. My suspicion is that the pipe between mod_jserv and the JVM-resident JServ code is not being flushed properly so that the POST data never makes it through to the servlet. I haven't had time to debug this, and probably won't since I can work around it by dropping back to 1.1b2. I did a quick query on the Apache bug database and didn't see anything germaine. I thought I'd post a message here before posting a bug report. Has anyone else encountered this? -- Ron Hitchens {mailto:[EMAIL PROTECTED]} (650) 873-4745 (voice) http://www.tomorrowfactory.com (650) 873-4529 (fax) "Building a better tomorrow" "They can bill me" -Ripley -- -------------------------------------------------------------- Please read the FAQ! <http://java.apache.org/faq/> To subscribe: [EMAIL PROTECTED] To unsubscribe: [EMAIL PROTECTED] Archives and Other: <http://java.apache.org/main/mail.html> Problems?: [EMAIL PROTECTED]
