The problem I am having is that my JDBC connection is timing out. This
explains why it works for a few hours then suddenly stops.  I improperly
assumed that the life cycle of a java servlet is same as the life cycle of
a CGI program.

On Thu, 15 Jul 1999, Son To wrote:

> > If this is the code that triggered the stack trace you originally posted
> > (null pointer exception at line 60 of AuthenticateServlet), then my
> > previous comments still apply.  Note that you are never even getting to
> > the Rexec.login() call at line 76.
> 
> OK I put in an if statment to test for when uname and passwd is null so I
> no longer get the error page. However, I've done CGI programming in C
> before and I've never encountered a situation where form data in POST is 
> null when actual data are entered into the form. There is a
> pattern in when the data is null. I output the value of uname and passwd
> to stderr and the values are null in a 1 period cycle. First time you
> submit the form, its not null, submit it a second time and its null,
> third time not null, etc.. This behavior is probably not in the
> specification of an HttpServlet
> 
> 
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> READ THE FAQ!!!!     <http://java.apache.org/faq/>
> Archives and Other:  <http://java.apache.org/main/mail.html/>
> Problems?:           [EMAIL PROTECTED]
> 



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
READ THE FAQ!!!!     <http://java.apache.org/faq/>
Archives and Other:  <http://java.apache.org/main/mail.html/>
Problems?:           [EMAIL PROTECTED]

Reply via email to