You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by George McKInney <ge...@tantalus.com> on 2000/05/02 22:38:53 UTC

Servlet won't load

I've written a simple GenericServlet which compiles properly.
My web.xml includes:

<servlet>
      <servlet-name>loggerinitializer</servlet-name>

<servlet-class>com.tantalus.log.LogDispatcherInitServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
</servlet>

when I run webstart all I get

XmlMapper: Can't find method setDescription in Wrapper(loggerinitializer
null) CLASS class org.apache.tomcat.core.ServletWrapper
cannot load servlet name: loggerinitializer

I have tried both having the .class file in the WEB-INF directory of my
context and expanded into the /classes directory. Should it really be
somewhere else?

Thanks,
George McKinney, Developer
tantalus communications inc.
500-1122 Mainland Street
Vancouver, BC, Canada V6B 5L1
george@tantalus.com

Direct  604.726.6753
Main    604.609.0700
Fax     604.609.0705
www.tantalus.com
"When eBusiness experience counts."


RE: Servlet won't load

Posted by George McKInney <ge...@tantalus.com>.
No, but I would have thought that Tomcat would use the classes in the
WEB-INF/lib and /classes to look for servlets for a particular app's web.xml
definitions.

Thanks,
George McKinney, Developer

-----Original Message-----
From: Luis Andrei Cobo [mailto:valis@megapathdsl.com]
Sent: Tuesday, May 02, 2000 5:25 PM
To: tomcat-user@jakarta.apache.org; george@tantalus.com
Subject: Re: Servlet won't load


is the Class in your System Classpath variable?

Always the first place to check when it cant find the class.

Ciao
Luis
----- Original Message -----
From: "George McKInney" <ge...@tantalus.com>
To: "Tomcat mailing list (E-mail)" <to...@jakarta.apache.org>
Sent: Tuesday, May 02, 2000 4:38 PM
Subject: Servlet won't load


> I've written a simple GenericServlet which compiles properly.
> My web.xml includes:
>
> <servlet>
>       <servlet-name>loggerinitializer</servlet-name>
>
> <servlet-class>com.tantalus.log.LogDispatcherInitServlet</servlet-class>
>       <load-on-startup>1</load-on-startup>
> </servlet>
>
> when I run webstart all I get
>
> XmlMapper: Can't find method setDescription in Wrapper(loggerinitializer
> null) CLASS class org.apache.tomcat.core.ServletWrapper
> cannot load servlet name: loggerinitializer
>
> I have tried both having the .class file in the WEB-INF directory of my
> context and expanded into the /classes directory. Should it really be
> somewhere else?
>
> Thanks,
> George McKinney, Developer
> tantalus communications inc.
> 500-1122 Mainland Street
> Vancouver, BC, Canada V6B 5L1
> george@tantalus.com
>
> Direct  604.726.6753
> Main    604.609.0700
> Fax     604.609.0705
> www.tantalus.com
> "When eBusiness experience counts."
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>


--------------------------------------------------------------------------
To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
For additional commmands, email: tomcat-user-help@jakarta.apache.org


Re: Servlet won't load

Posted by Luis Andrei Cobo <va...@megapathdsl.com>.
is the Class in your System Classpath variable?

Always the first place to check when it cant find the class.

Ciao
Luis
----- Original Message -----
From: "George McKInney" <ge...@tantalus.com>
To: "Tomcat mailing list (E-mail)" <to...@jakarta.apache.org>
Sent: Tuesday, May 02, 2000 4:38 PM
Subject: Servlet won't load


> I've written a simple GenericServlet which compiles properly.
> My web.xml includes:
>
> <servlet>
>       <servlet-name>loggerinitializer</servlet-name>
>
> <servlet-class>com.tantalus.log.LogDispatcherInitServlet</servlet-class>
>       <load-on-startup>1</load-on-startup>
> </servlet>
>
> when I run webstart all I get
>
> XmlMapper: Can't find method setDescription in Wrapper(loggerinitializer
> null) CLASS class org.apache.tomcat.core.ServletWrapper
> cannot load servlet name: loggerinitializer
>
> I have tried both having the .class file in the WEB-INF directory of my
> context and expanded into the /classes directory. Should it really be
> somewhere else?
>
> Thanks,
> George McKinney, Developer
> tantalus communications inc.
> 500-1122 Mainland Street
> Vancouver, BC, Canada V6B 5L1
> george@tantalus.com
>
> Direct  604.726.6753
> Main    604.609.0700
> Fax     604.609.0705
> www.tantalus.com
> "When eBusiness experience counts."
>
>
> --------------------------------------------------------------------------
> To unsubscribe, email: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commmands, email: tomcat-user-help@jakarta.apache.org
>