<?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: Is restart required after adding a new domain? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/is-restart-required-after-adding-a-new-domain/m-p/320817#M7818</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If I understand, you'd like to change content template contributions (e.g. extension point "factoryBinding") for defining or updating new domain structures, and finally without restarting your Nuxeo DM.&lt;/P&gt;
&lt;P&gt;You have to reinit your structure which is done during the server startup. If you want to reinit your structure without restarting your server, create an action or operation containing this piece of code (Be carefull, every documents created will be removed except default ones.):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;DocumentModel root = session.getRootDocument();
session.removeChildren(root.getRef());
Framework.getService(ContentTemplateService.class).executeFactoryForType(root);
session.save();
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 06 Apr 2012 10:27:12 GMT</pubDate>
    <dc:creator>Vladimir_Pasqui</dc:creator>
    <dc:date>2012-04-06T10:27:12Z</dc:date>
    <item>
      <title>Is restart required after adding a new domain?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/is-restart-required-after-adding-a-new-domain/m-p/320815#M7816</link>
      <description>&lt;P&gt;Hi,
We have a system where multiple organizations with their respective users are set up in our LDAP server.  We have Nuxeo configured to use the LDAP server for login and domain information purposes.  Is there a way to avoid having to restart Nuxeo when we add the new domain there?&lt;/P&gt;</description>
      <pubDate>Wed, 21 Mar 2012 21:51:10 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/is-restart-required-after-adding-a-new-domain/m-p/320815#M7816</guid>
      <dc:creator>jbs_</dc:creator>
      <dc:date>2012-03-21T21:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is restart required after adding a new domain?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/is-restart-required-after-adding-a-new-domain/m-p/320816#M7817</link>
      <description>&lt;P&gt;Let me ask a different way.  The domains for Nuxeo are defined in an XML file.  Is there a way to force these XML files to be re-read and set up the domains WITHOUT forcing a restart of the Nuxeo DM?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2012 20:53:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/is-restart-required-after-adding-a-new-domain/m-p/320816#M7817</guid>
      <dc:creator>jbs_</dc:creator>
      <dc:date>2012-04-02T20:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is restart required after adding a new domain?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/is-restart-required-after-adding-a-new-domain/m-p/320817#M7818</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;If I understand, you'd like to change content template contributions (e.g. extension point "factoryBinding") for defining or updating new domain structures, and finally without restarting your Nuxeo DM.&lt;/P&gt;
&lt;P&gt;You have to reinit your structure which is done during the server startup. If you want to reinit your structure without restarting your server, create an action or operation containing this piece of code (Be carefull, every documents created will be removed except default ones.):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;DocumentModel root = session.getRootDocument();
session.removeChildren(root.getRef());
Framework.getService(ContentTemplateService.class).executeFactoryForType(root);
session.save();
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Apr 2012 10:27:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/is-restart-required-after-adding-a-new-domain/m-p/320817#M7818</guid>
      <dc:creator>Vladimir_Pasqui</dc:creator>
      <dc:date>2012-04-06T10:27:12Z</dc:date>
    </item>
  </channel>
</rss>

