----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hello Shaun,
I don't see anything wrong inside the logs - it seems that Apache
returns 'ok' answer with length 0.
[24/Jan/2000:11:19:01 +0000] "GET servlets/Hello HTTP/1.0" 200 0
try flushing the output stream at the end of the doGet() method (or
post the method code here)
SC> Sorry.
SC> I have just tried to run the servlet "Helllo" and the logs contain:
SC> Access Log
SC> ------------
SC> 192.168.100.202 - - [24/Jan/2000:11:18:52 +0000] "GET / HTTP/1.0" 304 -
SC> 192.168.100.202 - - [24/Jan/2000:11:18:53 +0000] "GET /apache_pb.gif
SC> HTTP/1.0" 304 -
SC> 192.168.100.202 - - [24/Jan/2000:11:19:01 +0000] "GET /servlets/Hello
SC> HTTP/1.0" 200 0
SC> Error Log
SC> ----------
SC> [Mon Jan 24 11:16:58 2000] [notice] Apache/1.3.9 (Unix) ApacheJServ/1.1b3
SC> configured -- resuming normal operations
SC> [Mon Jan 24 11:16:58 2000] [info] Server built: Oct 5 1999 22:16:45
SC> Jserv Log
SC> ----------
SC> [24/01/2000 11:19:00:580 GMT] Hello: init
SC> Mod Jserv Log
SC> ---------------
SC> [24/01/2000 11:16:58:730] (INFO) Apache Module was cleaned-up
SC> [24/01/2000 11:17:01:790] (INFO) wrapper classpath:
SC> /usr/local/apache/libexec/ApacheJServ.jar:/usr/local/jsdk/lib/jsdk.jar:/usr/
SC> local/apache/htdocs/clijava/com:/usr/fgl2c/swing1.1/swingall.jar
SC> [24/01/2000 11:17:01:790] (INFO) wrapper: Java VM spawned (PID=961,
SC> PPID=954)
SC> [24/01/2000 11:17:31:820] (INFO) wrapper: watching processes
SC> (PID=954,PPID=953,JVM PID=961)
SC> ----- Original Message -----
SC> From: Ivan <[EMAIL PROTECTED]>
SC> To: Java Apache Users <[EMAIL PROTECTED]>
SC> Sent: Monday, January 24, 2000 10:44 AM
SC> Subject: Re: Problem running servlets
>>
>> Hello ,
>>
>> so what's inside the logs ?
>> mod_jserv.log / jserv.log / apache error.log
>>
>> SC> I am having an intermittent problem running servlets. Whenever I run
SC> a
>> SC> servlet for the first few attempts a message "This document contains
SC> no
>> SC> data" is returned. Eventually, the servlets may run, and after it has
SC> begun
>> SC> to run it will probably run everytime from then on.
>>
>> SC> I presume the reason that I am getting this message is because the
SC> servlet
>> SC> is not getting a http servlet response because this is used to output
SC> the
>> SC> HTML.
>>
>> SC> Can anyone help me in trying to track down why this happening?
>>
>> SC> Configuration is SCO Openserver 5.0.5, Apache 1.3.9 and JServ 1.1b3.
>>
>> SC> Thanks
>>
>> SC> Shaun Campbell
>>
>>
>>
SC> --
SC> --------------------------------------------------------------
SC> Please read the FAQ! <http://java.apache.org/faq/>
SC> To subscribe: [EMAIL PROTECTED]
SC> To unsubscribe: [EMAIL PROTECTED]
SC> Archives and Other: <http://java.apache.org/main/mail.html>
SC> Problems?: [EMAIL PROTECTED]
--
Best regards,
Ivan mailto:[EMAIL PROTECTED]
--
--------------------------------------------------------------
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]