Ah, my bad, this is the same as null. Sorry for the stupid comment.
-John

On Thu, Jul 9, 2009 at 1:55 PM, John Wang <john.w...@gmail.com> wrote:

> Hi guys:
>      Could it be in method:load in class CoreContainer:
>
> libLoader = SolrResourceLoader.createClassLoader(f, null);
>
>
>    The parent ClassLoader is set to null, shouldn't it be the current
> classloader? e.g."
>
>
> libLoader =
> SolrResourceLoader.createClassLoader(f,Thread.currentThread().getContextClassLoader(
> ));
>
>
> Thanks
>
>
> -John
>
> On Sun, Jul 5, 2009 at 11:38 PM, John Wang <john.w...@gmail.com> wrote:
>
>> Hi Chris:
>>
>>      The problem is that (at least for me, not a expert spring'er) The
>> beans are being loaded (and when the class loading issue occurs) at
>> construction time of FileSystemXmlApplicationContex, the setClassLoader
>> method by the time can be called is too late.
>>
>> -John
>>
>>
>> On Thu, Jul 2, 2009 at 2:26 PM, Chris Hostetter <hossman_luc...@fucit.org
>> > wrote:
>>
>>>
>>> :     I did try that. The problem is that you can't tell
>>> : FileSystemXmlApplicationContext to load with a different ClassLoader.
>>>
>>> why not?
>>>
>>> it subclasses DefaultResourceLoader which has the  setClassLoader method
>>> Mark pointed out.
>>>
>>>
>>>
>>> -Hoss
>>>
>>>
>>
>

Reply via email to