Re: Using custom Charset's through CharsetProvider SPI in webapps not working

2009-02-18 Thread Mark Thomas
Joonas Koivunen wrote: > I guess the System's ClassLoader cannot see the webapp's libraries at > all? Correct. > Or is this a fault in Tomcat's webapp -classloader, not exposing > SPI meta information? Unlikely. > Is it impossible to have webapps that benefit from SPIs and custom > charset-implem

Using custom Charset's through CharsetProvider SPI in webapps not working

2009-02-18 Thread Joonas Koivunen
Hi everyone, In my application I need to use a library that requires two custom Charset implementations which are delivered in a jar, with proper SPI meta information (META-INF/services/...). It works under Eclipse when doing unit-tests. This all is using Apache Tomcat 6.0.18, under Sun Java 1.6.