On 19 Apr 2013, at 18:02, Sanne Grinovero wrote:
It turns out this resource loading issue is biting also community
users;
I had worked aroud the problem for deploymens in the AS7 modular
classloader by wrapping the configuration parser with the "right"
classloader:
https://github.com/hibernate/hibernate-search/blob/master/hibernate-searc...
But today on IRC I had to point to this class as an example to another
user looking to run Infinispan in an isolated classloader.
Maybe we should have an (optional) Parser API which takes explicit
classloaders ?
+1
When reading the metadata only, wouldn't it make sense to try and use both context and
(fallback) class's class loaders? Would that solve the issue you reported?
Cheers,
--
Mircea Markus
Infinispan lead (
www.infinispan.org)