classpathx-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-discuss] Help needed gnu classpathx mail


From: Chris Burdess
Subject: Re: [Classpathx-discuss] Help needed gnu classpathx mail
Date: Wed, 31 Dec 2003 12:08:55 +0000
User-agent: Mutt/1.3.28i

Chris wrote:
> Ok, I see what's going on. Now here's a tough question... My application 
> has a plugin architecture and uses custom plugins, and therefore custom 
> classloaders. My plugin is calling Session.getSession().  That means its 
> gets a Session object from the Sun java class library. However I have 
> the gnu Providers in my plugin, and I mention them in my 
> META-INF/javamail.providers file. However because that is in my plugin 
> under a different class loader it isn't found. I need a way to get the 
> Session object to load its javamail.providers from a custom location so 
> it doesn't rely on the default classloader.

place both sun and custom providers in the
${JAVA_HOME}/lib/javamail.providers file, or use gnu javamail instead of
the sun implementation.
-- 
Chris Burdess




reply via email to

[Prev in Thread] Current Thread [Next in Thread]