[Opensource] Why can't find class
com.jcorporate.expresso.core.security.filters.ISO_8859_1?
Michael Rimov
rimovm at centercomp.com
Thu Jul 25 10:35:04 PDT 2002
At 04:04 PM 7/25/2002 +0800, you wrote:
>Hi,
> I run expresso4 on win2000(GBK encoding) + tomcat4, and it's ok in
> general.
> But, in case some other exception has been threwn, expresso will throw
> java.lang.ClassNotFoundException and result into error
> 'WebappClassLoader: Lifecycle error : CL stopped'.
I've often seen this particular error happen when you reload a context
while tomcat is still running, any chance that this is when it's happening?
>The troublesome expception log looks like:
>
>...
>ERROR [Thread-2] filters.FilterManager
>(com.jcorporate.expresso.core.security.filters.FilterManager.filterString(FilterManager.java:319))
>- Invalid charSet parameter: ISO-8859-1, no such class as
>'com.jcorporate.expresso.core.security.filters.ISO_8859_1'
>java.lang.ClassNotFoundException:
>com.jcorporate.expresso.core.security.filters.ISO_8859_1
The stack trace looks like it's looking for the correct class, so this is
where it's puzzling. That is why I suspect a classloader issue, rather
than a strictly Expresso issue. You could try modifying FilterManager to
use Thread.getCurrentThread().getClassLoader().load.... instead of
Class.forName(). But again, since you're obviously running Tomcat 4+, and
I haven't come across things like this except when I reload, I think I'd
like some further information on when this is occuring.
Thanks,
-Mike
More information about the Opensource
mailing list