tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronald Klop <ronald-mailingl...@base.nl>
Subject Re: loading a CharsetProvider via WebappClassLoader
Date Mon, 02 Nov 2009 13:55:06 GMT
Kris,

Thanks a lot for these pointers. It makes a lot very clear and we will do the dirty workaround
now and vote for the bugs at the Sun website.

Ronald.


Op donderdag, 29 oktober 2009 16:48 schreef Kris Schneider <kschneider@gmail.com>:
> 
>  
> I guess this bug will be of interest since it mentions both jutf7 and
> webapps ;-)
> 
> http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4619777
> 
> On Thu, Oct 29, 2009 at 11:42 AM, Kris Schneider <kschneider@gmail.com> wrote:
> > While the Javadoc for CharsetProvider claims that providers are looked
> > up via the current thread's context class loader, the code for Charset
> > seems to clearly be using ClassLoader.getSystemClassLoader()...
> >
> > On Thu, Oct 29, 2009 at 10:51 AM, Ronald Klop
> > <ronald-mailinglist@base.nl> wrote:
> >> Hi,
> >>
> >> I have this jar (jutf7.jar) which should register itself with the
> >> CharsetProvider of Java. If I put it in the WEB-INF/lib directory it is
> >> ignored by Java. I understand that this is because of order in which the
> >> WebappClassLoader asks all other classloaders for a class.
> >> How can this be solved? Withouting having to deploy a jar file outside of
> >> the webapp. Or is this not possible?
> >>
> >> Thanks in advance for any tips.
> >>
> >> Ronald.
> >
> > --
> > Kris Schneider
> >
> 
> 
> 
> -- 
> Kris Schneider
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message