----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Arkaitz,
If you pointed the browser URL to the example IsItWorking servlet and that
worked, and it's in the same dir that you've added your servlet, and
restarted the server, then the problem is in your servlet code. Post some
more info to further the comments from this group.
If it's getting this error with any servlet, your apache/jserv configuration
is not correct. Have your tester read all the docs w/ jserv, it's all there.
The time-out w/ that page that you got is because the exception bailed and
no data was sent back.
-----Original Message-----
From: Arkaitz Bitorika [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 13, 2000 2:28 PM
To: [EMAIL PROTECTED]
Subject: NullPointerException in JServ 1.1
----------------------------------------------------------------
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!!!
----------------------------------------------------------------
Hello all,
While we were testing Apache JServ 1.1, a tester working here found that
he was getting NullPointerExceptions when trying to access any servlet.
The stack trace was:
java.lang.NullPointerException:
at
org.apache.jserv.JServServletManager.checkReload(JServServletManager.java:40
8)
at
org.apache.jserv.JServConnection.processRequest(JServConnection.java:255)
at org.apache.jserv.JServConnection.run(JServConnection.java:188)
at java.lang.Thread.run(Thread.java)
What happened when the browser was pointed to the servlet is that it
would time out and say "document contains no data". I'm afraid I don't
have now the setup to reproduce the Exception again, but I have the
configuration files in case they are useful. There was nothing in the
logs.
The NullPointerException in question seems to be thrown because there is
no "loader" object, but I can't say much more as I'm not familiar with the
JServ source code.
I hope someone will see what's the problem here and thanks in advance,
Arkaitz
--
--------------------------------------------------------------
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]