tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anand HS" <anan...@gmail.com>
Subject Re: What exactly happens when I configure a different host
Date Tue, 02 Dec 2008 05:33:25 GMT
I extremely sorry for not being able to clarify to you.
There is definitely a reference to the Log4jInitialiserservlet in my web.xml
( pasted above ).
The servlet is missing in my jars/wars. . So i expect tomcat to throw error
when it starts
When tomcat starts with host name = "localhost", it does NOT throw any error
about missing class file.
But when i start with the host name = "blahblah" it throws the error.

The question is why did not throw in the first case and why did it throw in
the second. ?

Thanks,
Anand

On Mon, Dec 1, 2008 at 8:00 PM, Caldarale, Charles R <
Chuck.Caldarale@unisys.com> wrote:

> > From: Anand HS [mailto:anandhs@gmail.com]
> > Subject: Re: What exactly happens when I configure a different host
> >
> > Here is the web.xml from my webapp -
> >
> > <servlet>
> >  <servlet-name>action</servlet-name>
> >  <servlet-class>com.psi.servlet.Log4jInitializerServlet</servlet-class>
> >  <init-param>
> >   <param-name>debug</param-name>
> >   <param-value>2</param-value>
> >  </init-param>
> >  <load-on-startup>2</load-on-startup>
> > </servlet>
>
> I thought you said your web.xml didn't have a reference to
> Log4jInitializerServlet?  Then what are we looking at above?  You need to
> make the class file available in WEB-INF/classes or in a jar in WEB-INF/lib.
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you received
> this in error, please contact the sender and delete the e-mail and its
> attachments from all computers.
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message