<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to run multiple nuxeo WARs on one Tomcat? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-multiple-nuxeo-wars-on-one-tomcat/m-p/324958#M11959</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
    <pubDate>Thu, 06 Aug 2015 12:36:08 GMT</pubDate>
    <dc:creator>Julien_Carsique</dc:creator>
    <dc:date>2015-08-06T12:36:08Z</dc:date>
    <item>
      <title>How to run multiple nuxeo WARs on one Tomcat?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-multiple-nuxeo-wars-on-one-tomcat/m-p/324957#M11958</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;
&lt;P&gt;I tried on a tomcat server 7.0.61 to run multiple nuxeo 7.2 instances, built according to &lt;A href="http://doc.nuxeo.com/x/HoeN" target="test_blank"&gt;http://doc.nuxeo.com/x/HoeN&lt;/A&gt;, but errors occured during the startup of the server:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;localhost-startStop-1 10:42:22,112 ERROR [RegistrationInfoImpl] Component notification of application started failed.{}
java.lang.RuntimeException: javax.management.InstanceAlreadyExistsException: org.nuxeo.automation:name=tracerfactory
        at org.nuxeo.ecm.automation.core.AutomationComponent.applicationStarted(AutomationComponent.java:219)
        at org.nuxeo.runtime.model.impl.RegistrationInfoImpl.notifyApplicationStarted(RegistrationInfoImpl.java:323)
        at org.nuxeo.runtime.osgi.OSGiRuntimeService.notifyComponentsOnStarted(OSGiRuntimeService.java:487)
        at org.nuxeo.runtime.osgi.OSGiRuntimeService.fireApplicationStarted(OSGiRuntimeService.java:523)
        at org.nuxeo.runtime.osgi.OSGiRuntimeService.frameworkEvent(OSGiRuntimeService.java:533)
        at org.nuxeo.osgi.OSGiAdapter.fireFrameworkEvent(OSGiAdapter.java:232)
        at org.nuxeo.osgi.application.loader.FrameworkLoader.doStart(FrameworkLoader.java:246)
        at org.nuxeo.osgi.application.loader.FrameworkLoader.start(FrameworkLoader.java:126)
        at org.nuxeo.runtime.deployment.NuxeoStarter.start(NuxeoStarter.java:114)
        at org.nuxeo.runtime.deployment.NuxeoStarter.contextInitialized(NuxeoStarter.java:87)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5016)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5528)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:901)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:877)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1258)
        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1918)
        at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
Caused by: javax.management.InstanceAlreadyExistsException: org.nuxeo.automation:name=tracerfactory
        at com.sun.jmx.mbeanserver.Repository.addMBean(Unknown Source)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(Unknown Source)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(Unknown Source)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Unknown Source)
        at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown Source)
        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown Source)
        at org.nuxeo.ecm.automation.core.AutomationComponent.bindManagement(AutomationComponent.java:95)
        at org.nuxeo.ecm.automation.core.AutomationComponent.applicationStarted(AutomationComponent.java:217)
        ... 22 more
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It looks like there is a conflict between the Nuxeo instances.
Is there a way to make it works please? Is there some configuration missing in the nuxeo web.xml or context.xml files? Or is it necessary to move some nuxeo libs in the $TOMCAT/lib shared classloader?&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 21 May 2015 09:15:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-multiple-nuxeo-wars-on-one-tomcat/m-p/324957#M11958</guid>
      <dc:creator>symon_</dc:creator>
      <dc:date>2015-05-21T09:15:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to run multiple nuxeo WARs on one Tomcat?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-multiple-nuxeo-wars-on-one-tomcat/m-p/324958#M11959</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 12:36:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-run-multiple-nuxeo-wars-on-one-tomcat/m-p/324958#M11959</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2015-08-06T12:36:08Z</dc:date>
    </item>
  </channel>
</rss>

