gt; Subject: Re: Classes Directory
>
>
> As it turns out, this ended up being a class loader problem.
> In reviewing
> the James source code, I see two problems:
> 1) It uses this.class.getClassLoader(), rather than the preferred
> Thread.currentThread.getContextClassLoader(). Thi
As it turns out, this ended up being a class loader problem. In reviewing
the James source code, I see two problems:
1) It uses this.class.getClassLoader(), rather than the preferred
Thread.currentThread.getContextClassLoader(). This is not a problem right
now, as the Apache James developers hav
Actually, this is not resolved. It now loads classes from the classes
directory, but it does not load resources from there (this probably has
something to do with the fact that when it loads classes, it does not
actually load the classes directory onto the classpath). Therefore, I need a
way to
It looks as though it should be using SAR-INF/classes, so perhaps the
trouble I had was related to something else. It now does seem to be loading
the class out of SAR-INF/classes.
Thanks.
On 8/30/05, Stefano Bagnara <[EMAIL PROTECTED]> wrote:
>
> Hi Ben,
>
> I've not encountered the problem,
Hi Ben,
I've not encountered the problem, but I can give you an hint: you should
look at org.apache.james.transport.Loader to see how James does handle the
classloading for matcher/mailets. Maybe this helps.
Stefano
> Hey all,
>
> I'm trying to set up a classes directory within one of my SAR
>