search cancel

Clarity: How to configure Jaspersoft to run scheduled report on dedicated Jaspersoft Scheduler Node

book

Article ID: 187411

calendar_today

Updated On:

Products

Clarity PPM On Premise

Issue/Introduction

As part of Jaspersoft Cluster Setup with clarity, how to ensure scheduled reports runs only on a dedicated Jaspersoft Scheduler Node 

Cause

NA 

Environment

All Clarity Version with Jaspersoft 

Resolution

  1. Install Jaspersoft Primary Node Cluster provided with Clarity as per document 
  2. Install Jaspersoft Secondary Node provided with Clarity as per the document 
  3. Now on the Jaspersoft Primary node you want to run only immediate report then follow the below steps
    • Ensure Jaspersoft services are stopped on both the nodes 
    • Login to Jaspersoft Primary node and navigate to WEB-INF/applicationContext-report-scheduling.xml, and ensure quartzSchedulerControl is commented 
    •  
    • <!--   <bean id="quartzSchedulerControl" class="com.jaspersoft.jasperserver.api.engine.scheduling.quartz.QuartzSchedulerControl"
              depends-on="reportSchedulingService" init-method="start">
              <property name="scheduler" ref="quartzScheduler"/>
          </bean> -->
  4. The step 3 will ensure that schedule report only run via Jaspersoft Secondary Node (In this example this is dedicated Scheduler Node)