[infinispan-dev] Failure looking up the river marshaller under AS 7 environment
"이희승 (Trustin Lee)"
trustin at gmail.com
Tue May 31 10:41:29 EDT 2011
Yes. They are from different modules. How could this issue be resolved
then? It would be great if I can just specify the marshaller factory by
myself when I construct CacheManager, HotRodServer, MemcachedServer.
Also, the current NullPointerException is not very user-friendly.
Perhaps we should raise more specific exception with a message?
Cheers,
Trustin
On 05/31/2011 05:20 PM, Dan Berindei wrote:
> We don't use the TCCL to load the MarshallerFactory:
>
> factory = Marshalling.getMarshallerFactory("river",
> Marshalling.class.getClassLoader());
>
> Maybe the Marshalling class and the RiverMarshallerFactory classes are
> in different modules?
>
> Dan
>
>
> On Tue, May 31, 2011 at 10:14 AM, "이희승 (Trustin Lee)"<trustin at gmail.com> wrote:
>> Hi folks,
>>
>> I'm trying to run Infinispan under AS 7 (i.e. JBoss Modules). I
>> succeeded to run an EmbeddedCacheManager, HotRodServer, and
>> MemcachedServer. However, it fails when a new node joins the cluser:
>>
>> http://pastebin.com/pGfxSWJP
>>
>> The root cause of the failure is that GenericJBossMarshaller fails to
>> find the RiverMarshallerFactory. So, I set the TCCL, but it didn't help
>> at all. Even setting the TCCL to
>> RiverMarshallerFactory.class.getClassLoader() doesn't seem to help. Any
>> clues?
>>
>> Cheers
>>
>> --
>> Trustin Lee, http://gleamynode.net/
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
--
Trustin Lee, http://gleamynode.net/
More information about the infinispan-dev
mailing list