I did try looking at that, but I'm not sure what the host is. I don't
remember changing anything in the host tag (although I've come to find
that usually means I did. ;) The contexts added are a few students'
independent projects that needed them set up before everyone elses.
(I chopped out all the comments)
<Host name="localhost" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Logger className="org.apache.catalina.logger.FileLogger"
directory="logs" prefix="localhost_log." suffix=".txt"
timestamp="true"/>
<Context path="/manager"
debug ="0"
privileged="true"
docBase="/var/tomcat5/server/webapps/manager">
</Context>
<Context path="/eu"
debug="0"
reloadable="true"
docBase="/var/tomcat5/webapps/eu">
</Context>
<Context path="/mcohen"
debug="0"
reloadable="true"
docBase="/var/tomcat5/webapps/mcohen">
</Context>
<Context path="/rhaggert"
debug="0"
reloadable="true"
docBase="/var/tomcat5/webapps/rhaggert">
</Context>
<Context path="/~jsywulak"
debug="0"
reloadable="true"
docBase="/home/nfs/jsywulak/webapps">
</Context>
</Host>
Any ideas?
.j.
On Thu, 2004-02-26 at 10:50, Shapira, Yoav wrote:
> Howdy,
> Hmmm...
>
> > <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
> >java.lang.reflect.InvocationTargetException
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> <snip/>
> >Caused by: java.lang.NullPointerException
> > at
> >org.apache.catalina.startup.UserConfig.log(UserConfig.java:420)
> <snip/>
>
> Line 420 is System.out.println("UserConfig[" + host.getName() + "]: "
> ..., so the host must be null is your get an NPE there (source code:
> http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/catalina/src/s
> hare/org/apache/catalina/startup/UserConfig.java?annotate=1.2).
>
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]