<?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: Nuxeo 7.10 Clustring - Quartz configured but starts as NON_CLUSTERED in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318387#M5388</link>
    <description>&lt;P&gt;Why is not this code parameterized ?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Nov 2016 08:34:35 GMT</pubDate>
    <dc:creator>Antonio_Pescion</dc:creator>
    <dc:date>2016-11-30T08:34:35Z</dc:date>
    <item>
      <title>Nuxeo 7.10 Clustring - Quartz configured but starts as NON_CLUSTERED</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318383#M5384</link>
      <description>&lt;P&gt;Hi,
I configured a Cluster with 2 Nuxeo Nodes (Nuxeo 7.10) and, in order to use Quartz job scheduler, following &lt;A href="https://doc.nuxeo.com/nxdoc/nuxeo-clustering-configuration/" target="test_blank"&gt;https://doc.nuxeo.com/nxdoc/nuxeo-clustering-configuration/&lt;/A&gt; guide, used Oracle Tamplate, populated DB with DDL provided, and, in main nuxeo config file, set "nuxeo.quartz.enable=true".
Starting Cluster Nodes, on each node, seems that quartz template is ignored, and follow logs are readable:&lt;/P&gt;
&lt;P&gt;09:24:41,781 INFO  [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-2) Using default implementation for ThreadExecutor
09:24:41,834 INFO  [org.quartz.core.SchedulerSignalerImpl] (MSC service thread 1-2) Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
09:24:41,834 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-2) Quartz Scheduler v.2.2.2 created.
09:24:41,837 INFO  [org.quartz.simpl.RAMJobStore] (MSC service thread 1-2) RAMJobStore initialized.
09:24:41,840 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-2) Scheduler meta-data: Quartz Scheduler (v2.2.2) 'Quartz' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.&lt;/P&gt;
&lt;P&gt;09:24:41,840 INFO  [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-2) Quartz scheduler 'Quartz' initialized from an externally provided properties instance.
09:24:41,840 INFO  [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-2) Quartz scheduler version: 2.2.2
09:24:41,840 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-2) Scheduler Quartz_$_NON_CLUSTERED started.&lt;/P&gt;
&lt;P&gt;Could someone please help me with this? Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 13:50:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318383#M5384</guid>
      <dc:creator>Devilot_78</dc:creator>
      <dc:date>2016-11-24T13:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo 7.10 Clustring - Quartz configured but starts as NON_CLUSTERED</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318384#M5385</link>
      <description>&lt;P&gt;What does the generated file &lt;CODE&gt;nxserver/config/quartz.properties&lt;/CODE&gt; contain? Do you have &lt;CODE&gt;nuxeo.force.generation=true&lt;/CODE&gt; in &lt;CODE&gt;bin/nuxeo.conf&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 14:50:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318384#M5385</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2016-11-24T14:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo 7.10 Clustring - Quartz configured but starts as NON_CLUSTERED</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318385#M5386</link>
      <description>&lt;P&gt;Hi,
first of all, tnx for your answer.&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;nuxeo.force.generation=true&lt;/CODE&gt; in my nuxeo main configuration file, and my quartz.properties is:&lt;/P&gt;
&lt;P&gt;org.quartz.scheduler.instanceName = Quartz
org.quartz.scheduler.threadName = Quartz_Scheduler
org.quartz.scheduler.instanceId = AUTO
org.quartz.scheduler.makeSchedulerThreadDaemon = true
org.quartz.scheduler.skipUpdateCheck = true
org.quartz.scheduler.xaTransacted = true
org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
org.quartz.threadPool.threadCount = 2
org.quartz.threadPool.threadPriority = 4
org.quartz.threadPool.makeThreadsDaemons = true
org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreCMT
org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
org.quartz.jobStore.dataSource = nxquartz
org.quartz.jobStore.nonManagedTXDataSource = nxquartz_no_tx
org.quartz.jobStore.acquireTriggersWithinLock = true
org.quartz.jobStore.tablePrefix = qrtz_
org.quartz.jobStore.isClustered = true
org.quartz.dataSource.nxquartz.jndiURL = ${jndi.base}/jdbc/nxquartz
org.quartz.dataSource.nxquartz.connectionProvider.class = org.nuxeo.ecm.core.scheduler.NuxeoQuartzConnectionProvider
org.quartz.dataSource.nxquartz_no_tx.jndiURL = ${jndi.base}/jdbc/nxquartz_no_tx
org.quartz.dataSource.nxquartz_no_tx.connectionProvider.class = org.nuxeo.ecm.core.scheduler.NuxeoQuartzConnectionProvider&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2016 15:16:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318385#M5386</guid>
      <dc:creator>Devilot_78</dc:creator>
      <dc:date>2016-11-24T15:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo 7.10 Clustring - Quartz configured but starts as NON_CLUSTERED</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318386#M5387</link>
      <description>&lt;P&gt;The files are correct, the nuxeo version is 7.10 or LTS2015 and the server is Wildfly 8.1 "Kenny".
I have gone in the debug mode, with org.nuxeo.ecm.core.scheduler.SchedulerServiceImpl, in the setupScheduler method and at 77th line the below code&lt;/P&gt;
&lt;P&gt;URL cfg = context.getRuntimeContext().getResource("config/quartz.properties");&lt;/P&gt;
&lt;P&gt;returns the cfg variable equals null.
Then I have setup an debug expression, in the eclipse debug, with the below statement&lt;/P&gt;
&lt;P&gt;URL cfg = context.getRuntimeContext().getResource("config/");&lt;/P&gt;
&lt;P&gt;and the cfg was vfs:/content/nuxeo-oracle.war/WEB-INF/lib/elasticsearch-1.5.2.jar/config/&lt;/P&gt;
&lt;P&gt;This is the log:&lt;/P&gt;
&lt;P&gt;15:41:49,319 INFO  [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-4) Using default implementation for ThreadExecutor
15:41:49,474 INFO  [org.quartz.core.SchedulerSignalerImpl] (MSC service thread 1-4) Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
15:41:49,475 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-4) Quartz Scheduler v.2.2.2 created.
15:41:49,481 INFO  [org.quartz.simpl.RAMJobStore] (MSC service thread 1-4) RAMJobStore initialized.
15:41:49,487 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-4) Scheduler meta-data: Quartz Scheduler (v2.2.2) 'Quartz' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.&lt;/P&gt;
&lt;P&gt;15:41:49,487 INFO  [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-4) Quartz scheduler 'Quartz' initialized from an externally provided properties instance.
15:41:49,487 INFO  [org.quartz.impl.StdSchedulerFactory] (MSC service thread 1-4) Quartz scheduler version: 2.2.2
15:41:49,487 INFO  [org.quartz.core.QuartzScheduler] (MSC service thread 1-4) Scheduler Quartz_$_NON_CLUSTERED started.&lt;/P&gt;
&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2016 15:19:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318386#M5387</guid>
      <dc:creator>Devilot_78</dc:creator>
      <dc:date>2016-11-29T15:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo 7.10 Clustring - Quartz configured but starts as NON_CLUSTERED</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318387#M5388</link>
      <description>&lt;P&gt;Why is not this code parameterized ?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Nov 2016 08:34:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-7-10-clustring-quartz-configured-but-starts-as-non/m-p/318387#M5388</guid>
      <dc:creator>Antonio_Pescion</dc:creator>
      <dc:date>2016-11-30T08:34:35Z</dc:date>
    </item>
  </channel>
</rss>

