Thanks for info.
One more observation.
I don't see this problem with JavaWeb Server 2.0 and WebLogic.
-Venkat
> -----Original Message-----
> From: Rajendra Mishra [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, December 07, 1999 11:25 AM
> To: Servlet Interest Technology.
> Cc: [EMAIL PROTECTED]
> Subject: Re: Re: 500 Internal Error on Java Web Server
>
> Hi Venkat,
> i think the problem could be your global private variable. if there
> would be multiple calls to your servlet, things might get messy.
> ur option would be to pass the out variable as a fn parameter. Try it
> and see.
> Raaj.
>
> ----- Original Message -----
> From: Venkat Nimishakavi <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, December 07, 1999 8:35 AM
> Subject: Re: 500 Internal Error on Java Web Server
>
>
> > Hi,
> >
> > I am NOT setting "contents_length" header at all.
> > B'cause, I don't know the content length. It depends on the input to the
> > servlet and the data that is fetched from Database.
> >
> > But I am setting content_type using res.setContentType("text/html").
> B'cause
> > I don't all I display is data in a simple table format.
> >
> > Also I am declaring a private variable to class
> > private PrintWriter out;
> > and using
> > out = res.getWriter();
> >
> > and
> > out.println ("<html>");
> > .
> > .
> > .
> >
> > out.println ("</body></html>");
> > out.close();
> >
> >
> > Thanks
> > Venkat
> >
> >
> > > -----Original Message-----
> > > From: Michael Muchitsch [SMTP:[EMAIL PROTECTED]]
> > > Sent: Tuesday, December 07, 1999 1:34 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: 500 Internal Error on Java Web Server
> > >
> > > Hi,
> > >
> > > do you set the "contents-length"-header with the correct size? This
> > > exception may happen, if you write more data to the output stream than
> > > indicated by the set contents-length.
> > >
> > > Yours,
> > >
> > > Michael
> > >
> > > [EMAIL PROTECTED] schrieb:
> > > >
> > > > Hi folks,
> > > >
> > > > I am getting the following error (not always, but the error is
> > > repeatable).
> > > > If I do a refresh of page, the page gets displayed properly.
> > > >
> > > > Any clue why this error is occuring and what it is ?. (I am running
> my
> > > > Servlet on JavaWebserver 1.1.3).
> > > >
> > > > If I run same Servlet on WebLogic, it is working fine without any
> > > problems.
> > > >
> > > > I am using HttpServletResponse.sendRedirect( ) method to invoke this
> > > servlet
> > > > from another servlet.
> > > >
> > > > ------------------------------------
> > > > 500 Internal Server Error
> > > >
> > > > The servlet named "tried to write more than content length", at the
> > > > requested URL
> > > >
> > > > http://192.168.110.233:8080/servlet/CTdisplayBundleServlet
> > > >
> > > > reported this exception:
> > > >
> > > > tried to write more than content length
> > > >
> > > > The administrator of this web server should resolve this problem.
> > > > -------------------------------------------------
> > > >
> > > > Thanks
> > > > Venkat
> > > >
> > > >
> > >
> __________________________________________________________________________
> > > _
> > > > To unsubscribe, send email to [EMAIL PROTECTED] and include in
> the
> > > body
> > > > of the message "signoff SERVLET-INTEREST".
> > > >
> > > > Archives:
> http://archives.java.sun.com/archives/servlet-interest.html
> > > > Resources:
> http://java.sun.com/products/servlet/external-resources.html
> > > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html << File:
> > > Visitenkarte f?r Michael Muchitsch >>
> >
> >
> __________________________________________________________________________
> _
> > To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> > of the message "signoff SERVLET-INTEREST".
> >
> > Archives: http://archives.java.sun.com/archives/servlet-interest.html
> > Resources: http://java.sun.com/products/servlet/external-resources.html
> > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
> >
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html