Thanks Thomas.
On Tue, Apr 24, 2012 at 6:21 PM, Thomas Mortagne
<thomas.mortagne(a)xwiki.com>wrote;wrote:
At init Infinispan register its cache manager to JMX
server and does
not really like much when something is already registered with the
same domain name (IMO they should probably just print a warning).
In you case I think the best is to have a different JMX domain for
each instance of XWiki. You can configure it in
WEB-INF/cache/infinispan/config.xml, search for JMX.
On Tue, Apr 24, 2012 at 1:12 PM, mohit gupta <motgupta(a)gmail.com> wrote:
Hi All,
i have my application deployed as myApp1 on tomcat 6 service. Due to some
requirement, i copied myApp1 and pasted under webapp as myApp2.Now i
restarted tomcat
and hit my url for myApp1. Worked fine . But on hitting the url for app2
,
i get
org.infinispan.jmx.JmxDomainConflictException: Domain already
registered org.infinispan
.Below is the root cause section in exception stack trace
root cause
org.infinispan.jmx.JmxDomainConflictException: Domain already
registered org.infinispan
org.infinispan.jmx.JmxUtil.buildJmxDomain(JmxUtil.java:73)
org.infinispan.jmx.CacheManagerJmxRegistration.updateDomain(CacheManagerJmxRegistration.java:92)
org.infinispan.jmx.CacheManagerJmxRegistration.buildRegistrar(CacheManagerJmxRegistration.java:86)
org.infinispan.jmx.AbstractJmxRegistration.registerMBeans(AbstractJmxRegistration.java:46)
org.infinispan.jmx.CacheManagerJmxRegistration.start(CacheManagerJmxRegistration.java:62)
org.infinispan.manager.DefaultCacheManager.start(DefaultCacheManager.java:637)
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:319)
org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:283)
org.xwiki.cache.infinispan.internal.InfinispanCacheFactory.initialize(InfinispanCacheFactory.java:134)
org.xwiki.component.embed.InitializableLifecycleHandler.handle(InitializableLifecycleHandler.java:39)
org.xwiki.component.embed.EmbeddableComponentManager.createInstance(EmbeddableComponentManager.java:295)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:358)
org.xwiki.component.embed.EmbeddableComponentManager.getComponentInstance(EmbeddableComponentManager.java:324)
org.xwiki.component.embed.EmbeddableComponentManager.lookup(EmbeddableComponentManager.java:147)
org.xwiki.component.internal.DefaultComponentManager.lookup(DefaultComponentManager.java:72)
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:79)
org.xwiki.cache.internal.DefaultCacheManager.getCacheFactory(DefaultCacheManager.java:61)
> com.xpn.xwiki.XWiki.getCacheFactory(XWiki.java:5887)
> For the information,I am running the
tomcat as service.
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users