tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fernando Vicente <Fernando.Vice...@lis2.siemens.pt>
Subject Exception in Embedded Catalina
Date Mon, 25 Feb 2002 16:56:43 GMT
Hi,

I'm trying to run tomcat from my own application just like it's done in
org.apache.catalina.startup.Embedded. 

My code it's just a copy from the main in Embedded class, unfortunately when
I run it, it starts all contexts except the "/examples". Which is what
matters, since I need to deploy servlet/jsp based webapps and I'm trying to
use this for tests.

The thrown exception is the following:

StandardContext[/examples]:  Configuring event listener class
'listeners.SessionListener' StandardContext[/examples]: Error configuring
application listener of class listeners.SessionListener
java.lang.NoSuchMethodError 	at
org.apache.catalina.loader.WebappClassLoader.findResourceInternal(WebappClas
sLoader.java:1696) 	at
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLo
ader.java:1570) 	at
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.jav
a:926) 	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1360) 	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1243) 	at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:
3142) 	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:3378)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:614) 	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123) 	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343) 	at
org.apache.catalina.startup.Embedded.addEngine(Embedded.java:469) 	at
com.siemens.tomcat.main.Main.main(Main.java:55)


Can anyone shed some light on this ? Any help would be appreciated.

Fernando Vicente

--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message