jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kazuhito SUGURI <suguri.kazuh...@lab.ntt.co.jp>
Subject Re: cactus on tomcat 4.1.27
Date Mon, 12 Apr 2004 10:17:05 GMT
Hi Raja,

In article <1081764383.3754.6.camel@ravi>,
12 Apr 2004 15:36:24 +0530,
rajaraob <rajaraob@vitaltech.biz> wrote: 
rajaraob> WebappClassLoader:
rajaraob> validateJarFile(/gale/developers/ravi/scirc/build/webapps/../war/WEB-INF/lib/servletapi-2.2.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class

I guess, drop servletapi-2.2.jar from your WEB-INF/lib.
The Servlet Spec 2.3, section 9.7.2 says:
	The classloader that a container uses to load a servlet in a WAR
	must allow the developer to load any resources contained in
	library JARs within the WAR following normal J2SE semantics
	using getResource.
	It must not allow the WAR to override J2SE or Java servlet API classes.

Kazuhito SUGURI

View raw message