----------------------------------------------------------------
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 Jeff,
You are welcome.
Now that you point it out, I remember facingthe "all or
none" class loading problem. By the way, that was a very
systematic approach to the problem I have seen in a long time.
Kamesh
on Dec 5, Jeff Stern thus hinted about "Re: problems running jserv: null..."
JS:Date: Tue, 5 Dec 2000 18:36:25 -0800 (PST)
JS:From: Jeff Stern <[EMAIL PROTECTED]>
JS:Reply-To: Java Apache Users <[EMAIL PROTECTED]>
JS:To: Kamesh Kompella <[EMAIL PROTECTED]>
JS:Cc: Java Apache Users <[EMAIL PROTECTED]>
JS:Subject: Re: problems running jserv: null pointer exception
JS:
JS:----------------------------------------------------------------
JS:BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
JS:WHEN YOU POST, include all relevant version numbers, log files,
JS:and configuration files. Don't make us guess your problem!!!
JS:----------------------------------------------------------------
JS:
JS:hi, thank you, kamesh,
JS:
JS:with your advice i went back to my zones= directive in my
JS:jserv.properties file and commented out the "webmail.properties="
JS:line and rewrote the "zones=" line from
JS:
JS:zones=root,webmail
JS:
JS:to
JS:
JS:zones=root
JS:
JS:this effectively isolated out webmail temporarily, and then when
JS:i restarted, everything worked fine.
JS:
JS:well, i figured out that it was an installation of webmail
JS:(http://jwebmail.sourceforge.net/) via the current rpm
JS:(webmail-0.7.4-1) which had broken everything. when i
JS:investigating further, i discovered that the reason the webmail
JS:servlet rpm blew everything up was that it had been packaged
JS:incorrectly: its "/etc/httpd/conf/jserv/webmail.properties" file
JS:was still erroneouslypointing all its
JS:repositories to an older directory (/usr/lib/webmail-0.7.3/*)
JS:tree, when the newer rpm was putting everything in
JS:/usr/lib/webmail-0.7.4! (Same for the "servlet.webmail.initArgs="
JS:directive at the end of that file) So JServ was bombing out
JS:trying to load classes it could not find.
JS:
JS:So then I went back in again and put the webmail references BACK
JS:into the jserv.properties file, but this time, i replaced all
JS:occurences of "0.7.3" in the webmail.properties file with
JS:"0.7.4", and now JServ does not bomb out trying to load classes
JS:it cannot find.
JS:
JS:So your advice did help, by pointing me in the right direction.
JS:
JS:Thank you, Kamesh
JS:
JS:Jeff Stern
JS:
JS:On Tue, 5 Dec 2000, Kamesh Kompella wrote:
JS:
JS:> Hi Jeff,
JS:> The null pointer exception is arising because your
JS:> servlet conatiner tries to load the servlet and doesn't find
JS:> it. Why doesn't it find the servlet? Possibly because the
JS:> servlets zones are not mapped correctly. In the configuration
JS:> files ( I forget if it is jserv.conf or servlet.conf) you need
JS:> to indcate your sevlet zones, and what directories the server
JS:> should look up when asked to load a servlet in the zones.
JS:>
JS:> Did you set the servlet zones to indicate /servlets?
JS:>
JS:> Hope this helps. Let me know how it goes and how you solved the
JS:> problem.
JS:>
JS:> Kamesh
JS:
JS:
JS:
JS:
JS:--
JS:--------------------------------------------------------------
JS:Please read the FAQ! <http://java.apache.org/faq/>
JS:To subscribe: [EMAIL PROTECTED]
JS:To unsubscribe: [EMAIL PROTECTED]
JS:Search Archives:
JS:<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
JS:Problems?: [EMAIL PROTECTED]
JS:
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search Archives:
<http://www.mail-archive.com/java-apache-users%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]