tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MiSt <mstei...@gazeta.pl>
Subject Listener in tld files - bug ?
Date Mon, 08 May 2006 15:38:44 GMT
I added (by mistake) element
<listener>
		<listener-class>
		org.springframework.web.context.ContextLoaderListener
		</listener-class>
</listener>

to  struts .tld file (after <taglib> ) despite web.xml and I noticed
that  Spring context was loaded properly! Why? Elment <listener> is
illegal in tld files. Tomcats notifies listeners defined in tld files
and throws error for not existing classes:


ERROR [[/service]] Error configuring application listener of class
org.springframework.wsssaasdfeb.context.ContextLoaderListener
java.lang.ClassNotFoundException:
org.springframework.wsssaasdfeb.context.ContextLoaderListener
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
	at org.apache.catalina.core.Standa
(...)




  It is a Bug in Tomcat ? Or JBoss?

Tomcat 5.5 (JBoss 4.0.3SP1)

-- 
MichaƂ Steiner





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message