This content has been marked as final.
Show 6 replies
-
1. Re: Unable to construct a GlobalComponentRegistry!
vblagojevic Nov 25, 2010 9:48 AM (in response to andreacfm)Hi Andrea,
Which Infinispan release did you use?
Vladimir
-
2. Re: Unable to construct a GlobalComponentRegistry!
andreacfm Nov 25, 2010 2:29 PM (in response to vblagojevic)4.1 Final
-
3. Re: Unable to construct a GlobalComponentRegistry!
vblagojevic Nov 26, 2010 7:08 AM (in response to andreacfm)Not sure what to tell you. There was someone else here on the forum trying to setup Infinispan in web container and they had problems as well. I'll open a JIRA so we do not lose a track of this one.
Cheers
-
4. Re: Unable to construct a GlobalComponentRegistry!
andreacfm Nov 26, 2010 2:50 PM (in response to vblagojevic)This is very weird.
Noone using infinispan in containers like tomcat?
Andrea
-
5. Re: Unable to construct a GlobalComponentRegistry!
larry2kk Nov 28, 2010 11:54 PM (in response to andreacfm)I had similar problems when I tried to bundle Infinispan as a OSGi bundle and run it under glassfish.
The workaround I did was:
Thread.currentThread().setContextClassLoader(this.getClass().getClassLoader()); cacheManager = new DefaultCacheManager(domainRoot + "/config/cache.xml"); cacheManager.start();
and that did it for me.
-
6. Re: Unable to construct a GlobalComponentRegistry!
galder.zamarreno Dec 21, 2010 9:20 AM (in response to larry2kk)I added an FAQ entry to the "Third Party Containers" section in http://community.jboss.org/docs/DOC-13439
Andrea, it'd be interesting to find out whether the workaround worked for you.