Hi,
In the process of testing a servlet, I have set up a perl script to send
sequential GET's to the servlet.
The servlet itself doesn't do very much, but it does create a new session
each time, and invalidate it before it returns.
It definitely doesn't try to use the session after it invalidates it, but
for some reason after a few thousand GETs, apache reports the following
error:
java.lang.IllegalStateException: Session 3fed2fb31cbcdbff.1168.936974263117
has been invalidated.
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Compiled Code)
at java.lang.RuntimeException.<init>(Compiled Code)
at java.lang.IllegalStateException.<init>(Compiled Code)
at org.apache.jserv.JServSession.checkState(Compiled Code)
at org.apache.jserv.JServSession.isNew(Compiled Code)
at org.apache.jserv.JServServletManager.run(Compiled Code)
at java.lang.Thread.run(Compiled Code)
Anyone know why this might happen? Do I need to free up some file handle or
other resource?
Cheers,
Ben
-----Original Message-----
From: Nic Ferrier [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 10, 1999 4:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Pb with a Servlet
Yes.
<sarcasm>
There's a problem in your method CheckMailAddr()
I would go so far to say that the problem is a NullPointerException.
</sarcasm>
Seriously though, this isn't a problem caused by the servlet, check
the method which generates the exception.
You get the 500 internal servlet error because that method caused a
problem, not for any servlet specific reason.
Nic Ferrier
Tapsell-Ferrier Limited
http://www.tapsellferrier.co.uk
"Use Ockham Luke"
___________________________________________________________________________
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