Bug 34159 - Charset extension through jdk1.4 CharsetProvider does not work in web applications
Summary: Charset extension through jdk1.4 CharsetProvider does not work in web applica...
Alias: None
Product: Tomcat 4
Classification: Unclassified
Component: Unknown (show other bugs)
Version: Unknown
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Keywords: JDK1.4, JDK1.5
Depends on:
Reported: 2005-03-24 09:03 UTC by teletype
Modified: 2005-04-10 15:03 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description teletype 2005-03-24 09:03:19 UTC
The META-INF/services/java.nio.charset.spi.CharsetProvider file is ignored by
the container. If the charset extension classes are placed lib/ext of JDK then
the charset extension is available everywhere except in the web application.
It can be a improper class loader problem in Catalina.
Comment 1 Mark Thomas 2005-03-24 20:01:38 UTC
Your Charset should be loaded by the bootstrap classloader providing it has been
placed in $JAVA_HOME/jre/lib/ext as per

Have you placed your jar in the correct directory?
Comment 2 Mark Thomas 2005-04-10 23:03:52 UTC
Since there has been no response to my previous comment I am going to assume
that this was a configuration/file location issue and therefore resolve this as

If this is not the case, please re-open the bug and if possible provide a test
case that demonstrates the issue you are seeing.