tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Valentin Cozma <vco...@one5.ro>
Subject Servlet problem
Date Mon, 18 Feb 2002 16:39:03 GMT
Hi all,
I have some problems with Catalina server. Some details :
I have a class : "FilterLogin" extends "BaseServlet" extends 
"SecureServlet" extends "javax.servlet.http.HttpServlet" (which 
implements "javax.servlet.Servlet").
When I try to load the class and login, i get the following exception :


  A Servlet Exception Has Occurred


      Exception Report:

javax.servlet.ServletException: Class one5.filter.servlet.FilterLogin is not a Servlet
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:743)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:544)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:496)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
	at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:386)
	at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:144)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2038)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
	at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:811)
	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:890)
	at java.lang.Thread.run(Thread.java:484)


      Root Cause:

java.lang.ClassCastException: one5.filter.servlet.FilterLogin
	at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:740)
	at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:544)
	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:496)
	at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
	at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:386)
	at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:144)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:251)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:196)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2038)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
	at org.apache.catalina.valves.ValveBase.invokeNext(ValveBase.java:242)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:414)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:975)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:159)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:977)
	at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:811)
	at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:890)
	at java.lang.Thread.run(Thread.java:484)



Are there any explanations for this ?
Thanks a lot.

-- 
*************************************************************
Sincerely

Valentin Cozma
One5 Development Romania Srl.
Programmer

Str Intrarea Glucozei No 37-39, sector 2, Bucharest, Romania
Phone  : +40 (1) 243 05 80
Fax    : +40 (1) 243 05 79
Mobile : +40 93  190 126
E-Mail: vcozma@one5.ro
Visit us on the Internet: http://www.one5.com/

One5 Corporation - Wireless Infrastructure for 3rd Generation
*************************************************************


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