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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to