tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: HomesUserDatabase
Date Thu, 26 Feb 2004 15:50:11 GMT


>  <Listener className="org.apache.catalina.startup.UserConfig"
>            directoryName="webapps"
>            homeBase="/home/nfs"
>            userClass="org.apache.catalina.startup.HomesUserDatabase"/>
>...and when I went to restart Tomcat, I got this:
>Feb 24, 2004 3:49:34 PM org.apache.coyote.http11.Http11Protocol init
>INFO: Initializing Coyote HTTP/1.1 on port 8080
>Feb 24, 2004 3:49:34 PM org.apache.catalina.startup.Catalina load
>INFO: Initialization processed in 1971 ms
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>Caused by: java.lang.NullPointerException
>        at

Line 420 is System.out.println("UserConfig[" + host.getName() + "]: "
..., so the host must be null is your get an NPE there (source code:

Why would the host reference be null?  I'm not sure.  Can you post the
complete host element of your server.xml?

Yoav Shapira

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message