tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edmund Mitchell" <emitch...@emn8.com>
Subject RE: Class not found exception help in 6.0.10?
Date Wed, 05 Dec 2007 19:00:11 GMT
Thanks for your reply, Chuck.

> -----Original Message-----
> From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
> Sent: Wednesday, December 05, 2007 10:42 AM
> To: Tomcat Users List
> Subject: RE: Class not found exception help in 6.0.10?
> 
> > From: Edmund Mitchell [mailto:emitchell@emn8.com]
> > Subject: Class not found exception help in 6.0.10?
> >
> > We drop our simple webapp jar (just one) in
> > $CATALINA_HOME/lib.
> 
> First question: why are you putting a webapp jar in Tomcat's lib
> directory?  It belongs in the webapp's WEB-INF/lib.

No special reason, but if you think moving it will help, I have no problems
with moving it.



> > once a week or so we'll get a Class Not Found exception
> 
> Second question: a CNFE or NCDFE?  They're quite different.  You might
> want to post the exact exception.


SEVERE: Exception starting filter security
java.lang.ClassNotFoundException: com.emn8.console.common.SecurityFilter
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1358)
	at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.jav
a:1204)
	at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:249)
	at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:397)
	at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
fig.java:108)
	at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:36
93)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4342)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:7
61)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
	at
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
	at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883
)
	at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
	at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
	at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSuppor
t.java:120)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1023)
	at
org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
	at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1015)
	at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
	at
org.apache.catalina.core.StandardService.start(StandardService.java:448)
	at
org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
	at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
Nov 30, 2007 3:08:03 PM org.apache.catalina.core.StandardContext start


> 
> If the class of interest happens to be in multiple locations in a
> particular branch of the classloader tree, all sorts of wondrous strange
> things can happen.


"Wondrous, strange things" sounds much better than the descriptions that are
being tossed around here ;>)

Thanks again

E




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


Mime
View raw message