<?xml version="1.0"?>
<rss version="2.0"><channel><title>Knowledge Base: FAQs</title><link>https://community.jaspersoft.com/knowledgebase/faq/page/31/?d=6</link><description>Knowledge Base: FAQs</description><language>en</language><item><title>VIDEO: Using Vagrant to perform a silent installation of Jaspersoft ETL</title><link>https://community.jaspersoft.com/knowledgebase/faq/video-using-vagrant-perform-silent-installation-jaspersoft-etl/</link><description><![CDATA[<p>This video explains how to perform a silent installation of Jaspersoft ETL using Vagrant</p><p><iframe allowfullscreen="" frameborder="0" height="315" width="560" src="https://www.youtube.com/embed/DeNtQ9G8350" loading="lazy"></iframe></p><p> </p>]]></description><guid isPermaLink="false">3192</guid><pubDate>Mon, 12 Nov 2018 21:19:10 +0000</pubDate></item><item><title>CsrfGuard error:required token is missing from the request</title><link>https://community.jaspersoft.com/knowledgebase/faq/csrfguard-errorrequired-token-missing-request/</link><description><![CDATA[<p></p><h3>Issue Description</h3><p>A customer tries to access their JasperReports Server from behind a proxy or loadbalancer and find this error in their logs:</p><p>2016-09-15 11:41:11,534 ERROR CsrfGuard,http-nio-8080-exec-6:44 - potential cross-site request forgery (CSRF) attack thwarted (user:, ip:192.168.150.15, method:POST, uri:/jasperserver-pro/rest_v2/reports/organizations/8001/Reports/uic_s_month_adm/inputControls/, error:required token is missing from the request) </p><h3>Resolution</h3><p>The CsrfGuard is protecting from Cross Site Request Forgery - <a href="https://www.owasp.org/index.php/Cross-Site_Request_Forgery" rel="external nofollow">https://www.owasp.org/index.php/Cross-Site_Request_Forgery</a> (CSRF)</p><p>The message "required token is missing from the request" indicates that our application is expecting a token which isn't present in the http headers forwarded from the proxy or loadbalancer.</p><p>The token we expect is defined in jasperserver-proWEB-INFcsrfjrs.csrfguard.properties, org.owasp.csrfguard.TokenName=OWASP_CSRFTOKEN</p><p>In 5.6.x the value was JASPER_CSRF_TOKEN, but in 6.3.x it is OWASP_CSRFTOKEN .</p><p>Your network engineers should evaluate the headers and ensure the correct token is being passed</p><p><strong><em>Ref. Case 00071217</em></strong></p>]]></description><guid isPermaLink="false">2408</guid><pubDate>Thu, 29 Sep 2016 00:05:44 +0000</pubDate></item><item><title>Example of hardware recommendation</title><link>https://community.jaspersoft.com/knowledgebase/faq/example-hardware-recommendation/</link><description><![CDATA[<h2>Question</h2><p>The customer would like some hardware recommendation for the following configuration:</p><p>Parameters for estimating exact hardware requirements are:</p><ul><li><p>Report concurrency (number of reports run at the same time), intensity of user activity (e.g. think-time).</p><p>It will be max 300 concurrent reports execution in a worst case scenario. </p></li><li><p>Report complexity and result sizes. </p><p>Max 4,50,000 transactions per day and 22 days in a month. </p></li><li><p>Existing RAM, Allocated Heap memory size, CPU Cores and other hardware specifications. </p><ol><li><p>Usage Physical/Virtual OS Software Hostname CPU (Core) Mem (GB) Disk – IBM SAN SVC </p></li><li><p>Jboss1 Virtual RHEL 6.6 JBOSS EAP 6.2.4 ldctvljboa01 4 8 20G (OS) +80G (Data) </p></li><li><p>jboss2 Virtual RHEL 6.6 JBOSS EAP 6.2.4 ldctvljboa02 4 8 20G (OS) +80G (Data) </p></li><li><p>Marklogic1 Virtual RHEL 6.6 ML 8.0-4 ldctvlmara01 8 128 20G (OS) +200G (Data) </p></li><li><p>Marklogic2 Virtual RHEL 6.6 ML 8.0-4 ldctvlmara02 8 128 20G (OS) +200G (Data) </p></li><li><p>marklogic3 Virtual RHEL 6.6 ML 8.0-4 ldctvlmara03 8 128 20G (OS) +200G (Data) </p></li><li><p>Web Virtual RHEL 6.6 Apache ldctvlwebd01 2 4 20G (OS)+ 100G(Data)</p></li><li><p>Jasper soft Virtual RHEL 6.6 TBD ldctvlappd01 4 32 20G (OS) + 50G(Data) </p></li></ol></li><li><p>Active users: Active users will be max 300 . </p></li><li><p>Concurrent report executions: the subset of active users that are simultaneously demanding system resources like Jasper reports execution at any given time. </p></li></ul><hr /><h2>Suggestion</h2><p>This would be question for service team (PS/SE) to provide individual guidance on sizing. The customer's answers indicate they do not have a well defined usage plan at this time. let me read between the lines here ....</p><p>300 concurrent users running reports all the time (worst case).</p><ul><li>this is unlikely for an interactive system - would only happen for production reporting</li></ul><p>No ad hoc (domains) or dashboards</p><p>4 core, 32GB RHEL for Jaspersoft </p><ul><li>- could dedicate up to 30GB for Tomcat + Jaspersoft </li><li>- reports only do not need a large amount of memory </li></ul><p>IF - and this is really important - only IF: </p><ul><li><p>the individual reports perform in a reasonable amount of time - under 5 secs, say </p></li><li><p>the 300 users are submitting 1 report every 30 seconds - which would be typical for interactive reports </p></li></ul><p>=&gt; You would need 6-8 cores.</p><p>There are many variables that come into play when estimating size. Our services team can help you evaluate this.</p><p>Whether they can get that performance depend on their environment and use cases (what is being run, what is the speed of the data sources ... ).</p><p>They need to test the reports to determine base line performance and then extrapolate what their capacity will be. </p><p> </p>]]></description><guid isPermaLink="false">2311</guid><pubDate>Wed, 29 Jun 2016 01:08:47 +0000</pubDate></item><item><title>Resizing elements inside a cross tab cell in TIBCO Jaspersoft&#xAE; Studio 6.2.1</title><link>https://community.jaspersoft.com/knowledgebase/faq/resizing-elements-inside-cross-tab-cell-tibco-jaspersoft-studio-621/</link><description><![CDATA[<h3>Issue Description</h3><p>It is no longer possible in TIBCO Jaspersoft<sup>®</sup> Studio 6.2.1 to individually control the size and position of an element inside a cross tab (or table) cell. Any element added or edited automatically snaps to the width and height of the cell. If there are multiple elements in a cell, the height is divide equally between the elements to fit the cell.</p><hr /><h3>Resolution</h3><p>A property called 'layout' controls how the text controls can be resized within a crosstab cell. In Jaspersoft<sup>®</sup> Studio 6.2.1, the default behavior is that the layout property is set to 'vertical layout'. This forces the text control within the crosstab cell to conform to the dimensions of the cell. Setting the layout property to 'free layout' will allow users to change the width and length of the text control within the cell.</p><hr /><p><strong><em>Ref. Case 00068065</em></strong></p>]]></description><guid isPermaLink="false">2221</guid><pubDate>Wed, 20 Apr 2016 00:45:15 +0000</pubDate></item><item><title>400 error code when trying to create user via REST</title><link>https://community.jaspersoft.com/knowledgebase/faq/400-error-code-when-trying-create-user-rest/</link><description><![CDATA[<h2>Issue Description: </h2><p>When attempting to create a new user via REST API the error code returned is an http 400 error.</p><hr /><h2>Resolution:</h2><p>The user being created has several roles associated with it, including ROLE_SUPERUSER. Attempts to replicate in house showed one key difference in our test cases, that being in the in house test case the superuser user was used to login and then submit the request while in the customer's test case, a tenant administrator was used. Tenant administrator users typically do not have the ability to assign that role to users, as this role exists at the root level. Once they used the superuser account, creating the user, succeeded.</p>]]></description><guid isPermaLink="false">3178</guid><pubDate>Mon, 05 Nov 2018 23:10:28 +0000</pubDate></item><item><title>VIDEO: Visualize.js and Rendering Ad Hoc View Data w/ External Tools via JavaScript</title><link>https://community.jaspersoft.com/knowledgebase/faq/video-visualizejs-and-rendering-ad-hoc-view-data-w-external-tools-javascript/</link><description><![CDATA[<p>This video demonstrates how to utilize the Visualize.js API to extract data from an Ad Hoc View and render it with a third party library or other visualization tool (rather than the supplied charting/reporting libraries).</p><p><iframe allowfullscreen="" frameborder="0" height="473" width="840" src="https://www.youtube.com/embed/QYPP2kzwOPU" loading="lazy"></iframe></p>]]></description><guid isPermaLink="false">3177</guid><pubDate>Mon, 05 Nov 2018 22:09:56 +0000</pubDate></item><item><title>How To Not Shift The Legend Colors When Use Less Data</title><link>https://community.jaspersoft.com/knowledgebase/faq/how-not-shift-legend-colors-when-use-less-data/</link><description><![CDATA[<p></p><table border="0" cellpadding="0" cellspacing="0" style="width:100%;"><tbody><tr><td style="text-align:left;vertical-align:middle;width:50%;"><h2>Description:</h2><p>The legend colors change depending on how many bars there are.  Example: The legend has 6 bars ('states') with its own colors:</p><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="text-align:left;vertical-align:top;width:16%;"><ul><li>CA - orange</li><li>WA - yellow</li></ul></td><td style="text-align:left;vertical-align:top;width:16%;"><ul><li>BC - green</li><li>DF - red</li></ul></td><td style="text-align:left;vertical-align:top;width:20%;"><ul><li>Mexico - light grey</li><li>OR - dark grey</li></ul></td></tr></tbody></table></td><td style="text-align:left;vertical-align:middle;width:50%;">[toc]</td></tr></tbody></table><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_11/2_0.jpg.72f67b956e6bfdb648f0c3b7474f9cac.jpg" data-fileid="90514" data-fileext="jpg" rel=""><img data-fileid="90514" class="ipsImage ipsImage_thumbnailed" alt="2_0.jpg.72f67b956e6bfdb648f0c3b7474f9cac.jpg" src="//media.invisioncic.com/i328763/monthly_2018_11/2_0.jpg.72f67b956e6bfdb648f0c3b7474f9cac.jpg" loading="lazy"></a></p><p>When remove 'CA' from filter - there are 5 bars which are for should be without 'orange' color. However, you see the 'orange' color on 'DF' field, the 'dark grey' one is removed (the last in the list).</p><p>How to get the legend color to stick to the color assigned?</p><hr><h2>Solution:</h2><p>Using property 'SeriesItemProperty' instead of 'SeriesProperty' would apply the colors to the entire series accordingly</p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_11/1_1.jpg.7d7e396f446c2701ea6058076ff817c8.jpg" data-fileid="90516" data-fileext="jpg" rel=""><img data-fileid="90516" class="ipsImage ipsImage_thumbnailed" alt="1_1.jpg.7d7e396f446c2701ea6058076ff817c8.jpg" src="//media.invisioncic.com/i328763/monthly_2018_11/1_1.jpg.7d7e396f446c2701ea6058076ff817c8.jpg" loading="lazy"></a></p><hr><p><strong><em>VO - 20181101, case #01575456</em></strong></p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_11/2_0.jpg.243ffd13071ba455dcfa1c86d86fd283.jpg" data-fileid="90515" data-fileext="jpg" rel=""><img data-fileid="90515" class="ipsImage ipsImage_thumbnailed" alt="2_0.jpg.243ffd13071ba455dcfa1c86d86fd283.jpg" src="//media.invisioncic.com/i328763/monthly_2018_11/2_0.jpg.243ffd13071ba455dcfa1c86d86fd283.jpg" loading="lazy"></a></p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_11/1_1.jpg.b8171c42d8715f97b9cad22305b45391.jpg" data-fileid="90517" data-fileext="jpg" rel=""><img data-fileid="90517" class="ipsImage ipsImage_thumbnailed" alt="1_1.jpg.b8171c42d8715f97b9cad22305b45391.jpg" src="//media.invisioncic.com/i328763/monthly_2018_11/1_1.jpg.b8171c42d8715f97b9cad22305b45391.jpg" loading="lazy"></a></p>
<p><a class="ipsAttachLink" href="https://community.jaspersoft.com/applications/core/interface/file/attachment.php?id=130603&amp;key=da997d26c4758ae8ad8954cfe8bb9948" data-fileext="jrxml" data-fileid="130603" data-filekey="da997d26c4758ae8ad8954cfe8bb9948">color.jrxml</a></p>]]></description><guid isPermaLink="false">3174</guid><pubDate>Thu, 01 Nov 2018 11:36:44 +0000</pubDate></item><item><title>Report Runs in Jaspersoft Studio, but not in JasperReports Server</title><link>https://community.jaspersoft.com/knowledgebase/faq/report-runs-jaspersoft-studio-not-jasperreports-server/</link><description><![CDATA[<h2>Issue:</h2><p>When running a report in TIBCO Jaspersoft Studio, the report renders and runs fine. When the same report is ran in TIBCO JasperReports Server, the report does not run and you encounter the following error:</p><pre class='ipsCode prettyprint lang-auto prettyprinted'>ERROR Validator - Invalid SQL:An error has occurred. Please contact your system administrator. (6632)
</pre><h2>Solution:</h2><p>This issue is caused by the SQL validator due to your query. To test this issue is caused by the validator you can disable it using the following instructions:</p><p>Navigate to the following directory:</p><pre class='ipsCode prettyprint lang-auto prettyprinted'>C:\Jaspersoft\jasperreports-server-6.4.2\apache-tomcat\webapps\jasperserver-pro\WEB-INF\classes\esapi\security-config.properties
</pre><p>Change the following property in the security-config.properties file: </p><pre class='ipsCode prettyprint lang-auto prettyprinted'>security.validation.sql.on=true
</pre><blockquote class="ipsQuote"><p>to</p></blockquote><pre class='ipsCode prettyprint lang-auto prettyprinted'>security.validation.sql.on=false
</pre><p>A server restart is required to take effect. Once this change was made, and your report now works in JasperReports Server, the validator rejected your query. It is recommended to keep the validator on and only to disable it for tests.</p><p>To adjust or change the validation to accept your SQL without disabling the validation, you can make the following changes:</p><p>In the same security-config.properties file, you can modify the following property:</p><pre class='ipsCode prettyprint lang-auto prettyprinted'>security.validation.sql.comments.regexp=(?:/\\*.*?\\*/)|(?:--.*?$)|(?:\\#.*?$)
</pre><p>You will have to add the validation there and also in the validation.properties file. The property to change in the validation.properties file is as follows:</p><pre class='ipsCode prettyprint lang-auto prettyprinted'>Validator.ValidSQL=(?is)^\\s*(select|call)\\b((?!\\binto\\b)[^;])*;?\\s*$
</pre><p>This is just an example. Your validator may be different for your query not to be rejected by the validator.</p><hr /><p><em><strong>ref: 01631182</strong></em></p>]]></description><guid isPermaLink="false">3171</guid><pubDate>Wed, 31 Oct 2018 21:13:37 +0000</pubDate></item><item><title>Logo not Showing when Report Exported to xlsx/xls/csv/ods</title><link>https://community.jaspersoft.com/knowledgebase/faq/logo-not-showing-when-report-exported-xlsxxlscsvods/</link><description><![CDATA[<h2>Issue:</h2><p>When a report is exported to XLSX, XLS, CSV, ODS or Excel formats, the resulting files do not have logo. This issue is present for the sample reports with the Jaspersoft logo as well as company logos in reports.</p><hr /><h2>Solution:</h2><p>By default, JasperReports Server ignores graphics on certain exports such as excel. To get the logo to display, there will be a configuration change that needs to be done and a server restart.</p><p>The configuration change is in the <span style="color:#444444;"><strong><em>applicationContext.xml</em></strong></span> file located in the <span style="color:#444444;"><strong><em>WEB-INF</em></strong></span> folder. My specific location is here:</p><pre class='ipsCode prettyprint lang-javascript prettyprinted'>C:\Jaspersoft\jasperreports-server-7.1.0\apache-tomcat\webapps\jasperserver-pro\WEB-INF 
</pre><p>In the file, there is a property as follows: </p><pre class='ipsCode prettyprint lang-xml prettyprinted'>&lt;property name="ignoreGraphics" value="true"/&gt;
</pre><p>with will need to be changed to: </p><pre class='ipsCode prettyprint lang-xml prettyprinted'>&lt;property name="ignoreGraphics" value="false"/&gt;
</pre><p>Once this change has been made, a server restart will be required to take effect. Logos will be displayed in excel exports.</p><hr /><p><strong><em>ref: 01634483</em></strong></p>]]></description><guid isPermaLink="false">3170</guid><pubDate>Wed, 31 Oct 2018 20:41:45 +0000</pubDate></item><item><title>Report Book Table of Contents not working in Visualize.js</title><link>https://community.jaspersoft.com/knowledgebase/faq/report-book-table-contents-not-working-visualizejs/</link><description><![CDATA[<h2>Issue:</h2><p>When creating a report book with a table of contents, the table of contents do not work in Visualize.js. The table of contents work when running the report in JasperReports Server. </p><hr /><h2>Solution:</h2><p>To have the table of contents work in Visualize.js, you have to enable hyperlinks in Visualize.js. Here is a sample on how to enable hyperlinks in a report:</p><pre class='ipsCode prettyprint lang-javascript prettyprinted'>function (v) {
    v("#container").report( {
        resource: "/public/case_01459246/Actions_Details",
        linkOptions: {
            beforeRender: function (linkToElemPairs) {
                linkToElemPairs.forEach(showCursor);
            },
            events: {
                "click": function(ev, link) {
                    ev.stopPropagation();
                    if (link.type == "Reference") {
                        window.open(link.href);
                    }
                    console.log(link);
                }
            }
        },
        error: function (err) {
            alert(err.message);
        }
    });
 
    function showCursor(pair) {
        var el = pair.element;
        el.style.cursor = "pointer";
    }
 
});</pre><p> </p><p>More information can be found in the JasperReports Server Visualize.js guide on enabling hyperlinks.</p><hr /><p><em><strong>ref: 01637643</strong></em></p>]]></description><guid isPermaLink="false">3169</guid><pubDate>Wed, 31 Oct 2018 20:34:54 +0000</pubDate></item><item><title>Report Properties work fine in TIBCO Jaspersoft&#xAE; Studio, but are not working when viewing report on TIBCO JasperReports&#xAE; Server,</title><link>https://community.jaspersoft.com/knowledgebase/faq/report-properties-work-fine-tibco-jaspersoft-studio-are-not-working-when-viewing-report-tibco/</link><description><![CDATA[<h2>Issue:</h2><p>When configuring and adjust your report, it works and looks just as you wanted in TIBCO Jaspersoft<sup>®</sup> Studio, but in TIBCO JasperReports<sup>®</sup> Server, your report looks different and the properties you have added to your report do not work.</p><hr /><h2>Solution:</h2><p>In JasperReports<sup>®</sup> Server, there is a configuration file called "jasperreports.properties" located in the following path:</p><p>C:Jaspersoftjasperreports-server-7.1.0apache-tomcatwebappsjasperserver-proWEB-INFclasses</p><p>This file will overwrite or have priority over your report properties in any of your reports. It is recommended to change or disable the properties in the jasperreports.properties file so that your reports can run those certain properties.</p><hr /><p><em><strong>ref: 01554991</strong></em></p>]]></description><guid isPermaLink="false">3158</guid><pubDate>Thu, 25 Oct 2018 20:32:09 +0000</pubDate></item><item><title>Unable to Delete Organization</title><link>https://community.jaspersoft.com/knowledgebase/faq/unable-delete-organization/</link><description><![CDATA[<table style="width:100%;"><tbody><tr><td style="text-align:left;vertical-align:middle;width:50%;"><h2>Issue:</h2><p>When trying to delete an organization, you may get the following error:</p></td><td>[toc]</td></tr></tbody></table><pre class='ipsCode prettyprint lang-javascript prettyprinted'>could not delete: [com.jaspersoft.ji.adhoc.hibernate.Repo Adhoc DataView#2816];
 SQL [delete from JIResource where id=? and version=?]; constraint [fk98818b77324cfecb];
 nested exception is org.hibernate.exception.ConstraintViolationException:
 could not delete: [com.jaspersoft.ji.adhoc.hibernate.RepoAdhocDataView#2816] </pre><h2>Solution:</h2><p>This issue is caused by a referenced report,ad hoc view, data source, dashboard, or resource pointing to the public folder. After deleting the referenced object in question, you should now be able to delete the organization.</p><hr /><p><em><strong>ref: 01551864</strong></em></p>]]></description><guid isPermaLink="false">3157</guid><pubDate>Thu, 25 Oct 2018 20:17:56 +0000</pubDate></item><item><title>Cannot Save Changes or a Report in TIBCO Jaspersoft&#xAE; Studio 6.4.X</title><link>https://community.jaspersoft.com/knowledgebase/faq/cannot-save-changes-or-report-tibco-jaspersoft-studio-64x/</link><description><![CDATA[<h2>Issue:</h2><p>When using TIBCO Jaspersoft<sup>®</sup> Studio 6.4.x, there is an issue saving an existing report. It will not allow you to save the report to changes that were made. </p><hr /><h2>Solution:</h2><p>In some versions of 6.4.x, this defect exists where you cannot save a report. We recommend using the latest version of Jaspersoft<sup>®</sup> Studio 6.4.x as this fix has been implemented. A work around is also saving the report with ".jxml" at the end. Manually adding the ".jxml" will allow you to save your report. </p><hr /><p><em><strong>ref: 01540185</strong></em></p>]]></description><guid isPermaLink="false">3156</guid><pubDate>Thu, 25 Oct 2018 19:54:38 +0000</pubDate></item><item><title>Dashboard Error "Not Accessible" when Expanding Chart</title><link>https://community.jaspersoft.com/knowledgebase/faq/dashboard-error-not-accessible-when-expanding-chart/</link><description><![CDATA[<h2>Issue:</h2><p>When running a dashboard, all looks fine, but editing a dashboard and adjusting the length or width, you get the error "Resource '/public/Reports/Your_Report' is not accessible." </p><hr /><h2>Solution:</h2><p>This error can happen if the chart type is changed in the report. The report in the dashboard looks for the old chart type. This issue can also be caused by the "Hyperlinks" tab under dashboard is referencing a report that has moved in the repository. This issue can be resolved by remaking the dashboard or changing the hyperlink.</p><hr /><p><em><strong>ref: 01527117</strong></em></p>]]></description><guid isPermaLink="false">3155</guid><pubDate>Thu, 25 Oct 2018 19:44:02 +0000</pubDate></item><item><title>How to do a Performance Load Test for JasperReports Server</title><link>https://community.jaspersoft.com/knowledgebase/faq/how-do-performance-load-test-jasperreports-server/</link><description><![CDATA[<p></p><h2>Introduction:</h2><p>How to performance/stress/load test your JasperReports Server Environment. The best option is to use a tool from Apache called JMeter.</p><h2>Download and Install:</h2><p>This tool can be downloaded here:</p><p><a href="https://jmeter.apache.org/download_jmeter.cgi" rel="external nofollow">https://jmeter.apache.org/download_jmeter.cgi</a></p><p>For this How-to, I am using JMeter 4.0.</p><hr><h2>Configuring and Using JMeter:</h2><p>Once you have JMeter installed, you will have to set the JAVA_HOME to be used with JMeter. Once that is done, start JMeter. Right-click on "Test Plan" -&gt; "Add" -&gt; "Thread (Users) -&gt; "Thread Group"</p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/b1.png.3db6a5ca6ab1578e45607f1cc8b9e897.png" data-fileid="90478" data-fileext="png" rel=""><img data-fileid="90478" class="ipsImage ipsImage_thumbnailed" alt="b1.png.3db6a5ca6ab1578e45607f1cc8b9e897.png" src="//media.invisioncic.com/i328763/monthly_2018_10/b1.png.3db6a5ca6ab1578e45607f1cc8b9e897.png" loading="lazy"></a></p><p>Once you have opened the "Thread Group", you can set your configuration. The following properties we are going to configure are:</p><p>Number of Threads: The number of users are are simulating.</p><p>Ramp-Up Period (in seconds): The time it takes to start the initial execution of your reports.</p><p>Loop Count: How many times this will report execution will loop (to simulate how many times the report will be executed).</p><p>So once you have your configuration, your "Thread Group" may look something like this:</p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/b2.png.6f20ec245a042c034f7911e3472c07ba.png" data-fileid="90479" data-fileext="png" rel=""><img data-fileid="90479" class="ipsImage ipsImage_thumbnailed" alt="b2.png.6f20ec245a042c034f7911e3472c07ba.png" src="//media.invisioncic.com/i328763/monthly_2018_10/b2.png.6f20ec245a042c034f7911e3472c07ba.png" loading="lazy"></a></p><p>For this test, our report will run for a total of 50 times. </p><p>Once this is done, you can choose a report to simulate. In this test, we chose a ad hoc report to test this functionality and exporting to PDF. This report is included in the samples for JasperReports Server. This report is</p><p>04. Product Results by Store Type Report. To start your configuration, you will have to again right-click your "Thread Group" -&gt; "Add" -&gt; "Config Element" -&gt; "HTTP Request Defaults". </p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/b3.png.2b2cadda5087eb6af4cfb7fcda7cb5ee.png" data-fileid="90480" data-fileext="png" rel=""><img data-fileid="90480" class="ipsImage ipsImage_thumbnailed" alt="b3.png.2b2cadda5087eb6af4cfb7fcda7cb5ee.png" src="//media.invisioncic.com/i328763/monthly_2018_10/b3.png.2b2cadda5087eb6af4cfb7fcda7cb5ee.png" loading="lazy"></a></p><p>Once that is added, you will have to configure the path. Server Name or IP is "localhost" by default, which we need to keep, and the port number is 8080 by default, which we also will need to keep. For this specific test, we will be using this path:</p><p><a href="http://localhost:8080/jasperserver-pro/rest_v2/reports/public/Samples/Reports/04._Product_Results_by_Store_Type_Report.pdf?j_username=superuser&amp;j_password=superuser" rel="external nofollow">http://localhost:8080/jasperserver-pro/rest_v2/reports/public/Samples/Reports/04._Product_Results_by_Store_Type_Report.pdf?j_username=superuser&amp;j_password=superuser</a></p><p>Your configuration should look like this:</p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/b4.png.bbd9c58149cdf78b3c40c6822b0d0a4d.png" data-fileid="90481" data-fileext="png" rel=""><img data-fileid="90481" class="ipsImage ipsImage_thumbnailed" alt="b4.png.bbd9c58149cdf78b3c40c6822b0d0a4d.png" src="//media.invisioncic.com/i328763/monthly_2018_10/b4.png.bbd9c58149cdf78b3c40c6822b0d0a4d.png" loading="lazy"></a></p><h2>Some Additional Configuration:</h2><p>To get a summary of your results, you can use the "View Results in Table" or use the "Summary Report". To add the table results, right-click your "Thread Group" -&gt; "Add" -&gt; "Listener" -&gt; "View Results in Table". You can do the same, but select "Summary Report" for some additional information. Your results should look similar to this:</p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/b5.png.25080f1c0adc563b5c78827b0031ba8a.png" data-fileid="90482" data-fileext="png" rel=""><img data-fileid="90482" class="ipsImage ipsImage_thumbnailed" alt="b5.png.25080f1c0adc563b5c78827b0031ba8a.png" src="//media.invisioncic.com/i328763/monthly_2018_10/b5.png.25080f1c0adc563b5c78827b0031ba8a.png" loading="lazy"></a></p><p>Your summary table will also look something like this:</p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/b6.png.f635e551d5f2a411ebe0fe766b27c0e7.png" data-fileid="90483" data-fileext="png" rel=""><img data-fileid="90483" class="ipsImage ipsImage_thumbnailed" alt="b6.png.f635e551d5f2a411ebe0fe766b27c0e7.png" src="//media.invisioncic.com/i328763/monthly_2018_10/b6.png.f635e551d5f2a411ebe0fe766b27c0e7.png" loading="lazy"></a></p><p>I have also attached my jmx file for testing and reference.</p>
<p><a class="ipsAttachLink" href="https://community.jaspersoft.com/applications/core/interface/file/attachment.php?id=130601&amp;key=64530fd80e52b233cbc13fc16688fd9d" data-fileext="jmx" data-fileid="130601" data-filekey="64530fd80e52b233cbc13fc16688fd9d">http_request.jmx</a></p>]]></description><guid isPermaLink="false">3154</guid><pubDate>Thu, 25 Oct 2018 18:46:37 +0000</pubDate></item><item><title>How to Stop a Jaspersoft ETL Main Job When a subjob Fails Triggering eMail Notification</title><link>https://community.jaspersoft.com/knowledgebase/faq/how-stop-jaspersoft-etl-main-job-when-subjob-fails-triggering-email-notification/</link><description><![CDATA[<p>When having a Jaspersoft ETL main job containing series of subjobs, the user has a requirement that if one of the subjob fails, Jaspersoft ETL needs to send out a notification through eMail and then stop the execution of all subsequent subjobs in Jaspersoft ETL main job.</p><p>User had tried to use onComponentOK to link between subjobs for non error execution and use onComponentError link to diverse the job flow to send out eMail notification when a sub job fails. What happened with this Jaspersoft ETL job design is that if a sub job (say subjobA) failed, onComponentError component sent the job flow to tSendEmail component which sent out the eMail notification as expected. However, after the successful completion of the eMail, the subjobA status became OK thus triggering onComponentOK link to continue job execution on the rest of subjobs.</p><p>After some research on the Talend community forum, we have found a tDie component that can be used to stop the subjobs execution. The tDie component will send a message to a tLogCatcher and allow the Job to terminate a Job, with a specified exit code, once the message has been processed. The user needs to make sure the "die on child error" is check marked for the job.</p><p><em><strong>NOTE:</strong> This wiki article is for reference only and it may not meet all use case design scenarios as the tangible resolution. We encourage users to please refer to relevant Talend reference material and community forum for questions relating to ETL usage and job design issues.</em></p><hr /><p><strong><em>TTC-20181022</em></strong></p>]]></description><guid isPermaLink="false">3148</guid><pubDate>Mon, 22 Oct 2018 20:18:38 +0000</pubDate></item><item><title>Restricting login to a specific group in Active Directory</title><link>https://community.jaspersoft.com/knowledgebase/faq/restricting-login-specific-group-active-directory/</link><description><![CDATA[<p>Issue Description:</p><p>I want only a certain group within my Active Directory to be able to login to JasperReportsServer. How do I achieve that?</p><p> </p><p>Resolution:</p><p><span style="white-space:pre-wrap;">What you can do is make sure users get no roles by default when trying to login, and map your LDAP group you want to allow logging in to an internal JasperReportsServer role that allows for login. This is all done within the applicationContext-externalAuth-LDAP-mt.xml file. So for instance you might have something like </span></p><p><span style="white-space:pre-wrap;">&lt;bean&gt;</span></p><p>&lt;property name="defaultInternalRoles"&gt;<br />    &lt;list&gt;</p><p>   &lt;/list&gt;<br />&lt;/property&gt;<br />&lt;property name="organizationRoleMap"&gt;</p><p>   &lt;--&gt;<br />    &lt;!--Example of mapping customer roles to JRS roles</p><p>   &lt;entry&gt;</p><p>      &lt;key&gt;</p><p>         &lt;value&gt;Admin LDAP!&lt;/value&gt;</p><p>      &lt;/key&gt;<br />    &lt;!-- JRS role that the &lt;key&gt; external role is mapped to</p><p>&lt;value&gt;ROLE_ADMINISTRATOR&lt;/value&gt;</p><p>&lt;/entry&gt;</p><p>&lt;/map&gt;</p><p>&lt;/property&gt;</p><p><span style="white-space:pre-wrap;">&lt;/bean&gt;</span></p>]]></description><guid isPermaLink="false">3150</guid><pubDate>Tue, 23 Oct 2018 04:53:42 +0000</pubDate></item><item><title>Issue Concerning iText Licensing with TIBCO Jaspersoft&#xAE;</title><link>https://community.jaspersoft.com/knowledgebase/faq/issue-concerning-itext-licensing-tibco-jaspersoft/</link><description><![CDATA[<p>In a<a href="https://en.wikipedia.org/wiki/IText#Licensing" rel="external nofollow"> wiki article discussing iText licensing issue</a>, it stated:</p><blockquote class="ipsQuote"><p>"iText was originally released under the MPL/LGPL. On December 1, 2009, with the release of iText 5, the license was switched to the <a href="https://en.wikipedia.org/wiki/Affero_General_Public_License" title="Affero General Public License" rel="external nofollow">Affero General Public License</a> v3. Projects that did not want to provide their source code (as required by the AGPL) could either purchase a commercial license to iText 5 or continue using previous versions of iText under the MPL/LGPL.</p><p>"During the due diligence process to prepare for iText 5, several IP issues with iText 2 were discovered and fixed. The different IP owners agreed to remove as many copies of the old versions from the web, but the old version still lives on in several forks. Despite this, iText 2.1.7 is still being distributed by iText on Github  and on Maven Central. For instance: iText 4 for Java was never officially released. However, iText with the svn tag 4_2_0 was made available with the release description "This is the final version of iText available as an MPL/LGPL library. "  It was a fork created by a third party that hijacked the com.lowagie groupId (which is explicitly forbidden in the Guide to uploading artifacts to the Central Repository) because this fools users into upgrading to this third party version, instead of upgrading to an official version."</p></blockquote><p><font color="#0000ff"><font style="font-family:arial, sans-serif;font-size:12.8px;font-style:normal;font-weight:400;letter-spacing:normal;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);"><span style="font-size:12.8px;">TIBCO is aware of the allegations stated in the Wiki article and, after making appropriate inquiries, has determined that TIBCO may continue to distribute iText 2.x in TIBCO products in conformance with TIBCO's obligations to its end users.</span> </font></font> </p><p>Per the notice in the various TIBCO Jaspersoft product license files as shown below, TIBCO Jaspersoft include the iText 2.1.7 version as licensed/modified under the Mozilla Public License. The licensing issue as addressed in the above Wiki article has no impact on how we've chosen to include iText 2.1.7 (as licensed under the MPL) in TIBCO Jaspersoft products, therefore it should bear no adverse effect on our users using TIBCO Jaspersoft products.</p><p>--------------------------------------------------------------------------------------------------------------------------------------------</p><p><strong>Ref: Notice excerpt from TIBCO JasperReports Server 7.1.1</strong></p><p>* iText, a free Java-PDF library 2.1.7</p><p>TIBCO Software Inc. has made modifications to certain files of the Original Code of this component.  The Original Code is “iText, a free JAVA-PDF library”, by Initial Developer, Bruno Lowagie, and Co-Developer, Paulo Soares.</p><p>This component and its modified and unmodified source code are licensed under the Mozilla Public License v1.1, a copy of which is included below.  You may obtain a copy of the applicable source code at <a href="http://jasperreports.sourceforge.net/maven2/com/lowagie/itext/" rel="external nofollow">http://jasperreports.sourceforge.net/maven2/com/lowagie/itext/ </a>or by contacting TIBCO Software Inc.</p><blockquote class="ipsQuote"><p><br />                          MOZILLA PUBLIC LICENSE<br />                                Version 1.1</p><p>                              ---------------</p><p>1. Definitions.</p><p>     1.0.1. "Commercial Use" means distribution or otherwise making the<br />     Covered Code available to a third party.</p><p>     1.1. "Contributor" means each entity that creates or contributes to<br />     the creation of Modifications.</p><p>     1.2. "Contributor Version" means the combination of the Original<br />     Code, prior Modifications used by a Contributor, and the Modifications<br />     made by that particular Contributor.</p><p>     1.3. "Covered Code" means the Original Code or Modifications or the<br />     combination of the Original Code and Modifications, in each case<br />     including portions thereof.</p><p>     1.4. "Electronic Distribution Mechanism" means a mechanism generally<br />     accepted in the software development community for the electronic<br />     transfer of data.</p><p>     1.5. "Executable" means Covered Code in any form other than Source<br />     Code.</p><p>     1.6. "Initial Developer" means the individual or entity identified<br />     as the Initial Developer in the Source Code notice required by Exhibit<br />     A.</p><p>     1.7. "Larger Work" means a work which combines Covered Code or<br />     portions thereof with code not governed by the terms of this License.</p><p>     1.8. "License" means this document.</p><p>     1.8.1. "Licensable" means having the right to grant, to the maximum<br />     extent possible, whether at the time of the initial grant or<br />     subsequently acquired, any and all of the rights conveyed herein.</p><p>     1.9. "Modifications" means any addition to or deletion from the<br />     substance or structure of either the Original Code or any previous<br />     Modifications. When Covered Code is released as a series of files, a<br />     Modification is:<br />          A. Any addition to or deletion from the contents of a file<br />          containing Original Code or previous Modifications.</p><p>          B. Any new file that contains any part of the Original Code or<br />          previous Modifications.</p><p>     1.10. "Original Code" means Source Code of computer software code<br />     which is described in the Source Code notice required by Exhibit A as<br />     Original Code, and which, at the time of its release under this<br />     License is not already Covered Code governed by this License.</p><p>     1.10.1. "Patent Claims" means any patent claim(s), now owned or<br />     hereafter acquired, including without limitation,  method, process,<br />     and apparatus claims, in any patent Licensable by grantor.</p><p>     1.11. "Source Code" means the preferred form of the Covered Code for<br />     making modifications to it, including all modules it contains, plus<br />     any associated interface definition files, scripts used to control<br />     compilation and installation of an Executable, or source code<br />     differential comparisons against either the Original Code or another<br />     well known, available Covered Code of the Contributor's choice. The<br />     Source Code can be in a compressed or archival form, provided the<br />     appropriate decompression or de-archiving software is widely available<br />     for no charge.</p><p>     1.12. "You" (or "Your")  means an individual or a legal entity<br />     exercising rights under, and complying with all of the terms of, this<br />     License or a future version of this License issued under Section 6.1.<br />     For legal entities, "You" includes any entity which controls, is<br />     controlled by, or is under common control with You. For purposes of<br />     this definition, "control" means (a) the power, direct or indirect,<br />     to cause the direction or management of such entity, whether by<br />     contract or otherwise, or (b) ownership of more than fifty percent<br />     (50%) of the outstanding shares or beneficial ownership of such<br />     entity.</p><p>2. Source Code License.</p><p>     2.1. The Initial Developer Grant.<br />     The Initial Developer hereby grants You a world-wide, royalty-free,<br />     non-exclusive license, subject to third party intellectual property<br />     claims:<br />          (a)  under intellectual property rights (other than patent or<br />          trademark) Licensable by Initial Developer to use, reproduce,<br />          modify, display, perform, sublicense and distribute the Original<br />          Code (or portions thereof) with or without Modifications, and/or<br />          as part of a Larger Work; and</p><p>          (b) under Patents Claims infringed by the making, using or<br />          selling of Original Code, to make, have made, use, practice,<br />          sell, and offer for sale, and/or otherwise dispose of the<br />          Original Code (or portions thereof).</p><p>          © the licenses granted in this Section 2.1(a) and (b) are<br />          effective on the date Initial Developer first distributes<br />          Original Code under the terms of this License.</p><p>          (d) Notwithstanding Section 2.1(b) above, no patent license is<br />          granted: 1) for code that You delete from the Original Code; 2)<br />          separate from the Original Code;  or 3) for infringements caused<br />          by: i) the modification of the Original Code or ii) the<br />          combination of the Original Code with other software or devices.</p><p>     2.2. Contributor Grant.<br />     Subject to third party intellectual property claims, each Contributor<br />     hereby grants You a world-wide, royalty-free, non-exclusive license</p><p>          (a)  under intellectual property rights (other than patent or<br />          trademark) Licensable by Contributor, to use, reproduce, modify,<br />          display, perform, sublicense and distribute the Modifications<br />          created by such Contributor (or portions thereof) either on an<br />          unmodified basis, with other Modifications, as Covered Code<br />          and/or as part of a Larger Work; and</p><p>          (b) under Patent Claims infringed by the making, using, or<br />          selling of  Modifications made by that Contributor either alone<br />          and/or in combination with its Contributor Version (or portions<br />          of such combination), to make, use, sell, offer for sale, have<br />          made, and/or otherwise dispose of: 1) Modifications made by that<br />          Contributor (or portions thereof); and 2) the combination of<br />          Modifications made by that Contributor with its Contributor<br />          Version (or portions of such combination).</p><p>          © the licenses granted in Sections 2.2(a) and 2.2(b) are<br />          effective on the date Contributor first makes Commercial Use of<br />          the Covered Code.</p><p>          (d)    Notwithstanding Section 2.2(b) above, no patent license is<br />          granted: 1) for any code that Contributor has deleted from the<br />          Contributor Version; 2)  separate from the Contributor Version;<br />          3)  for infringements caused by: i) third party modifications of<br />          Contributor Version or ii)  the combination of Modifications made<br />          by that Contributor with other software  (except as part of the<br />          Contributor Version) or other devices; or 4) under Patent Claims<br />          infringed by Covered Code in the absence of Modifications made by<br />          that Contributor.</p><p>3. Distribution Obligations.</p><p>     3.1. Application of License.<br />     The Modifications which You create or to which You contribute are<br />     governed by the terms of this License, including without limitation<br />     Section 2.2. The Source Code version of Covered Code may be<br />     distributed only under the terms of this License or a future version<br />     of this License released under Section 6.1, and You must include a<br />     copy of this License with every copy of the Source Code You<br />     distribute. You may not offer or impose any terms on any Source Code<br />     version that alters or restricts the applicable version of this<br />     License or the recipients' rights hereunder. However, You may include<br />     an additional document offering the additional rights described in<br />     Section 3.5.</p><p>     3.2. Availability of Source Code.<br />     Any Modification which You create or to which You contribute must be<br />     made available in Source Code form under the terms of this License<br />     either on the same media as an Executable version or via an accepted<br />     Electronic Distribution Mechanism to anyone to whom you made an<br />     Executable version available; and if made available via Electronic<br />     Distribution Mechanism, must remain available for at least twelve (12)<br />     months after the date it initially became available, or at least six<br />     (6) months after a subsequent version of that particular Modification<br />     has been made available to such recipients. You are responsible for<br />     ensuring that the Source Code version remains available even if the<br />     Electronic Distribution Mechanism is maintained by a third party.</p><p>     3.3. Description of Modifications.<br />     You must cause all Covered Code to which You contribute to contain a<br />     file documenting the changes You made to create that Covered Code and<br />     the date of any change. You must include a prominent statement that<br />     the Modification is derived, directly or indirectly, from Original<br />     Code provided by the Initial Developer and including the name of the<br />     Initial Developer in (a) the Source Code, and (b) in any notice in an<br />     Executable version or related documentation in which You describe the<br />     origin or ownership of the Covered Code.</p><p>     3.4. Intellectual Property Matters<br />          (a) Third Party Claims.<br />          If Contributor has knowledge that a license under a third party's<br />          intellectual property rights is required to exercise the rights<br />          granted by such Contributor under Sections 2.1 or 2.2,<br />          Contributor must include a text file with the Source Code<br />          distribution titled "LEGAL" which describes the claim and the<br />          party making the claim in sufficient detail that a recipient will<br />          know whom to contact. If Contributor obtains such knowledge after<br />          the Modification is made available as described in Section 3.2,<br />          Contributor shall promptly modify the LEGAL file in all copies<br />          Contributor makes available thereafter and shall take other steps<br />          (such as notifying appropriate mailing lists or newsgroups)<br />          reasonably calculated to inform those who received the Covered<br />          Code that new knowledge has been obtained.</p><p>          (b) Contributor APIs.<br />          If Contributor's Modifications include an application programming<br />          interface and Contributor has knowledge of patent licenses which<br />          are reasonably necessary to implement that API, Contributor must<br />          also include this information in the LEGAL file.</p><p>               ©    Representations.<br />          Contributor represents that, except as disclosed pursuant to<br />          Section 3.4(a) above, Contributor believes that Contributor's<br />          Modifications are Contributor's original creation(s) and/or<br />          Contributor has sufficient rights to grant the rights conveyed by<br />          this License.</p><p>     3.5. Required Notices.<br />     You must duplicate the notice in Exhibit A in each file of the Source<br />     Code.  If it is not possible to put such notice in a particular Source<br />     Code file due to its structure, then You must include such notice in a<br />     location (such as a relevant directory) where a user would be likely<br />     to look for such a notice.  If You created one or more Modification(s)<br />     You may add your name as a Contributor to the notice described in<br />     Exhibit A.  You must also duplicate this License in any documentation<br />     for the Source Code where You describe recipients' rights or ownership<br />     rights relating to Covered Code.  You may choose to offer, and to<br />     charge a fee for, warranty, support, indemnity or liability<br />     obligations to one or more recipients of Covered Code. However, You<br />     may do so only on Your own behalf, and not on behalf of the Initial<br />     Developer or any Contributor. You must make it absolutely clear than<br />     any such warranty, support, indemnity or liability obligation is<br />     offered by You alone, and You hereby agree to indemnify the Initial<br />     Developer and every Contributor for any liability incurred by the<br />     Initial Developer or such Contributor as a result of warranty,<br />     support, indemnity or liability terms You offer.</p><p>     3.6. Distribution of Executable Versions.<br />     You may distribute Covered Code in Executable form only if the<br />     requirements of Section 3.1-3.5 have been met for that Covered Code,<br />     and if You include a notice stating that the Source Code version of<br />     the Covered Code is available under the terms of this License,<br />     including a description of how and where You have fulfilled the<br />     obligations of Section 3.2. The notice must be conspicuously included<br />     in any notice in an Executable version, related documentation or<br />     collateral in which You describe recipients' rights relating to the<br />     Covered Code. You may distribute the Executable version of Covered<br />     Code or ownership rights under a license of Your choice, which may<br />     contain terms different from this License, provided that You are in<br />     compliance with the terms of this License and that the license for the<br />     Executable version does not attempt to limit or alter the recipient's<br />     rights in the Source Code version from the rights set forth in this<br />     License. If You distribute the Executable version under a different<br />     license You must make it absolutely clear that any terms which differ<br />     from this License are offered by You alone, not by the Initial<br />     Developer or any Contributor. You hereby agree to indemnify the<br />     Initial Developer and every Contributor for any liability incurred by<br />     the Initial Developer or such Contributor as a result of any such<br />     terms You offer.</p><p>     3.7. Larger Works.<br />     You may create a Larger Work by combining Covered Code with other code<br />     not governed by the terms of this License and distribute the Larger<br />     Work as a single product. In such a case, You must make sure the<br />     requirements of this License are fulfilled for the Covered Code.</p><p>4. Inability to Comply Due to Statute or Regulation.</p><p>     If it is impossible for You to comply with any of the terms of this<br />     License with respect to some or all of the Covered Code due to<br />     statute, judicial order, or regulation then You must: (a) comply with<br />     the terms of this License to the maximum extent possible; and (b)<br />     describe the limitations and the code they affect. Such description<br />     must be included in the LEGAL file described in Section 3.4 and must<br />     be included with all distributions of the Source Code. Except to the<br />     extent prohibited by statute or regulation, such description must be<br />     sufficiently detailed for a recipient of ordinary skill to be able to<br />     understand it.</p><p>5. Application of this License.</p><p>     This License applies to code to which the Initial Developer has<br />     attached the notice in Exhibit A and to related Covered Code.</p><p>6. Versions of the License.</p><p>     6.1. New Versions.<br />     Netscape Communications Corporation ("Netscape") may publish revised<br />     and/or new versions of the License from time to time. Each version<br />     will be given a distinguishing version number.</p><p>     6.2. Effect of New Versions.<br />     Once Covered Code has been published under a particular version of the<br />     License, You may always continue to use it under the terms of that<br />     version. You may also choose to use such Covered Code under the terms<br />     of any subsequent version of the License published by Netscape. No one<br />     other than Netscape has the right to modify the terms applicable to<br />     Covered Code created under this License.</p><p>     6.3. Derivative Works.<br />     If You create or use a modified version of this License (which you may<br />     only do in order to apply it to code which is not already Covered Code<br />     governed by this License), You must (a) rename Your license so that<br />     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",<br />     "MPL", "NPL" or any confusingly similar phrase do not appear in your<br />     license (except to note that your license differs from this License)<br />     and (b) otherwise make it clear that Your version of the license<br />     contains terms which differ from the Mozilla Public License and<br />     Netscape Public License. (Filling in the name of the Initial<br />     Developer, Original Code or Contributor in the notice described in<br />     Exhibit A shall not of themselves be deemed to be modifications of<br />     this License.)</p><p>7. DISCLAIMER OF WARRANTY.</p><p>     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,<br />     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,<br />     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF<br />     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.<br />     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE<br />     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,<br />     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE<br />     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER<br />     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF<br />     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.</p><p>8. TERMINATION.</p><p>     8.1.  This License and the rights granted hereunder will terminate<br />     automatically if You fail to comply with terms herein and fail to cure<br />     such breach within 30 days of becoming aware of the breach. All<br />     sublicenses to the Covered Code which are properly granted shall<br />     survive any termination of this License. Provisions which, by their<br />     nature, must remain in effect beyond the termination of this License<br />     shall survive.</p><p>     8.2.  If You initiate litigation by asserting a patent infringement<br />     claim (excluding declatory judgment actions) against Initial Developer<br />     or a Contributor (the Initial Developer or Contributor against whom<br />     You file such action is referred to as "Participant")  alleging that:</p><p>     (a)  such Participant's Contributor Version directly or indirectly<br />     infringes any patent, then any and all rights granted by such<br />     Participant to You under Sections 2.1 and/or 2.2 of this License<br />     shall, upon 60 days notice from Participant terminate prospectively,<br />     unless if within 60 days after receipt of notice You either: (i)<br />     agree in writing to pay Participant a mutually agreeable reasonable<br />     royalty for Your past and future use of Modifications made by such<br />     Participant, or (ii) withdraw Your litigation claim with respect to<br />     the Contributor Version against such Participant.  If within 60 days<br />     of notice, a reasonable royalty and payment arrangement are not<br />     mutually agreed upon in writing by the parties or the litigation claim<br />     is not withdrawn, the rights granted by Participant to You under<br />     Sections 2.1 and/or 2.2 automatically terminate at the expiration of<br />     the 60 day notice period specified above.</p><p>     (b)  any software, hardware, or device, other than such Participant's<br />     Contributor Version, directly or indirectly infringes any patent, then<br />     any rights granted to You by such Participant under Sections 2.1(b)<br />     and 2.2(b) are revoked effective as of the date You first made, used,<br />     sold, distributed, or had made, Modifications made by that<br />     Participant.</p><p>     8.3.  If You assert a patent infringement claim against Participant<br />     alleging that such Participant's Contributor Version directly or<br />     indirectly infringes any patent where such claim is resolved (such as<br />     by license or settlement) prior to the initiation of patent<br />     infringement litigation, then the reasonable value of the licenses<br />     granted by such Participant under Sections 2.1 or 2.2 shall be taken<br />     into account in determining the amount or value of any payment or<br />     license.</p><p>     8.4.  In the event of termination under Sections 8.1 or 8.2 above,<br />     all end user license agreements (excluding distributors and resellers)<br />     which have been validly granted by You or any distributor hereunder<br />     prior to termination shall survive termination.</p><p>9. LIMITATION OF LIABILITY.</p><p>     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT<br />     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL<br />     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,<br />     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR<br />     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY<br />     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,<br />     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER<br />     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN<br />     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF<br />     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY<br />     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW<br />     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE<br />     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO<br />     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.</p><p>10. U.S. GOVERNMENT END USERS.</p><p>     The Covered Code is a "commercial item," as that term is defined in<br />     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer<br />     software" and "commercial computer software documentation," as such<br />     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48<br />     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),<br />     all U.S. Government End Users acquire Covered Code with only those<br />     rights set forth herein.</p><p>11. MISCELLANEOUS.</p><p>     This License represents the complete agreement concerning subject<br />     matter hereof. If any provision of this License is held to be<br />     unenforceable, such provision shall be reformed only to the extent<br />     necessary to make it enforceable. This License shall be governed by<br />     California law provisions (except to the extent applicable law, if<br />     any, provides otherwise), excluding its conflict-of-law provisions.<br />     With respect to disputes in which at least one party is a citizen of,<br />     or an entity chartered or registered to do business in the United<br />     States of America, any litigation relating to this License shall be<br />     subject to the jurisdiction of the Federal Courts of the Northern<br />     District of California, with venue lying in Santa Clara County,<br />     California, with the losing party responsible for costs, including<br />     without limitation, court costs and reasonable attorneys' fees and<br />     expenses. The application of the United Nations Convention on<br />     Contracts for the International Sale of Goods is expressly excluded.<br />     Any law or regulation which provides that the language of a contract<br />     shall be construed against the drafter shall not apply to this<br />     License.</p><p>12. RESPONSIBILITY FOR CLAIMS.</p><p>     As between Initial Developer and the Contributors, each party is<br />     responsible for claims and damages arising, directly or indirectly,<br />     out of its utilization of rights under this License and You agree to<br />     work with Initial Developer and Contributors to distribute such<br />     responsibility on an equitable basis. Nothing herein is intended or<br />     shall be deemed to constitute any admission of liability.</p><p>13. MULTIPLE-LICENSED CODE.</p><p>     Initial Developer may designate portions of the Covered Code as<br />     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial<br />     Developer permits you to utilize portions of the Covered Code under<br />     Your choice of the MPL or the alternative licenses, if any, specified<br />     by the Initial Developer in the file described in Exhibit A.</p><p>EXHIBIT A -Mozilla Public License.</p><p>     ``The contents of this file are subject to the Mozilla Public License<br />     Version 1.1 (the "License"); you may not use this file except in<br />     compliance with the License. You may obtain a copy of the License at<br />     <a href="http://www.mozilla.org/MPL/" rel="external nofollow">http://www.mozilla.org/MPL/</a></p><p>     Software distributed under the License is distributed on an "AS IS"<br />     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the<br />     License for the specific language governing rights and limitations<br />     under the License.</p><p>     The Original Code is ______________________________________.</p><p>     The Initial Developer of the Original Code is ________________________.<br />     Portions created by ______________________ are Copyright © ______<br />     _______________________. All Rights Reserved.</p><p>     Contributor(s): ______________________________________.</p><p>     Alternatively, the contents of this file may be used under the terms<br />     of the _____ license (the  "[___] License"), in which case the<br />     provisions of [______] License are applicable instead of those<br />     above.  If you wish to allow use of your version of this file only<br />     under the terms of the [____] License and not to allow others to use<br />     your version of this file under the MPL, indicate your decision by<br />     deleting  the provisions above and replace  them with the notice and<br />     other provisions required by the [___] License.  If you do not delete<br />     the provisions above, a recipient may use your version of this file<br />     under either the MPL or the [___] License."</p><p>     [NOTE: The text of this Exhibit A may differ slightly from the text of<br />     the notices in the Source Code files of the Original Code. You should<br />     use the text of this Exhibit A rather than the text found in the<br />     Original Code Source Code for Your Modifications.]</p></blockquote><hr /><p><em><strong>TTC-20181017</strong></em></p>]]></description><guid isPermaLink="false">3143</guid><pubDate>Wed, 17 Oct 2018 18:47:50 +0000</pubDate></item><item><title>JasperReports configuration properties</title><link>https://community.jaspersoft.com/knowledgebase/faq/jasperreports-configuration-properties/</link><description><![CDATA[<h2>Issue Description</h2><p>Hi There are lots of items that can be configured as per the following link: <a href="http://jasperreports.sourceforge.net/config.reference.html" rel="external nofollow">http://jasperreports.sourceforge.net/config.reference.html</a> As far as I know, some items listed in above link can be put into the JRXML file, and some can be put into the TIBCO JasperReports<sup>®</sup> Server  configuration file(i.e.<span style="color:#696969;"><em><strong> jasperreports.properties</strong></em></span>). The question is, how can a customer know where they should put the configuration item into when they decide to use a specific one?</p><hr /><h2>Resolution</h2><p>All the configuration has the option given as scope that is Global |report|Element|Column etc.. If it is Global that means you could configure in jasperreports.properties file else you can configure in report level or at column level.</p><hr /><p><strong><em>Ref. Case 00065876</em></strong></p><p> </p>]]></description><guid isPermaLink="false">2133</guid><pubDate>Thu, 28 Jan 2016 05:16:42 +0000</pubDate></item><item><title>Web Service Data Adapters</title><link>https://community.jaspersoft.com/knowledgebase/faq/web-service-data-adapters/</link><description><![CDATA[<p>This article shows how to retrieve JSON report data from a remote REST service using the built-in data adapter support from JasperReports Library and Jaspersoft Studio. Note that the same technique can be used to load XML, CSV or Excel data from remote URLs and is not specific to JSON data only.</p><p>Here we recreate the report shown in this <a href="/project/web-service-data-source" rel="">demo</a>, but do so without using the custom web service extension demonstrated there.</p><p lang="en-us" xml:lang="en-us">As opposed to the indicated demo, we are going to create a data adapter of type <strong>JSON File</strong>, which is a built-in type in JRL and JSS, instead of the custom data adapter type made available by that optional extension used in that demo.</p><p lang="en-us" xml:lang="en-us"><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_10_05_47.png.619cc7dd8ea1540b2cdc3f3fb62b3790.png" data-fileid="90432" data-fileext="png" rel=""><img data-fileid="90432" class="ipsImage ipsImage_thumbnailed" alt="captura_de_ecran_din_2018_10.04_la_10_05_47.png.619cc7dd8ea1540b2cdc3f3fb62b3790.png" src="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_10_05_47.png.619cc7dd8ea1540b2cdc3f3fb62b3790.png" loading="lazy"></a></p><p lang="en-us" xml:lang="en-us">The JSON data adapter allows specifying a remote URL instead of a local JSON file, as the source for the data.</p><p lang="en-us" xml:lang="en-us"><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_27_09.png.7277e5bb8ae1a47a0dcb293da8b2566b.png" data-fileid="90433" data-fileext="png" rel=""><img data-fileid="90433" class="ipsImage ipsImage_thumbnailed" alt="captura_de_ecran_din_2018_10.04_la_15_27_09.png.7277e5bb8ae1a47a0dcb293da8b2566b.png" src="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_27_09.png.7277e5bb8ae1a47a0dcb293da8b2566b.png" loading="lazy"></a></p><p lang="en-us" xml:lang="en-us">When using an URL, the button next to the File/URL field changes from File to Options and thus allows setting request parameters and request headers for the HTTP call that will be made to the specified URL to retrieve the JSON data.</p><p lang="en-us" xml:lang="en-us"><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_27_23.png.c4fc41b0865b2709e3c3b675c3ea23d5.png" data-fileid="90434" data-fileext="png" rel=""><img data-fileid="90434" class="ipsImage ipsImage_thumbnailed" alt="captura_de_ecran_din_2018_10.04_la_15_27_23.png.c4fc41b0865b2709e3c3b675c3ea23d5.png" src="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_27_23.png.c4fc41b0865b2709e3c3b675c3ea23d5.png" loading="lazy"></a></p><p lang="en-us" xml:lang="en-us"><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_27_36.png.a87469cd68ce81da3c1845ffbbf84e63.png" data-fileid="90435" data-fileext="png" rel=""><img data-fileid="90435" class="ipsImage ipsImage_thumbnailed" alt="captura_de_ecran_din_2018_10.04_la_15_27_36.png.a87469cd68ce81da3c1845ffbbf84e63.png" src="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_27_36.png.a87469cd68ce81da3c1845ffbbf84e63.png" loading="lazy"></a></p><p lang="en-us" xml:lang="en-us">Once saved, the data adapter file would be available in the list of data adapters from which we can pick during the report creation wizard.</p><p lang="en-us" xml:lang="en-us"><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10_04_la_15_36_04.png.6fb340e1bdce99a2e301d47d994301a1.png" data-fileid="90436" data-fileext="png" rel=""><img data-fileid="90436" class="ipsImage ipsImage_thumbnailed" alt="captura_de_ecran_din_2018_10_04_la_15_36_04.png.6fb340e1bdce99a2e301d47d994301a1.png" src="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10_04_la_15_36_04.png.6fb340e1bdce99a2e301d47d994301a1.png" loading="lazy"></a></p><p lang="en-us" xml:lang="en-us">The report creation wizard will try connect to the remote URL and retrieve some data. It will show this data in the left panel and allows to select the node in the JSON object which represents the data source records for the report.</p><p lang="en-us" xml:lang="en-us"><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_36_31.png.1c26edd49d673c5c968fb1fb274817dc.png" data-fileid="90437" data-fileext="png" rel=""><img data-fileid="90437" class="ipsImage ipsImage_thumbnailed" alt="captura_de_ecran_din_2018_10.04_la_15_36_31.png.1c26edd49d673c5c968fb1fb274817dc.png" src="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_36_31.png.1c26edd49d673c5c968fb1fb274817dc.png" loading="lazy"></a></p><p lang="en-us" xml:lang="en-us">Once the data source record node selected, it will propose the selection of available fields that can be picked from the record node to use as report fields.</p><p lang="en-us" xml:lang="en-us"><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_36_56.png.ab533dc10df226744f0f7b3257869b6f.png" data-fileid="90438" data-fileext="png" rel=""><img data-fileid="90438" class="ipsImage ipsImage_thumbnailed" alt="captura_de_ecran_din_2018_10.04_la_15_36_56.png.ab533dc10df226744f0f7b3257869b6f.png" src="//media.invisioncic.com/i328763/monthly_2018_10/captura_de_ecran_din_2018_10.04_la_15_36_56.png.ab533dc10df226744f0f7b3257869b6f.png" loading="lazy"></a></p><p lang="en-us" xml:lang="en-us">At the end of the report wizard, we obtain a JRXML file in which the main dataset has a JSONQL query and dataset fields that have special configuration properties which map them to specific nodes or attributes in the current record JSON node.</p><p lang="en-us" xml:lang="en-us">Adding some fields in the detail band helps complete the creation of a simple tabular report displaying records coming from JSON data loaded from a remote REST location.</p><p lang="en-us" xml:lang="en-us"><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/1538656712199.jpg.6d800c9bb50625699a4a9a5f2d3ba851.jpg" data-fileid="90439" data-fileext="jpg" rel=""><img data-fileid="90439" class="ipsImage ipsImage_thumbnailed" alt="1538656712199.jpg.6d800c9bb50625699a4a9a5f2d3ba851.jpg" src="//media.invisioncic.com/i328763/monthly_2018_10/1538656712199.jpg.6d800c9bb50625699a4a9a5f2d3ba851.jpg" loading="lazy"></a></p><p lang="en-us" xml:lang="en-us">Attached to this page are the data adapter file and the report template file used in this article.</p><p lang="en-us" xml:lang="en-us"> </p>
<p><a class="ipsAttachLink" href="https://community.jaspersoft.com/applications/core/interface/file/attachment.php?id=130596&amp;key=57099c1469a214f5d12159d3c4201f88" data-fileext="xml" data-fileid="130596" data-filekey="57099c1469a214f5d12159d3c4201f88">noaadataadapter.xml</a></p>
<p><a class="ipsAttachLink" href="https://community.jaspersoft.com/applications/core/interface/file/attachment.php?id=130597&amp;key=36be5d35fd7120cd678c29da2caaff69" data-fileext="jrxml" data-fileid="130597" data-filekey="36be5d35fd7120cd678c29da2caaff69">noaareport.jrxml</a></p>]]></description><guid isPermaLink="false">3132</guid><pubDate>Thu, 04 Oct 2018 12:14:35 +0000</pubDate></item><item><title>HTML Reports Going to The Right of Page in Job Notification Email</title><link>https://community.jaspersoft.com/knowledgebase/faq/html-reports-going-right-page-job-notification-email/</link><description><![CDATA[<p></p><table border="0" cellpadding="0" cellspacing="0" style="width:100%;"><tbody><tr><td style="text-align:left;vertical-align:middle;width:50%;"><h2>Issue Description</h2><p>Customer configured TIBCO JasperReports® Server to send job notifications with checked 'Include HTML report in email body' option.<br><br>He noticed that some of reports are aligned to the right side of page when he viewed the report in GMail, while the reports designed centered</p></td><td>[toc]</td></tr></tbody></table><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/gmail_rightaligned.png.fb9d64d4689e603085550ef5a39dd452.png" data-fileid="90446" data-fileext="png" rel=""><img data-fileid="90446" class="ipsImage ipsImage_thumbnailed" alt="gmail_rightaligned.png.fb9d64d4689e603085550ef5a39dd452.png" src="//media.invisioncic.com/i328763/monthly_2018_10/gmail_rightaligned.png.fb9d64d4689e603085550ef5a39dd452.png" loading="lazy"></a></p><hr><h2>Resolution</h2><p>This is default behavior of GMail.</p><p>If an email exceed 102kb size (GMail limit), GMail just clips the message and add</p><p>[Message clipped]  View entire message</p><p>text and hyperlink and the page bottom, on the left side and causes the shift.</p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/gmail_messageclipping_0.png.5d7ad3012b296467466bef6616a5d86e.png" data-fileid="90448" data-fileext="png" rel=""><img data-fileid="90448" class="ipsImage ipsImage_thumbnailed" alt="gmail_messageclipping_0.png.5d7ad3012b296467466bef6616a5d86e.png" src="//media.invisioncic.com/i328763/monthly_2018_10/gmail_messageclipping_0.png.5d7ad3012b296467466bef6616a5d86e.png" loading="lazy"></a></p><p>If an email has less then 102kb, the report displays as expected.</p><p>This behavior out of  TIBCO JasperReports® Server control.</p><p>Please review an article that explains GMail behavior:</p><p><a href="https://epicfizz.com/gmail-message-clipped-why-and-fix/" rel="external nofollow">https://epicfizz.com/gmail-message-clipped-why-and-fix/</a></p><p>What you could try is to install 'Trimless for Google Mail™' Chrome extension which expands trimmed parts, removes "Show trimmed content" button and as a result, the report displayed centered:</p><p><a href="https://chrome.google.com/webstore/detail/trimless-for-google-mail/niepjjjfafhadmfdminbckmciijcaagc" rel="external nofollow">https://chrome.google.com/webstore/detail/trimless-for-google-mail/niepjjjfafhadmfdminbckmciijcaagc</a></p><p>Chrome restart may required to make the extension work.</p><hr><p><strong><em>Ref. Case 01638281</em></strong></p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/gmail_rightaligned.png.d48b9db924fd674b9ed2bf9c2d835845.png" data-fileid="90447" data-fileext="png" rel=""><img data-fileid="90447" class="ipsImage ipsImage_thumbnailed" alt="gmail_rightaligned.png.d48b9db924fd674b9ed2bf9c2d835845.png" src="//media.invisioncic.com/i328763/monthly_2018_10/gmail_rightaligned.png.d48b9db924fd674b9ed2bf9c2d835845.png" loading="lazy"></a></p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_10/gmail_messageclipping_0.png.df5385cc7f02ef6c37fdf1810c847524.png" data-fileid="90449" data-fileext="png" rel=""><img data-fileid="90449" class="ipsImage ipsImage_thumbnailed" alt="gmail_messageclipping_0.png.df5385cc7f02ef6c37fdf1810c847524.png" src="//media.invisioncic.com/i328763/monthly_2018_10/gmail_messageclipping_0.png.df5385cc7f02ef6c37fdf1810c847524.png" loading="lazy"></a></p>]]></description><guid isPermaLink="false">3137</guid><pubDate>Tue, 09 Oct 2018 07:48:19 +0000</pubDate></item><item><title>Configuring reverse proxy</title><link>https://community.jaspersoft.com/knowledgebase/faq/configuring-reverse-proxy/</link><description><![CDATA[<h2>Issue Description:</h2><p>TIBCO JaasperReports<sup>®</sup> Server is configured behind load balancer and when attempting to login via the TIBCO JaasperReports Server login page, the authentication fails and navigates from /jasperserver-pro/loginsuccess.html page  back to /jasperserver-pro/login.html.</p><hr /><h2>Resolution:</h2><p>The proxy definition template requires certain rules to dictate to Jasper what content to request from the application once authentication is successful. Below is an example template containing some rules that should be in a proxy definition:</p><pre class='ipsCode prettyprint lang-xml prettyprinted'># ************************************

&lt;VirtualHost *:443&gt;
  ServerName external.example.com

  ## Vhost docroot
  DocumentRoot "/srv/www/external.example.com"

  ## Directories, there should at least be a declaration for /srv/www/external.example.com

  &lt;Location "/"&gt;

        Order allow,deny
        Allow from all

  &lt;/Location&gt;

  &lt;Proxy "*"&gt;

        Order deny,allow
        Allow from all

  &lt;/Proxy&gt;

  ## Logging
  ErrorLog "/var/log/httpd/external.example.com_error_ssl.log"
  ServerSignature Off
  CustomLog "/var/log/httpd/external.example.com_access_ssl.log" combined

  ## Request header rules
  ## as per http://httpd.apache.org/docs/2.2/mod/mod_headers.html#requestheader
  RequestHeader set X-Forwarded-Proto "https"
  RequestHeader set X-Forwarded-Port "443"

  ## Proxy rules
  ProxyRequests Off
  ProxyPreserveHost On
  ProxyPass /jasperserver-pro http://internal.example.local:8080/jasperserver-pro
  ProxyPassReverse /jasperserver-pro http://internal.example.local:8080/jasperserver-pro

  ## SSL directives
  SSLEngine on
  SSLCertificateFile      "/etc/pki/tls/certs/ssl.crt"
  SSLCertificateKeyFile   "/etc/pki/tls/private/ssl.key"
  SSLCertificateChainFile "/etc/pki/tls/certs/chain.crt"

  # SSL Proxy directives
  SSLProxyEngine On
&lt;/VirtualHost&gt;

</pre><p>Please note the above template should be customized to the particular environment where this will be deployed.</p><p> </p>]]></description><guid isPermaLink="false">3129</guid><pubDate>Tue, 02 Oct 2018 18:53:18 +0000</pubDate></item><item><title>Synching external users in Jasper</title><link>https://community.jaspersoft.com/knowledgebase/faq/synching-external-users-jasper/</link><description><![CDATA[<h2>Issue Description:</h2><p>According to the external authentication cookbook, to synchronize a user's roles in external authentication with the TIBCO JasperReports<sup>®</sup> Server repository a user must first login. How would synchronizing several users at once be achieved?</p><hr /><h2>Resolution:</h2><p>The REST login call can be utilized to synch external users in a batch because scripts can be built around the REST call that will perform a login request. Such a script can potentially be built to read the list of external users (in LDAP for example) and then passed to the REST login call. More information about the REST login call can be found in <a href="/documentation/tibco-jasperreports-server-rest-api-reference/v710/authentication#The_login_Service" rel="">chapter 3.3 of the TIBCO JasperReports Server REST API Reference v7.1.0</a>.</p>]]></description><guid isPermaLink="false">3123</guid><pubDate>Mon, 24 Sep 2018 23:40:07 +0000</pubDate></item><item><title><![CDATA[How to display Dashboard via http API (v. > 6.0).]]></title><link>https://community.jaspersoft.com/knowledgebase/faq/how-display-dashboard-http-api-v-60/</link><description><![CDATA[<h2>Question:</h2><p>We have created a dashboard and want to use http api to display it.</p><p>Here is the URL we use :<a href="#" rel=""> https://&lt;IP address&gt;/reports/flow.html?_flowId=dashboardRuntimeFlow&amp;dashboardResource=%2Fpublic%2FDashBoard_Test_Hack&amp;decorate=no&amp;viewAsDashboardFrame=true&amp;j_username=superuser&amp;j_password=superuser</a></p><p>But we have got this exception instead of Dashboard that should be rendered:</p><pre class='ipsCode prettyprint lang-javascript prettyprinted'>2016-02-17 08:37:30,799 ERROR AdhocEngineServiceImpl,http-bio-8080-exec-3:1695 - [LoadDashboard]: Unable to cast to DashboardResource
</pre><h2>Answer:</h2><p>As of JasperReports Server 6.0, dashboards don't use the flow.html entry point used by Spring Web Flow. Instead, they use an updated dashboard entry point.</p><p>The following example opens a dashboard for viewing:</p><pre class='ipsCode prettyprint lang-xml prettyprinted'>http://&lt;host&gt;:&lt;port&gt;/&lt;context&gt;/dashboard/viewer.html#/public/Samples/Dashboards/1._Supermart_Dashboard
</pre><p>To open a dashboard for editing, call the Dashboard Designer:</p><pre class='ipsCode prettyprint lang-xml prettyprinted'>http://&lt;host&gt;:&lt;port&gt;/&lt;context&gt;/dashboard/designer.html#/public/Samples/Dashboards/1._Supermart_Dashboard
</pre><p>More detail on HTTP API can be found in Ultimate guide</p><p>(please see Executing Dashboards section):</p><p><a href="/documentation/tibco-jasperreports-server-ultimate-guide/v610/repository-http-api" rel="">http://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v610/repository-http-api</a></p>]]></description><guid isPermaLink="false">2182</guid><pubDate>Mon, 29 Feb 2016 17:44:27 +0000</pubDate></item><item><title>Incorrect Extra Axis Lines in PDF output of Charts Pro</title><link>https://community.jaspersoft.com/knowledgebase/faq/incorrect-extra-axis-lines-pdf-output-charts-pro/</link><description><![CDATA[<p></p><h2>Issue Description</h2><p>Customer developed a JRXML report with Charts Pro component.</p><p>When the report runs in JasperReports Server, output looks good, per requirements.</p><p>However, when the report exported to PDF format, it shows some extra axis lines, please refer to printscreen.</p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_09/reportoutput.png.bb8bb45ddf9726c05a23321c5ba665a8.png" data-fileid="90357" data-fileext="png" rel=""><img data-fileid="90357" class="ipsImage ipsImage_thumbnailed" alt="reportoutput.png.bb8bb45ddf9726c05a23321c5ba665a8.png" src="//media.invisioncic.com/i328763/monthly_2018_09/reportoutput.png.bb8bb45ddf9726c05a23321c5ba665a8.png" loading="lazy"></a></p><p>How to fix the issue?</p><hr><h2>Resolution</h2><p>The lines, displayed in PDF output, are so-called divisional lines:</p><p><a href="https://www.fusioncharts.com/dev/chart-guide/chart-configurations/div-lines-and-grids" rel="external nofollow">https://www.fusioncharts.com/dev/chart-guide/chart-configurations/div-lines-and-grids</a></p><p>In order to remove/hide them in PDF, try to specify the following settings in 'Divisional Lines and Grids' menu of the chart settings:</p><p>Num = 0</p><p>Color = #FFFFFF</p><p>Alpha = 0</p><p>Please find attached printscreen:</p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_09/divlines_settings.png.508ae6ab11b9501f67ea13be35ef383a.png" data-fileid="90359" data-fileext="png" rel=""><img data-fileid="90359" class="ipsImage ipsImage_thumbnailed" alt="divlines_settings.png.508ae6ab11b9501f67ea13be35ef383a.png" src="//media.invisioncic.com/i328763/monthly_2018_09/divlines_settings.png.508ae6ab11b9501f67ea13be35ef383a.png" loading="lazy"></a></p><p>It might be possible that the properties seem to be already set.</p><p>In that case try to change them to another value and then back to the provided one, to make sure the values are really saved,</p><p>or manually modify report JRXML file and add required properties:</p><pre class="ipsCode prettyprint lang-xml prettyprinted">&lt;fc:chartProperty name="divLineColor"&gt;
    &lt;fc:propertyExpression&gt;&lt;![CDATA[new java.awt.Color(-1)]]&gt;&lt;/fc:propertyExpression&gt;
&lt;/fc:chartProperty&gt;
&lt;fc:chartProperty name="numDivLines"&gt;
    &lt;fc:propertyExpression&gt;&lt;![CDATA[new Integer(0)]]&gt;&lt;/fc:propertyExpression&gt;
&lt;/fc:chartProperty&gt;
&lt;fc:chartProperty name="divLineAlpha"&gt;
    &lt;fc:propertyExpression&gt;&lt;![CDATA[new Integer(0)]]&gt;&lt;/fc:propertyExpression&gt;
&lt;/fc:chartProperty&gt;</pre><p><em><strong>Ref. Case 01597755</strong></em></p><p> </p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_09/reportoutput.png.971ce900310b68248090502af0631116.png" data-fileid="90358" data-fileext="png" rel=""><img data-fileid="90358" class="ipsImage ipsImage_thumbnailed" alt="reportoutput.png.971ce900310b68248090502af0631116.png" src="//media.invisioncic.com/i328763/monthly_2018_09/reportoutput.png.971ce900310b68248090502af0631116.png" loading="lazy"></a></p><p><a class="ipsAttachLink ipsAttachLink_image" href="//media.invisioncic.com/i328763/monthly_2018_09/divlines_settings.png.47f48952c7a803a443c2cf46e4c3a48d.png" data-fileid="90360" data-fileext="png" rel=""><img data-fileid="90360" class="ipsImage ipsImage_thumbnailed" alt="divlines_settings.png.47f48952c7a803a443c2cf46e4c3a48d.png" src="//media.invisioncic.com/i328763/monthly_2018_09/divlines_settings.png.47f48952c7a803a443c2cf46e4c3a48d.png" loading="lazy"></a></p>]]></description><guid isPermaLink="false">3121</guid><pubDate>Tue, 18 Sep 2018 08:01:55 +0000</pubDate></item></channel></rss>
