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


hey! glad to hear it - i was certain it was a platform issue. i'm going
to contact sco support and see what they can tell me. I will fill you
and everyone else in if i learn anything of interest.

a question for everyone, is there some more appropriate apache support
forum I should contact with this issue?

At 05:25 PM 4/19/2000 +0100, Shaun Campbell wrote:
>----------------------------------------------------------------
>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!!!
>----------------------------------------------------------------
>
>Jim
>
>If its any consolation I have exactly the same setup and I get exactly the
>same problem.  I have tried every version of Apache, JDK (available for
>SCO), Jserv and still no joy.
>
>I even had a different server with more memory, different processor and
>still the same.  The only way I got around it was to move to Windows NT and
>it worked first time.
>
>I would be grateful for any information you can find out about the problem.
>
>Shaun
>
>----- Original Message -----
>From: Jim Miani <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Tuesday, April 18, 2000 10:57 PM
>Subject: JServ, Document returns No Data
>
>
>----------------------------------------------------------------
>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!!!
>----------------------------------------------------------------
>
>
>Hi, I'm picking up this thread from where I left it off a few days ago. To
>sum up:
>
>SCO Open Server 5.0.5
>Apache Web Server 1.3.12
>Apache JServ 1.1.1b1
>
>Problem: Standard 'Hello' and 'IsItWorking' servlets randomly return
>empty documents. (These are the sample servlets that come with JServ
>for testing installation/configuration).
>
>NOTE: I HAVE read the FAQ, and YES I did do everything in the post
>there that references this problem. i.e. I have added
>servlets.startup=Hello,IsItWorking to zone.properties and I have added
>wrapper.bin.parameters=-Xms64m -Xmx64m to jserv.properties.
>
>Furthermore, this does not happen only on the first try of the servlet.
>One attempt will work, and a subsequent, almost immediate refresh will
>return an empty document. If I keep clicking refresh, sometimes it will
>work, sometimes not.
>
>I am convinced it is not a timeout issue. The empty document is returned
>instantaneously.
>
>The one piece of new information I have is that I put some very
>simpleminded diagnostics into the Hello servlet and logged them to a
>file. The servlet actually runs to completion even when it returns
>no data, and very quickly! I am completely baffled. If anybody has any
>suggestions I would love to hear them.
>
>I've included the modifed source to the Hello servlet below. The output
>in the file "/tmp/jim.debug" is like so, EVEN WHEN THE REQUEST IS
>RETURNED EMPTY
>Jim do some diags!
>Example Apache JServ Servlet
>after setContentType
>after response getWriter
>after some print lines
>after printwrite close
>
>here's the source:
>
> public void doGet (HttpServletRequest request,
>                    HttpServletResponse response)
>     throws ServletException, IOException
>
>
>         PrintWriter f=new PrintWriter(new
>FileWriter("/tmp/jim.debug",true))
>
>         PrintWriter out;
>         String title = "Example Apache JServ Servlet";
>         f.println("Jim do some diags!");
>         f.println(title);
>         response.setContentType("text/html");
>         f.println("after setContentType");
>         out = response.getWriter();
>         f.println("after response getWriter");
>         out.println("<HTML><HEAD><TITLE>");
>         out.println(title);
>         out.println("</TITLE></HEAD><BODY bgcolor=\"#FFFFFF\">");
>         out.println("<H1>" + title + "</H1>");
>         f.println("after some print lines");
>         out.println("<H2> Congratulations, ApacheJServ 1.1.1b1 is
>working!</H2><br></br>");
>
>         out.println("</BODY></HTML>");
>         out.close();
>         f.println("after printwrite close");
>         f.close();
>    }
>}
>
>
>
>
>
>
>
>
>
>
>==========================================================================
>Jim Miani
>ICANON Associates, Inc.
>Phone: 610-313-1850 x 121
>Fax: 610-313-1848
>
>NEWZwareT is a product of ICANON Inc. - Visit our web site at
>http://www.icanon.com/ for more information on ICANON, the company, and its
>suite of products and services.
>
>
>--
>--------------------------------------------------------------
>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]
>
>

==========================================================================
Jim Miani
ICANON Associates, Inc.
Phone: 610-313-1850 x 121
Fax: 610-313-1848

NEWZware� is a product of ICANON Inc. - Visit our web site at
http://www.icanon.com/ for more information on ICANON, the company, and its
suite of products and services.


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