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...
Status: RESOLVED INVALID
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
URL:
Keywords: JDK1.4, JDK1.5
Depends on:
Blocks:
 
Reported: 2005-03-24 09:03 UTC by teletype
Modified: 2005-04-10 15:03 UTC (History)
0 users



Attachments

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
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html

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
invalid.

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.