----------------------------------------------------------------
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!!!
----------------------------------------------------------------

Tyler

Tried what you suggested and I got output in the log file right to the end
of the doGet() method.

If the servlet is running and outputting the HTML where is it going to?  Can
you think of anything else I can test after this?

I have just copied Apache/JServ to another SCO Openserver 5.0.5 system and I
got exactly the same result.  "This document contains no data ...".  My
feeling is that it is something to do with the way SCO is configured or the
way Apache/JServ is configured.  My worry about SCO is that it comes with
the Netscape Fasttrak server, which I have disabled, but I am wondering if
there still something lying around which is causing the problem.

What's also puzzling is that it is intermittent.  Once the servlet runs OK
it will probably always run OK until I come out the browser and start again.

Any further suggestions would be much appreciated.

Thanks

Shaun Campbell




----- Original Message -----
From: Tyler Morrison <[EMAIL PROTECTED]>
To: Java Apache Users <[EMAIL PROTECTED]>
Sent: Monday, January 24, 2000 10:21 PM
Subject: Re: Problem running servlets


> ----------------------------------------------------------------
> 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!!!
> ----------------------------------------------------------------
>
> Shaun,
>
> Try adding a log command at the entry point of the Hello doGet() method to
figure out when it's getting called or not.
>
> e.g.,
>
> log( "entering Hello::doGet()..." );
>
>
> or something similar.
>
>
> I'm wondering if there is some other issue like memory space or JVM
issues, or ...?   I think it would be helpful to understand if the servlet
is actually getting called each time it fails to display a resulting page.
>
>
> You can also turn on more JServ logging (in jserv.conf  and/or
jserv.properties).  This will give you a better chance to observe what is
happening and possibly spot the issue.
>
> Good luck.
>
> Tyler
>
>
>
> >I am having an intermittent problem running servlets.  Whenever I run a
> >servlet for the first few attempts a message "This document contains no
> >data" is returned.  Eventually, the servlets may run, and after it has
begun
> >to run it will probably run everytime from then on.
> >
> >I presume the reason that I am getting this message is because the
servlet
> >is not getting a http servlet response because this is used to output the
> >HTML.
> >
> >Can anyone help me in trying to track down why this happening?
> >
> >Configuration is SCO Openserver 5.0.5, Apache 1.3.9 and JServ 1.1b3.
> >
> >Thanks
> >
> >Shaun Campbell
> >
>
> ------------------------------------------------------
> Tyler Morrison - [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]
>
>



--
--------------------------------------------------------------
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]

Reply via email to