tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Custom Standard Classloader
Date Fri, 04 Nov 2011 17:03:00 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul,

On 11/4/11 7:23 AM, Paul Wilson wrote:
> I'd like to specify a custom implementation of
> 'StandardClassLoader' for Tomcat 6. I've written such an
> implementation of 'org.apache.catalina.loader.StandardClassLoader'
> and dropped it onto the classpath (using the Eclipse launch
> configuration).

So, where did it actually go?

> However, I get an error:
> 
> java.lang.ClassNotFoundException:
> org.apache.catalina.startup.Catalina
> 
> It seems that only the lib/* jars are available at this point in
> time, and not bootstrap.jar.
> 
> What's the correct way to override the StandardClassLoader?

It's hard to say because you are launching Tomcat from within Eclipse.
If you were launching it from the command-line, then the classpath
used would be predictable.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk60GsQACgkQ9CaO5/Lv0PBWAgCfWUxCU10ZztWkN5JycQX7BRIO
otoAnRx29MMARgy1Pw0JenETag9c/RfO
=9QQX
-----END PGP SIGNATURE-----

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


Mime
View raw message