<?xml version="1.0"?>
<rss version="2.0"><channel><title>Knowledge Base: Troubleshooting</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/page/2/?d=6</link><description>Knowledge Base: Troubleshooting</description><language>en</language><item><title>Importing the community repository to pro version fails to import public folder</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/importing-community-repository-pro-version-fails-import-public-folder/</link><description><![CDATA[<div class="ipsRichText__table-wrapper"><table style="min-width: 40px;"><colgroup><col style="min-width:20px;"><col style="min-width:20px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><h2>Scenario:</h2><p>You have exported your community (CE) repository and try to upgrade to pro version. The importing process fails to import the public folder and throws this error:</p></td><td colspan="1" rowspan="1"><p>[toc]</p></td></tr></tbody></table></div><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>[java] ************** HibernateDaoImpl.executeWriteCallback EXCEPTION **********
[java] com.jaspersoft.jasperserver.api.metadata.common.service.JSResourceNotFoundException: jsexception.folder.not.found.at
[java] Arguments: "/organizations/organization_1/public",
</code></pre><h2>Solution:</h2><p>Export just the public folder from the community server. Open the archive with the public folder and find this property:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>&lt;property name="jsVersion" value="6.4.0 CE"/&gt;
</code></pre><p>change it to:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>&lt;property name="jsVersion" value="6.4.0 PRO"/&gt;
</code></pre><p>Try to re-import to Professional version.</p>]]></description><guid isPermaLink="false">2765</guid><pubDate>Tue, 03 Oct 2017 22:06:57 +0000</pubDate></item><item><title>js-export script generates error java.lang.NoClassDefFoundError: com/jaspersoft/jasperserver/export/ExportCommand</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/js-export-script-generates-error-javalangnoclassdeffounderror/</link><description><![CDATA[<p></p><h2>Issue:</h2><p>While executing the below js-export.bat command from the &lt;js-install&gt;/buildomatic folder, the following error was encountered:</p><p><u>Command:</u></p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>js-export.bat --everything --output-zip jrs-7.1-export.zip</code></pre><p><u>Error:</u></p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>Exception in thread "main" java.lang.NoClassDefFoundError: com/jaspersoft/jasperserver/export/ExportCommand</code></pre><p> </p><hr><h2></h2><p>Solution:</p><p>The cause of this error was due to <em>js-export.bat</em> picking up an old unsupported version of java installed on the machine.  </p><p>A typical scenario would be having Java JDK 1.4.2 installed on the machine and its bin directory added to the front of the system PATH environment variable. </p><p>The <em>js-export.bat</em> which runs the following command:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>java -classpath "%EXP_CLASSPATH%" %JAVA_OPTS% com.jaspersoft.jasperserver.export.ExportCommand %JS_CMD_NAME% %CMD_LINE_ARGS%</code></pre><p>would execute java under the incorrect JDK 1.4.2 bin directory. This is despite <em>%JAVA_HOME%</em> set to point to the correct version of Java (eg. <em>C:Program FilesJavajdk1.8.0_161</em>)</p><p>The solution is to remove the old version of Java from the system PATH environment variable, then open up a new command shell and first run "<em>java -version</em>" from buildomatic folder to ensure the right version of java is detected. Then run the <em>js-export.bat </em>command again.</p><p><strong>Note:</strong>  This error can also occur with running js-export.sh as well as js-import.bat [.sh] scripts.</p><p>Note: This wiki article still applicable to Jasperserver v9.0</p><hr><p>ref: 01852956</p><p> </p>]]></description><guid isPermaLink="false">3760</guid><pubDate>Thu, 19 Mar 2020 22:32:32 +0000</pubDate></item><item><title>Resolving &#x201C;Error invoking getDriver() method&#x201D; During Upgrade to JasperReports Server 9.0.0</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/resolving-error-invoking-getdriver-method-during-upgrade-to-jasperreports-server-900-r5031/</link><description><![CDATA[<h2>Overview</h2><p>This article explains how to resolve the following upgrade validation error encountered while upgrading JasperReports Server from version 8.2.0 to version 9.0.0 using Microsoft SQL Server as the repository database.</p><hr><h1>Problem</h1><p>During the upgrade process, the validation step fails with an error similar to the following:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>[echo] Validating administrative database connection at jdbc:sqlserver://&lt;server&gt;:1433;...

BUILD FAILED

/app/production/FPI/jasperreports-server-pro-9.0.0-bin/buildomatic/bin/validation.xml:508:
The following error occurred while executing this line:

...
Error invoking getDriver() method
</code></pre><hr><h1>Cause</h1><p>JasperReports Server does not bundle JDBC drivers for certain commercial databases, including:</p><ul><li><p>Microsoft SQL Server</p></li><li><p>Oracle</p></li><li><p>IBM DB2</p></li></ul><p>When using one of these databases, the appropriate JDBC driver must be manually added before running the upgrade or installation process.</p><p>If the SQL Server JDBC driver is missing or incorrectly configured, Buildomatic cannot establish the repository database connection and the validation step fails with:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>Error invoking getDriver() method
</code></pre><hr><h1>Solution</h1><h2>Step 1 — Obtain the SQL Server JDBC Driver</h2><p>Download a compatible Microsoft SQL Server JDBC driver from Microsoft or use the driver already validated in your environment.</p><p>Example driver file:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>mssql-jdbc-&lt;version&gt;.jar
</code></pre><hr><h2>Step 2 — Copy the Driver to the Required Directory</h2><p>Copy the JDBC driver JAR file into the following directory:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>&lt;js_install&gt;/buildomatic/conf_source/db/sqlserver/jdbc
</code></pre><p>Example:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>/app/production/FPI/jasperreports-server-pro-9.0.0-bin/buildomatic/conf_source/db/sqlserver/jdbc
</code></pre><hr><h1>Step 3 — Verify default_master.properties</h1><p>Update the database driver configuration inside:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>&lt;js_install&gt;/buildomatic/default_master.properties
</code></pre><p>Ensure the SQL Server JDBC settings point to the correct driver.</p><p>Typical properties include:</p><pre spellcheck="" class="ipsCode language-properties" data-language="Properties"><code>dbType=sqlserver
jdbcDriverClass=com.microsoft.sqlserver.jdbc.SQLServerDriver
</code></pre><p>Also verify:</p><ul><li><p>JDBC URL</p></li><li><p>Database username/password</p></li><li><p>Driver version compatibility</p></li></ul><hr><h1>Step 4 — Re-run the Upgrade Validation</h1><p>After placing the JDBC driver and confirming the configuration, re-run the upgrade command.</p><p>The validation step should now complete successfully.</p><hr><h1>Additional Information</h1><p>For more details, refer to the following section from the official Upgrade Guide:</p><h2>Working With JDBC Drivers</h2><p><a rel="" href="https://community.jaspersoft.com/documentation/jasperreports-server/tibco-jasperreports-server-upgrade-guide/v900/jrs-upgrade-guide-_-jdbc-driver/?utm_source=chatgpt.com#:~:text=db/oracle/jdbc/-,SQL%20Server%20Example,-1.">JasperReports Server Upgrade Guide - Working With JDBC Drivers</a></p><hr><h1>Summary</h1><p>This issue occurs because JDBC drivers for commercial databases are not bundled with JasperReports Server distributions.</p><p>To resolve the issue:</p><ol><li><p>Obtain the appropriate SQL Server JDBC driver</p></li><li><p>Copy it into the Buildomatic SQL Server JDBC directory</p></li><li><p>Verify <code>default_master.properties</code></p></li><li><p>Re-run the upgrade validation process</p></li></ol><p>This allows Buildomatic to successfully establish the repository database connection during the upgrade to version 9.0.0.<br>_________________________________________________________________________________________________________________________<br><strong>Ref. Case #2550148</strong></p>]]></description><guid isPermaLink="false">5031</guid><pubDate>Wed, 13 May 2026 14:35:34 +0000</pubDate></item><item><title>"Unexpected char e at position 17 in conversion patterrn" log4j error upon server startup</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/unexpected-char-e-position-17-conversion-patterrn-log4j-error-upon-server-startup/</link><description><![CDATA[<h2>Issue:</h2><p>In TIBCO JasperReports<span class="ipsEmoji">®</span> Server 7.5, the following exception is generated upon starting up the server :</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>log4j:ERROR Unexpected char [e] at position 17 in conversion patterrn.</code></pre><p>How to resolve this error ?</p><hr><h2>Solution:</h2><ol><li><p>On the TIBCO JasperReports<span class="ipsEmoji">®</span> Server, edit the file:</p><p><em> ..webappsjasperserver-proWEB-INFapplicationContext-diagnostic.xml</em></p></li><li><p>Locate the following bean: </p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>&lt;bean class="org.apache.log4j.PatternLayout"&gt;
</code></pre><p>and modify:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>&lt;value&gt;%-5p %c[1] - %m%ex%n&lt;/value&gt;
</code></pre><p>to delete the <strong>'e'</strong> so it looks like this:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>&lt;value&gt;%-5p %c[1] - %m%x%n&lt;/value&gt;
</code></pre></li><li><p>Restart the TIBCO JasperReports<span class="ipsEmoji">®</span> Server.</p></li></ol><h3>Related Articles:</h3><ul><li><p>JS-56613: Non critical exceptions in JRS startup   <br><br>Note: This issue is resolved in the JasperServer 8 version</p></li></ul>]]></description><guid isPermaLink="false">3776</guid><pubDate>Mon, 06 Apr 2020 00:47:26 +0000</pubDate></item><item><title>Adding new or editing existing marker resets the map center latitude and longitude expression</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/adding-new-or-editing-existing-marker-resets-map-center-latitude-and-longitude-expression/</link><description><![CDATA[<h2>Issue:</h2><p>We are using a map component from the 'Basic Elements' palette and have set the latitude and longitude values for the map center (under Map tab) to reference fields as <em>$F{lat}</em> and<em> $F{long} </em>respectively. </p><p>However, when navigating to the Markers tab and adding a new marker or editing an existing marker, the map center latitude and longitude expression values were reset to <em>45.439722</em> and <em>12.331944</em> overwriting what was defined.</p><p> </p><hr><h2> </h2><h2>Solution:</h2><p>This was reported as a defect (reference <em>JSS-2682</em>) and the workaround is to define all your markers first and then set/re-set the map center expression values last or copy and paste the relevant two lines back into the source code under the Source tab:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>&lt;c:latitudeExpression&gt;&lt;![CDATA[$F{lat}]]&gt;&lt;/c:latitudeExpression&gt; 
&lt;c:longitudeExpression&gt;&lt;![CDATA[$F{long}]]&gt;&lt;/c:longitudeExpression&gt;
</code></pre>]]></description><guid isPermaLink="false">3691</guid><pubDate>Mon, 06 Jan 2020 04:18:27 +0000</pubDate></item><item><title>Unable to run imported report containing resources with absolute path</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/unable-run-imported-report-containing-resources-absolute-path/</link><description><![CDATA[<p></p><h2>Issue:</h2><p>We have exported reports and its dependencies from TIBCO JasperReports<span class="ipsEmoji">®</span> Server 6.x and imported the reports into TIBCO JasperReports<span class="ipsEmoji">®</span> Server 7.5. </p><p>After trying to edit and run the imported report as a user (eg. jasperadmin) under the new organization, the following error appears to the user:</p><p><em>"There was an error on the server. Try again or contact site administrators. (ERROR UID: 8c6d4f7a-7dbb-4644-9db6-e07911accf55)" </em></p><p> </p><p>The <em>../WEB-INF/log/jasperserver.log</em> file captured the following error:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>2020-04-27T16:19:30,538 ERROR ErrorPageHandlerAction,https-jsse-nio-8443-exec-37:118 - Error UID 8c6d4f7a-7dbb-4644-9db6-e07911accf55
com.jaspersoft.jasperserver.multipleTenancy.MTResourceNotVisibleException: You may not access resources which do not belong to your organization.
...

Caused by: com.jaspersoft.jasperserver.multipleTenancy.MTResourceNotVisibleException: 
Path /organizations/&lt;organization_name&gt;/organizations/&lt;suborg_name&gt;/Data_Source/&lt;DS_NAME&gt; is not visible in organization context </code></pre><p>Note: The issue does not occur for the superuser account. </p><p> </p><hr><h2></h2><p>Solution:</p><p>The error comes from a resource referenced from the report where there is an absolute path: </p><p>/organizations/&lt;organization_name&gt;/organizations/&lt;suborg_name&gt;/Data_Source/&lt;DS_NAME&gt;</p><p>There were changes implemented in the TIBCO JasperReports<span class="ipsEmoji">®</span> Server 7.x release where an absolute path referenced in report resource is no longer acceptable.</p><p>The solution is to update the affected resources to reference relative paths which is relative to the organization user.</p><p>In the TIBCO JasperReports<span class="ipsEmoji">®</span> Server 7.5 Release Notes, the following statement was documented:</p><p><em>JS-34346: This release changes resource visibility constraints in multi-tenant deployments (that is, those that include more than one organization). </em></p><p>The change disables certain cases of improper resource referencing, such as providing an absolute repository path (starting with the root organization) </p><p>for a resource referenced in a report. If you have a reference to an image, a subreport, or other resource that has an absolute path (or uses a $P{} </p><p>parameter that later resolves to an absolute path), the server returns an error. Please update such references to use path that are visible to users </p><p>in the organization in question. Consider using relative paths, or use the public folder for reports used by multiple organizations. </p><p> </p><hr><p>ref: 01861769</p>]]></description><guid isPermaLink="false">3795</guid><pubDate>Tue, 05 May 2020 02:16:11 +0000</pubDate></item><item><title>Trying to pass MDX query to the view through HTTP fails</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/trying-pass-mdx-query-view-through-http-fails/</link><description><![CDATA[<h2>Problem:</h2><p>I am trying to pass the MDX into a view through HTTP in URL but nothing happens and the MDX I'm passing gets rejected:</p><p>olap/viewOlap.html?name=/Renewals/some_view?mdx=select%20NON%20EMPTY%20{[Measures].[Max%20Effort],%20[Measures].[Contacts],%20[Measures].[Resp],%20[Measures].[$%20Resp],%20[Measures].[Pct%20Resp],%20[Measures].[Avg%20$],%20[Measures].[Premiums],%20[Measures].[Cost%20w%20Prem],%20[Measures].[Net%20w%20Prem],%20[Measures].[Net%20w%20Prem%20-%20Per%20Resp]}%20ON%20COLUMNS,%20%20NON%20EMPTY%20{([Expire%20Group].[Aug%202017],%20[Renewal%20Effort].[All%20Renewal%20Efforts],%20[Membership%20Tenure.Tenure].[All%20Tenures])}%20ON%20ROWS%20from%20[RenewalResponseCube]</p><h2>Solution:</h2><p>Characters [ ] { and } are illegal in a URL and need to be escaped.  Try to escape { with %7B, } with %7D, [ with %5B and ] with %5D<br><br><br><strong><span style="font-family: Arial, Helvetica, sans-serif;">Addition explanation:</span></strong></p><ol><li><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">URL Specifications:</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> According to RFC 3986 (the standard for URLs), characters like [ ] { } are classified as "unsafe" or "reserved" because they have special meanings in certain contexts or can be misinterpreted by web servers and browsers.</span></p></li><li><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">MDX Syntax:</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> MDX relies heavily on these characters—square brackets [] for object names and curly braces {} for sets. If you don't escape them, the web server (like Apache Tomcat, which Jaspersoft usually runs on) may reject the request with a </span><strong><span style="font-family: Arial, Helvetica, sans-serif;">400 Bad Request</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> error before it even reaches the JasperReports application.</span></p></li><li><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">Correct Mappings:</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> The hex codes provided in the solution are the standard URL-encoded (Percent-encoded) values:</span></p></li></ol><ul><li><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">[</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> becomes </span><strong><span style="font-family: Arial, Helvetica, sans-serif;">%5B</span></strong></p></li><li><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">]</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> becomes </span><strong><span style="font-family: Arial, Helvetica, sans-serif;">%5D</span></strong></p></li><li><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">{</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> becomes </span><strong><span style="font-family: Arial, Helvetica, sans-serif;">%7B</span></strong></p></li><li><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">}</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> becomes </span><strong><span style="font-family: Arial, Helvetica, sans-serif;">%7D</span></strong></p></li></ul><h3><strong><span style="font-family: Arial, Helvetica, sans-serif;">Additional Recommendation</span></strong></h3><p><span style="font-family: Arial, Helvetica, sans-serif;">While the solution correctly identifies the brackets and braces, your original URL also contains </span><strong><span style="font-family: Arial, Helvetica, sans-serif;">spaces</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> and </span><strong><span style="font-family: Arial, Helvetica, sans-serif;">commas</span></strong><span style="font-family: Arial, Helvetica, sans-serif;">. You should ensure the entire query string is fully encoded to avoid further "rejected" or "not found" errors.</span></p><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">A fully encoded version of your query parameter would look like this:</span></strong></p><p><span style="font-family: Arial, Helvetica, sans-serif;">mdx=select%20NON%20EMPTY%20%7B%5BMeasures%5D.%5BMax%20Effort%5D%2C%20...</span></p><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">Tips for implementation:</span></strong></p><ul><li><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">Browser Behavior:</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> Modern browsers often "visually" show you the characters in the address bar, but they encode them behind the scenes. However, if you are generating this link via </span><strong><span style="font-family: Arial, Helvetica, sans-serif;">JavaScript</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> or </span><strong><span style="font-family: Arial, Helvetica, sans-serif;">Java code</span></strong><span style="font-family: Arial, Helvetica, sans-serif;">, you must manually use a function like encodeURIComponent() (JS) or URLEncoder.encode() (Java) to ensure the query is safe.</span></p></li></ul><p><strong><span style="font-family: Arial, Helvetica, sans-serif;">Tomcat Security:</span></strong><span style="font-family: Arial, Helvetica, sans-serif;"> If you still face issues after encoding, it may be because newer versions of Apache Tomcat (7.0.76+, 8.0.42+, 8.5.12+) are extremely strict. You might need to adjust the relaxedQueryChars attribute in Tomcat's server.xml if the server is still blocking these characters even when encoded.</span></p>]]></description><guid isPermaLink="false">2595</guid><pubDate>Sat, 29 Apr 2017 00:14:20 +0000</pubDate></item><item><title>"More information" link under Advanced section in the Format Visualization tab is broken</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/more-information-link-under-advanced-section-in-the-format-visualization-tab-is-broken-r5029/</link><description><![CDATA[<p><strong><u><span data-ips-font-size="150">Issue:</span></u></strong></p><p>The <strong>More information</strong> link under Advanced in the Format Visualisation tab does not work and opens the follow page:</p><p><img class="ipsImage ipsImage_thumbnailed ipsRichText__align--block ipsRichText__align--width-custom" data-fileid="133188" src="//media.invisioncic.com/i328763/monthly_2026_05/image.thumb.png.b6696153d67aa8d9b852a118204e6497.png" alt="image.png" title="" width="1000" height="765" data-full-image="//media.invisioncic.com/i328763/monthly_2026_05/image.png.572033a13b409d01bcdca0b07db07d99.png" style="--i-media-width: 702px;" loading="lazy"></p><p></p><p><strong><u>Steps to Reproduce:</u></strong></p><ol><li><p>Create an Ad Hoc view</p></li></ol><ol start="2"><li><p>Change the Visualization Type to Column chart</p></li></ol><ol start="3"><li><p>Select the Format Visualization tab and click on the More Information link under Advanced section.</p></li></ol><ol start="4"><li><p>This would direct to an invalid page -&gt;  <a rel="" href="https://community.jaspersoft.com/wiki/advanced-chart-formatting"><u>https://community.jaspersoft.com/wiki/advanced-chart-formatting</u></a></p></li></ol><p></p><p><strong><u><span data-ips-font-size="150">Solution:</span></u></strong></p><p>This is a defect reported in the following incident:</p><p><em>JS-79001: Fix more information link in format visualization panel of adhoc designer</em></p><p>A fix for this is currently being developed amd targeted to an upcoming hotfix for JasperReports Server versions 9.0 and 10.0.0</p><p>Until the hotfix is available and applied, you can manually navigate to the correct URL which is:</p><p><a rel="" href="https://community.jaspersoft.com/knowledgebase/best-practices/advanced-chart-formatting/">https://community.jaspersoft.com/knowledgebase/best-practices/advanced-chart-formatting/</a></p><p></p>]]></description><guid isPermaLink="false">5029</guid><pubDate>Tue, 12 May 2026 03:23:59 +0000</pubDate></item><item><title>Version 10 license not loaded error</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/version-10-license-not-loaded-error-r5028/</link><description><![CDATA[<p>You are on Version 10 and you are getting a LIC_004_license.not.loaded error.  This is on Ubuntu 24.04 and Java 17. <br>For License to work there are two ways to place the License file:<br>     1. Place it in user.home.</p><ol start="2"><li><p>If user wants to use any custom location then they need to specify the path of the license file inside Tomcat/bin folder in <a rel="external nofollow" href="https://setenv.sh">setenv.sh</a> or <a rel="external nofollow" href="https://setclasspath.sh">setclasspath.sh</a>.  They can follow the documentation for the same here <a rel="" href="https://community.jaspersoft.com/documentation/jasperreports-server/tibco-jasperreports%C2%AE-server-installation-guide/v1000/jrs-install-guide-_-additional-_-setting_up_the_jasperreports_server_/">Setting Up the JasperReports Server License</a></p></li></ol><p>For example: </p><p>1. Copied the License file in /root or /jasperserver without setting anything in setenv.sh/setclasspath.sh in Tomcat/bin folder.<br>2. Placed the license in /opt folder where JRS installer and Tomcat were present. Then create one file <a rel="external nofollow" href="https://setenv.sh">setenv.sh</a> in /opt/tomcat/bin and added the path of the license file as given below:--<br>export JAVA_OPTS="$JAVA_OPTS -<a rel="external nofollow" href="https://Djs.license.directory">Djs.license.directory</a>=/opt"<br>Restarted Tomcat and JRS application.</p><p></p>]]></description><guid isPermaLink="false">5028</guid><pubDate>Fri, 08 May 2026 17:19:23 +0000</pubDate></item><item><title>Table element no longer resizes after upgrading to JasperReports Server 9.0</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/table-element-no-longer-resizes-after-upgrading-to-jasperreports-server-90-r5020/</link><description><![CDATA[<p><strong><u><span data-ips-font-size="150">Issue:</span></u></strong></p><p>We have reports designed with a table element that goes much wider then the page width.</p><p>We then created columns within the table that are automatically hidden at report generation.</p><p>In JasperReports Server 8.0, the report's table element would resize to the width of the table.  However, when running the exact same report in JasperReports Server 9.0, the size of the table element is retained.  This leaves a massive white space on the right hand side of the report output.</p><p>What is the difference between the two versions that is causing the table element to no longer reduce in size?</p><p></p><p><strong><u><span data-ips-font-size="150">Solution:</span></u></strong></p><p>This issue was caused by a defect. </p><p>We have a fix in JasperReports Server version 9.0 with followng description:</p><p><em>JSS-3580: Automatic resizing of table columns based on weights</em></p><p><em>Description:</em></p><p><em>When total visible columns width is different from table element width, the additional space left within the table box should be distributed among visible columns based on a weights system where columns with higher weight value get more of it.</em></p><p><em>Similarly, when table element width is smaller than visible columns total width, columns need to shrink and try fit into defined table box based on a weights system where columns with higher weights shrink more.</em></p><p><em>Columns that do not have weights specified are supposed to remain of fixed width.</em></p><p></p><p>The fix is included in the latest hotfix (or a hotfix same or newer than hotfix_JRSPro9.0.0_cumulative_20251204_0224). The readme.txt file under the jasperserver-pro sub-directory of the Hotfix zip should list the above defect.</p><p>Hotfixes can be downloaded from the support portal. </p>]]></description><guid isPermaLink="false">5020</guid><pubDate>Tue, 05 May 2026 06:00:36 +0000</pubDate></item><item><title>Tomcat Windows service "Apache Commons Daemon Service Runner" is using too much memory</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/tomcat-windows-service-apache-commons-daemon-service-runner-is-using-too-much-memory-r5019/</link><description><![CDATA[<p><strong><u><span data-ips-font-size="150">Issue:</span></u></strong></p><p>On Windows Server, after starting up Tomcat service, we noticed the "Apache Commons Daemon Service Runner" process is taking up nearly all of the memory on the server.  </p><p>How can we tune the Tomcat service to prevent this from occurring ? </p><p></p><p><strong><u><span data-ips-font-size="150">Solution:</span></u></strong></p><p>A cause to this could be that the java minimum heap size (-Xms) is set too high. </p><p>The recommendation is to tune the jvm to reduce on the minimum heap size and allow the memory to grow to the maximum heap size (-Xmx) when necessary. </p><p>1. If you had ran the bundled installer, then under Tomcat/bin folder and double click on:</p><p> jasperreportsTomcat.exe </p><p>Or if you installed Tomcat using an existing Windows service, look for an .exe file in the same location, with the same name as your Tomcat service</p><p>Or select the service from the Windows Start menu:</p><p>Start &gt; Programs &gt; Apache Tomcat &gt; Configure Tomcat (Run as administrator)</p><p>2. In the Apache Tomcat Properties dialog, click on the Java tab.</p><p>3. In the Java Options field, enter only the options preceded by -X . Enter only one Java option setting per line.</p><p>For instance, add options as follows:</p><p>-Xms2048m</p><p>-Xmx9000m</p>]]></description><guid isPermaLink="false">5019</guid><pubDate>Tue, 05 May 2026 04:48:47 +0000</pubDate></item><item><title>Report execution through JasperReports Server failed with tmp table does not exist</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/report-execution-through-jasperreports-server-failed-with-tmp-table-does-not-exist-r5018/</link><description><![CDATA[<p><strong><u><span data-ips-font-size="150">Issue:</span></u></strong></p><p>Report execution containing a stored procedure failed with:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>2026-02-26T11:16:38,005 ERROR SecureExceptionHandlerImpl,pool-18-thread-1:135 - There was an error on the server. Try again or contact site administrators. (Error UID: 09270dae-7e00-4229-b37c-95b59194450f). 
ERROR: relation "lg_bom_items_gb$tmp" does not exist</code></pre><p></p><p>However when executing the same store procedure directly in the PostgreSQL database, it worked successfully.</p><p></p><p><strong><u><span data-ips-font-size="150">Solution:</span></u></strong></p><p>The error "relation does not exist" in PostgreSQL means the database cannot find the table you are referencing.</p><p>In this case, lg_bom_items_gb$tmp is a temporary table used during the data processing of the report execution.</p><p>Why this failed in JasperReports Server is because the JRJdbcQueryExecuter is in read-only mode by default and hence the lg_bom_items_gb$tmp temp table cannot be created.</p><p>These two JDBC parameters are required for the jdbc connection used by this report.</p><p>You can append these parameters below directly to your connection string to control session behavior.</p><p>readOnly=false</p><p>autoCommit=true</p><p>For example:</p><p>Modify the jdbc connection string as follows:</p><p>jdbc:postgresql://yourhost:5432/yourdb?readOnly=false&amp;autoCommit=true</p><p>If the report is using a JNDI connection, then check the META-INF/context.xml and ensure the above two attributes are set.</p><p></p>]]></description><guid isPermaLink="false">5018</guid><pubDate>Tue, 05 May 2026 03:51:58 +0000</pubDate></item><item><title>JBoss deployment of JasperReports Server failed with "Could not parse file" in applicationContext-jms.xml</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/jboss-deployment-of-jasperreports-server-failed-with-could-not-parse-file-in-applicationcontext-jmsxml-r5017/</link><description><![CDATA[<p><strong><u><span data-ips-font-size="150">Issue:</span></u></strong></p><p>Upon completing the build and starting up JBoss, the deployment of jasperserver-pro.war did not succeed. </p><p>The jasperserver-pro.war.failed log contains the following error:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>"{\"WFLYCTL0080: Failed services\" =&gt; {\"jboss.deployment.unit.\\\"jasperserver-pro.war\\\".PARSE\" =&gt; \"WFLYSRV0153: Failed to process phase PARSE of deployment \\\"jasperserver-pro.war\\\"
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYMSGAMQ0055: Could not parse file /opt/jboss/jboss-report/standalone/deployments/jasperserver-pro.war/WEB-INF/applicationContext-jms.xml
    Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYMSGAMQ0055: Could not parse file /opt/jboss/jboss-report/standalone/deployments/jasperserver-pro.war/WEB-INF/applicationContext-jms.xml
    Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[7,1]</code></pre><p> </p><p>As a result, after starting JBoss with JasperReports Server, the failed deployment resulted in the  /jasperserver-pro login page url returning a HTTP 404 status. </p><p> </p><p><strong><u><span data-ips-font-size="150">Solution:</span></u></strong></p><p>It appears that the applicationContext-jms.xml file caused an issue with the JBoss deployment. </p><p>The purpose of this file is for the configuration of ActiveMQ java messaging service in a cluster deployment and if you are not using ActiveMQ then the file is not necessary. </p><p>Most of the content in the file is commented out by default. </p><p>As a workaround, delete or move the applicationContext-jms.xml out of the jasperserver-pro.war file and try the deployment again.</p>]]></description><guid isPermaLink="false">5017</guid><pubDate>Tue, 05 May 2026 03:25:56 +0000</pubDate></item><item><title>Jasper Reports Not working in visualize.js - CORS Error even after enabling SSL</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/jasper-reports-not-working-in-visualizejs-cors-error-even-after-enabling-ssl-r5016/</link><description><![CDATA[
<p><img src="https://media.invisioncic.com/i328763/monthly_2026_05/CORS_Error_JasperReports_NetworkTab(2)(1).png.bdc423694a95021299a104c9e9728563.png" /></p>
<p><strong><span data-ips-font-size="125">Problem statement-</span></strong></p><p>Facing an issue while rendering a report in visuzlize js-</p><p> "Uncaught ReferenceError: visualize is not defined at <em>display/?editor</em>console=true:120:1" and "_display/?editor_console=true:1 Access to script at '<a rel="external nofollow" href="https://localhost:8443/jasperserver-pro/client/visualize.js">https://localhost:8443/jasperserver-pro/client/visualize.js</a>' from origin '<a rel="external nofollow" href="https://fiddle.jshell.net">https://fiddle.jshell.net</a>' has been blocked by CORS policy: Permission was denied for this request to access the local address space."</p><p>The issue is reproducible even after adding 'domainWhitelist' and enabling 'https' from v9.0.</p><p><strong><span data-ips-font-size="125">Solution-</span></strong></p><p>We have investigated the behavior and found that it is related to recent security updates in modern web browsers, rather than an issue with the JasperReport Server.</p><p>The Issue: Local Network Access Restrictions</p><p>Modern browsers now actively block public domains (like jsFiddle) from accessing private domains or local networks. This security restriction, known as Local Network Access (LNA) permissions, was introduced in Chrome version 142 and is also enforced by Microsoft Edge and Mozilla Firefox.</p><p>Chrome: <a rel="external nofollow" href="https://chromestatus.com/feature/5152728072060928">https://chromestatus.com/feature/5152728072060928</a> </p><p>Edge: <a rel="external nofollow" href="https://learn.microsoft.com/en-us/deployedge/microsoft-edge-browser-policies/privatenetworkaccessrestrictionsenabled">https://learn.microsoft.com/en-us/deployedge/microsoft-edge-browser-policies/privatenetworkaccessrestrictionsenabled</a></p><p>Firefox:   <a rel="external nofollow" href="https://support.mozilla.org/en-US/kb/control-personal-device-local-network-permissions-firefox">https://support.mozilla.org/en-US/kb/control-personal-device-local-network-permissions-firefox</a> </p><p>While some configuration workarounds generally exist for CORS issues, they do not apply here. Because we load visualize.js via a script tag without a preflight call, setting the response header to Access-Control-Allow-Private-Network: true will not bypass the browser's block.</p><p>How to Resolve This</p><p>Because this is a browser-level security restriction, we highly recommend avoiding public platforms like jsFiddle when you need to communicate with a private or protected server.</p><p>To continue your work, please use one of the following workarounds:</p><p>1. Use a local HTML file (Recommended): Instead of running your code in jsFiddle, save and run your test code locally within an HTML file. This bypasses the public-to-private domain block.</p><p>2. Disable the LAN check in Chrome (Not Recommended): You can temporarily bypass this by navigating to chrome://flags/#local-network-access-check and disabling the flag. Please note: We do not recommend this due to security risks. Please consult with your security team to validate before disabling this flag.</p><p>When to use jsFiddle</p><p>You can still use jsFiddle without any issues as long as the communication is strictly between public resources. For example, in our Basic Report Embed demo, both jsFiddle and the mobile demo server are hosted on public domains, so the browser allows the connection.</p><p>- <a rel="external nofollow" href="https://jsfiddle.net/8fhvw7zx/">https://jsfiddle.net/8fhvw7zx/</a></p><p></p>]]></description><guid isPermaLink="false">5016</guid><pubDate>Tue, 05 May 2026 02:09:44 +0000</pubDate></item><item><title>Unable to start TIBCO JasperReports&#xAE; Server due to conflicting diagnostic port 10990</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/unable-start-tibco-jasperreports-server-due-conflicting-diagnostic-port-10990/</link><description><![CDATA[<div class="ipsRichText__table-wrapper"><table style="min-width: 40px;"><colgroup><col style="min-width:20px;"><col style="min-width:20px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><h2>Issue:</h2><p>After installing a bundled TIBCO JasperReports<span class="ipsEmoji">®</span> Server on a Windows server machine, we are unable to start the Tomcat server successfully.</p><p>From  the <em>catalina log</em>, the following errors were observed:</p></td><td colspan="1" rowspan="1"><p>[toc]</p></td></tr></tbody></table></div><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>25-Sep-2019 12:11:35.444 SEVERE [localhost-startStop-2] org.apache.catalina.core.StandardContext.startInternal 
One or more listeners failed to start. Full details will be found in the appropriate container log file
25-Sep-2019 12:11:35.444 SEVERE [localhost-startStop-2] org.apache.catalina.core.StandardContext.startInternal 
Context [/jasperserver-pro] startup failed due to previous errors</code></pre><p> </p><p>The<em> jasperserver.log</em> file contained the following :</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>2019-09-25 12:11:35,319 ERROR ContextLoader,localhost-startStop-2:331 - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jasperJMXServerConnector' 
defined in ServletContext resource [/WEB-INF/applicationContext-diagnostic.xml]: Invocation of init method failed; 
nested exception is java.io.IOException: Cannot bind to URL [rmi://localhost:10990/jasperserver-pro]: 
javax.naming.NameAlreadyBoundException: jasperserver-pro [Root exception is java.rmi.AlreadyBoundException: jasperserver-pro]
...
...
Caused by: java.io.IOException: Cannot bind to URL [rmi://localhost:10990/jasperserver-pro]: 
javax.naming.NameAlreadyBoundException: jasperserver-pro [Root exception is java.rmi.AlreadyBoundException: jasperserver-pro]
</code></pre><h2> </h2><h2>Solution:</h2><p>The cause of the error is due to a conflicting diagnostic port <em>10990</em>. </p><p>This can occur if the server already has multiple installations of TIBCO JasperReports<span class="ipsEmoji">®</span> Server where one was already successfully started.</p><p>The installation process does not provide a way to alter this internal port number.  </p><p>Steps to take post-installation :</p><p>1&gt; Stop the Tomcat service</p><p>2&gt; Locate and open the file<strong> js.diagnostic.properties </strong>located under ..<em>webapps/jasperserver-pro/WEB-INF/</em></p><p>3&gt; Modify the diagnostic port in the<strong> js.diagnostic.properties</strong> file from <em>10990 </em>to a different port number such as 10995</p><p>4&gt; Save the changes &amp; Start the Tomcat service.</p><p> Note: This is a specific use case and a solution that can be tried to resolve the issue </p>]]></description><guid isPermaLink="false">3573</guid><pubDate>Tue, 15 Oct 2019 04:08:53 +0000</pubDate></item><item><title>"Cannot get a connection, pool error Could not create a validated object" when trying to connect to Databricks environment using Databricks driver</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/cannot-get-a-connection-pool-error-could-not-create-a-validated-object-when-trying-to-connect-to-databricks-environment-using-databricks-driver-r5015/</link><description><![CDATA[<p><strong>Scenario:</strong></p><p>You've deployed a DataBricks JDBC driver into JasperServer and trying to connect to DataBricks environment. Upon trying to test connection you get an error:</p><p>org.apache.commons.dbcp.SQLNestedException: Cannot get a connection, pool error Could not create a validated object, cause: [Databricks][JDBC](10220) Driver does not support this optional feature. </p><p>at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:114) </p><p>at com.jaspersoft.jasperserver.api.engine.jasperreports.service.impl.JdbcDataSourceService.testConnection(JdbcDataSourceService.java:85) </p><p>at com.jaspersoft.jasperserver.remote.connection.jdbc.JdbcConnector.testConnection(JdbcConnector.java:90) </p><p> ...</p><p>org.apache.tomcat.util.threads.TaskThread$<a rel="external nofollow" href="https://WrappingRunnable.run">WrappingRunnable.run</a>(TaskThread.java:61) at <a rel="external nofollow" href="https://java.lang.Thread.run">java.lang.Thread.run</a>(Thread.java:748) </p><p>Caused by: java.util.NoSuchElementException: Could not create a validated object, cause: [Databricks][JDBC](10220) Driver does not support this optional feature. </p><p>at org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:1191) </p><p>at org.apache.commons.dbcp.PoolingDataSource.getConnection(PoolingDataSource.java:106) ... 190 more</p><p><strong>Solution:</strong></p><p>this is Apache DBCP is trying to auto-validate the connection which is something this driver doesn't support naturally. Try  one of these approaches:</p><p>- add IgnoreTransactions=1; to the JDBC connection string</p><p>- edit &lt;jasperserver WAR&gt;/WEB-INF/applicationContext.xml, find the jdbcDataSourceServiceFactory and edit autoCommitUnsupportedDrivers and add &lt;value&gt;com.databricks.client.jdbc.Driver&lt;/value&gt;, save the file and restart Tomcat.</p><p></p>]]></description><guid isPermaLink="false">5015</guid><pubDate>Thu, 30 Apr 2026 21:46:49 +0000</pubDate></item><item><title>Jaspersoft Studio freezes when running reports with HTML5 Charts</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/jaspersoft-studio-freezes-when-running-reports-with-html5-charts-r5014/</link><description><![CDATA[<p><strong>Scenario:</strong></p><p>You've created a report that includes an HTML5 chart. When trying to preview it in the studio the entire studio freezes and doesn't seem to do anything and you have to force shut down it.</p><p><strong>Solution:</strong></p><p>There may be a few sources of this problem. Try to eliminate them one by one:</p><ol><li><p>Re-download and re-apply the license</p></li><li><p>Re-run studio with the -clean flag as described here: <a rel="" href="https://community.jaspersoft.com/documentation/jaspersoft%C2%AE-studio/tibco-jaspersoft-studio-user-guide/v900/jss-user-_-config-clean/">https://community.jaspersoft.com/documentation/jaspersoft%C2%AE-studio/tibco-jaspersoft-studio-user-guide/v900/jss-user-_-config-clean/</a></p></li><li><p>Try to explicitly configure the headless browser. To do so, configure the  chrome executable property net.sf.jasperreports.chrome.executable.path in Window &gt; Preferences &gt; Jaspersoft Studio &gt; Properties to point to local installation of Chrome</p><p></p></li></ol>]]></description><guid isPermaLink="false">5014</guid><pubDate>Thu, 30 Apr 2026 19:08:42 +0000</pubDate></item><item><title>Report Books are empty after publishing from TIBCO Jaspersoft&#xAE; Studio 6.4.0</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/report-books-are-empty-after-publishing-tibco-jaspersoft-studio-640/</link><description><![CDATA[<p></p><h2>Issue:</h2><p>After creating a Report Book and publishing it to the TIBCO JasperReports<span class="ipsEmoji">®</span> Server, the Report Book is published successfully but after opening the Report Book, the message <strong>"Report is empty"</strong> is displayed instead of the actual contents. The sample Report Book,<em> BookReport.jrxml</em> provided as part of the sample project <em>JasperReportsSamples </em>also has this problem. </p><p>When connecting to the server repository and looking at the published report book's source code (main.jrxml) in TIBCO Jaspersoft<span class="ipsEmoji">®</span> Studio, it is noticed that there were parts missing. </p><p>The version of TIBCO Jaspersoft<span class="ipsEmoji">®</span> Studio is 6.4.0.</p><p> </p><hr><p> </p><h2>Solution:</h2><p>The issue is a known defect in TIBCO Jaspersoft<span class="ipsEmoji">®</span> Studio is 6.4.0 which is related to the following incident :</p><p> </p><p>JSS-1615: Workbooks from the server cannot be opened in JSS 6.4.0 </p><p> </p><p> The solution is to download TIBCO Jaspersoft<span class="ipsEmoji">®</span> Studio 6.4.2 or greater to resolve this issue. </p>]]></description><guid isPermaLink="false">3538</guid><pubDate>Tue, 27 Aug 2019 07:35:52 +0000</pubDate></item><item><title>Domain Designer unable to display UUID type fields when using Virtual Data Source</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/domain-designer-unable-display-uuid-type-fields-when-using-virtual-data-source/</link><description><![CDATA[<h2>Issue:</h2><p>Users are unable to see the UUID type fields within the Domain Designer whenever Virtual Data Source is used. </p><p>Enabling DEBUG for <em>VirtualDataSourceQueryService</em> captures the DDL with the uuid column (id) :</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>2019-07-24 14:22:38,589 DEBUG VirtualDataSourceQueryService,http-nio-8080-exec-16:253 - DDL FOR -1358264201 - Crim_DS_public :
CREATE FOREIGN TABLE applied_cd ( id object NOT NULL OPTIONS (NAMEINSOURCE '"id"', NATIVE_TYPE 'uuid'),</code></pre><p>But the Domain Designer does not display the uuid column/s. There are no errors generated in the log.</p><p>Note that when creating a domain using JDBC data source, the UUID columns are displayed.</p><p> </p><hr><h2> </h2><h2>Solution:</h2><p>For Virtual Data Source, SQL queries are validated against TEIID SQL and TEIID sees UUID fields as Objects.</p><p>We need to perform a mapping to map the object type to string.</p><p>In TIBCO JasperReports<span class="ipsEmoji">®</span> Server version 9.0, edit the file..<strong>./WEB-INF/applicationContext-jdbc-metadata.xml </strong></p><p>and add the following mapping to bean "<em>jdbcMetaConfiguration</em>" under <em>&lt;property name="jdbc2JavaTypeMapping"&gt;</em> :</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>&lt;entry key="JAVA_OBJECT" value="java.lang.String"/&gt;</code></pre><p><strong>Note 1</strong>: This change requires a restart of the TIBCO JasperReports Server. </p><hr><p>ref: 01788075</p>]]></description><guid isPermaLink="false">3534</guid><pubDate>Wed, 21 Aug 2019 06:33:33 +0000</pubDate></item><item><title>java.io.NotSerializableException error when importing resources</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/javaionotserializableexception-error-when-importing-resources/</link><description><![CDATA[<div class="ipsRichText__table-wrapper"><table style="min-width: 967px;"><colgroup><col style="width:947px;"><col style="min-width:20px;"></colgroup><tbody><tr><td colspan="1" rowspan="1"><h2>Situation:</h2><p>You try to import the exported repository but get <strong><em>java.io.NotSerializableException</em></strong> error. Excerpt of the error:</p></td><td colspan="1" rowspan="1"><p></p></td></tr></tbody></table></div><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>ERROR HibernateDaoImpl,pool-14-thread-4:114 - ************** HibernateDaoImpl.executeWriteCallback EXCEPTION **********
org.springframework.orm.hibernate3.HibernateSystemException: could not serialize; nested exception is org.hibernate.type.SerializationException: could not serialize...
Caused by: org.hibernate.type.SerializationException: could not serialize...
Caused by: java.io.NotSerializableException: com.jaspersoft.jasperserver.export.modules.common.rd.DateRangeDTO...</code></pre><h2>Solution:</h2><p>This usually happens when there are saved report options for certain controls that do not exist anymore or don't have that value as an option available.</p><p>The solution would be to unzip the repository archive,</p><p>Search for<strong><em> com.jaspersoft.jasperserver.export.modules.common.rd.DateRangeDTO </em></strong>and find the XML's describing these report option objects.</p><p>Save the list of these objects.</p><p>Remove their mentions from .folder.xml files of the folders where these resources are located.</p><p>Re-zip your archive and try to re-import.</p><p> </p>]]></description><guid isPermaLink="false">2984</guid><pubDate>Wed, 16 May 2018 22:09:25 +0000</pubDate></item><item><title>Tomcat 9.0.1 server connector implementing HTTP/2 upgrade protocol generates a StackOverflowError error</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/tomcat-server-connector-implementing-http2-upgrade-protocol-generates-stackoverflowerror-error/</link><description><![CDATA[<p></p><h2>Issue:</h2><p>We have configured Tomcat 9.0.1 to use the APR/native connector with HTTP/2 upgrade protocol. Upon testing our main and drill down reports, the main report shows loading and again the "<em>You must apply input values before the report can be displayed</em>." message appears. In the catalina log file, we observed that the following <em>StackOverflowError </em>error was captured : </p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>01-Jun-2021 08:58:24.531 SEVERE [https-openssl-apr-443-exec-10] org.apache.coyote.AbstractProtocol$ConnectionHandler.process Error reading request, ignored
 java.lang.StackOverflowError
    at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:66)
    at org.apache.coyote.http2.AbstractStream.isDescendant(AbstractStream.java:70)
    ...

</code></pre><p> </p><p>The<em> &lt;TOMCAT&gt;/conf/server.xml </em>has the following connector configuration:</p><p> </p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>    &lt;Connector port="443" protocol="org.apache.coyote.http11.Http11AprProtocol"
               maxThreads="150" SSLEnabled="true" maxHttpHeaderSize="65536" &gt;
        &lt;UpgradeProtocol className="org.apache.coyote.http2.Http2Protocol" writeTimeout="60000" readTimeout="60000" keepAliveTimeout="60000"/&gt;
        &lt;SSLHostConfig&gt;
            &lt;Certificate certificateKeyFile="conf/localhost-rsa-key.pem"
                         certificateFile="conf/localhost-rsa-cert.pem"
                         certificateChainFile="conf/localhost-rsa-chain.pem"
                         type="RSA" /&gt;
        &lt;/SSLHostConfig&gt;
    &lt;/Connector&gt;</code></pre><p> </p><hr><p> </p><h2>Solution:</h2><p>The issue is related to a HTTP/2 bug that is fixed in Tomcat version 9.0.2.</p><p>Refer to:</p><p><em>Bug 61682 - StackOverflowError while executing HTTP/2 Server Push</em></p><p>(<a rel="external nofollow" href="https://bz.apache.org/bugzilla/show_bug.cgi?id=61682">https://bz.apache.org/bugzilla/show_bug.cgi?id=61682</a>)</p><p>All fixes for Tomcat 9.0.x are listed in the change log :</p><p><a rel="external nofollow" href="https://tomcat.apache.org/tomcat-9.0-doc/changelog.html">https://tomcat.apache.org/tomcat-9.0-doc/changelog.html</a></p><p>In order to overcome the specific error, upgrading to Tomcat 9.0.2 or above is required. </p><p><strong>Note: </strong>If running on Tomcat 8.5, then the error is fixed in Tomcat 8.5.24 and above. (<a rel="external nofollow" href="https://tomcat.apache.org/tomcat-8.5-doc/changelog.html">https://tomcat.apache.org/tomcat-8.5-doc/changelog.html</a>)</p><p> </p><p> </p>]]></description><guid isPermaLink="false">4026</guid><pubDate>Thu, 03 Jun 2021 02:55:39 +0000</pubDate></item><item><title>Running Crosstab reports incurs "infinite loop" error</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/running-crosstab-reports-incurs-infinite-loop-error/</link><description><![CDATA[<p></p><h2>Issue:</h2><p>Running certain crosstab reports can result in the following error:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>ERROR AsyncJasperPrintAccessor,pool-6-thread-4:321 - Error during report execution 
net.sf.jasperreports.engine.JRRuntimeException: Crosstab has not printed anything on 3 consecutive pages, likely infinite loop. </code></pre><h2>Solution:</h2><p>This is a defect reported in JRL-1249 and will be fixed in JasperReports<sup><span class="ipsEmoji">®</span></sup> Server 7.1.</p><p>The workaround is to set the following property in the ../classes/jasperreports.properties file:</p><pre spellcheck="" class="ipsCode language-plaintext" data-language="Plain Text"><code>net.sf.jasperreports.legacy.element.stretch.enabled=true
</code></pre><p>followed by a restart of the JasperReports<span class="ipsEmoji">®</span> server.</p><p><strong><em>Note</em></strong>: This issue affects versions 6.2.2 and higher.</p><hr><p><strong><u>Related Article:</u></strong></p><p>JRL-1249: Crosstab infinite loop error</p>]]></description><guid isPermaLink="false">2956</guid><pubDate>Fri, 13 Apr 2018 06:51:16 +0000</pubDate></item><item><title>HTML5 chart Category label expression disappears after deploying report through studio</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/html5-chart-category-label-expression-disappears-after-deploying-report-through-studio/</link><description><![CDATA[<h2>
	Situation:
</h2>

<p>
	You have developed an HTML5 chart with a category label expression. After deploying the report to the TIBCO JasperReports<sup>®</sup> Server through TIBCO JasperSoft<sup>®</sup> Studio the category label expression does not appear. What to do?
</p>

<hr />
<h2>
	Solution:
</h2>

<p>
	This may be related to a bug that was fixed in newer versions. If you encounter this problem, try to upload the report using the JasperReports<sup>®</sup> Server UI instead.
</p>

<ol>
	<li>
		In JasperReports Server, edit the report.
	</li>
	<li>
		In first Set Up tab upload a local JRXML file. Point it to the the source code of your report
	</li>
	<li>
		Save and run the report
	</li>
</ol>
]]></description><guid isPermaLink="false">3250</guid><pubDate>Wed, 28 Nov 2018 00:05:09 +0000</pubDate></item><item><title>TIBCO JasperReports&#xAE; Server installation failed with error "Registry editing has been disabled by your administrator"</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/tibco-jasperreports-server-installation-failed-error-registry-editing-has-been-disabled-your/</link><description><![CDATA[<h2>
	Issue:
</h2>

<p>
	When running the js-install script, it is failing with the error "<strong>Registry editing has been disabled by your administrator</strong>" followed by the following errors: 
</p>

<pre class="ipsCode prettyprint lang-auto prettyprinted">C:\Jaspersoft\TIB_js-jrs_7.1.1_bin\jasperreports-server-pro-7.1.1-bin\buildomatic&gt;js-install.bat minimal 
The system cannot find the file specified. 
The system cannot find the file specified. 
Could Not Find C:\Users\&lt;username&gt;\AppData\Local\Temp\3\_TEMP.REG 
=1-4* was unexpected at this time. </pre>

<p>
	We have locked down servers and it is unlikely that we can get registry editing permissions. 
</p>

<p>
	How can we overcome this and complete the installation ?
</p>

<p>
	 
</p>

<hr />
<h2>
	 
</h2>

<p>
	Solution:
</p>

<p>
	The installer needs to execute regedit for this reason explained in this article:
</p>

<p>
	"<em>TIBCO JasperReports® Server installer's usage of Windows Registry (Regedit)</em>" (See Related Article 1)
</p>

<p>
	It is best to allow the permission to edit the registry which can be guided in this article:
</p>

<p>
	"<em>How to Re-enable Windows Registry Editor when it is Disabled by Virus or Administrator</em>" (See Related Article 2)
</p>

<p>
	If this cannot be done, then you can follow Related Article 1 to customize the install scripts so that it doesn't call regedit but bear in mind the consequences of doing so, which is, "the result is that your log's file name might not be formatted to your system's exact day time and format."
</p>

<p>
	 
</p>

<h4>
	Related Articles:
</h4>

<p>
	1.  <a href="https://community.jaspersoft.com/wiki/tibco-jasperreports-server-installers-usage-windows-registry-regedit" rel="">https://community.jaspersoft.com/wiki/tibco-jasperreports-server-installers-usage-windows-registry-regedit</a>
</p>

<p>
	 
	</p><p>
		 
	</p>

]]></description><guid isPermaLink="false">3533</guid><pubDate>Wed, 21 Aug 2019 05:59:38 +0000</pubDate></item><item><title>Firefox 68 having issue with Ad Hoc drop down list selection</title><link>https://community.jaspersoft.com/knowledgebase/troubleshooting/firefox-68-having-issue-ad-hoc-drop-down-list-selection/</link><description><![CDATA[<h2>
	Issue:
</h2>

<p>
	After upgrading Firefox browser to version 68.0.x, users have an issue with making a selection from the drop-down menu in the Ad Hoc View Panel.
</p>

<p>
	<a class="ipsAttachLink ipsAttachLink_image" data-fileext="png" data-fileid="90858" href="//media.invisioncic.com/i328763/monthly_2019_07/firefox.png.47e7b166ba498f4e5c690ff6f81fca94.png" rel=""><img alt="firefox.png.47e7b166ba498f4e5c690ff6f81fca94.png" class="ipsImage ipsImage_thumbnailed" data-fileid="90858" style="height:auto;" src="//media.invisioncic.com/i328763/monthly_2019_07/firefox.png.47e7b166ba498f4e5c690ff6f81fca94.png" loading="lazy"></a>
</p>

<p>
	The values cannot change when clicking on the drop down list.
</p>

<hr>
<h2>
	Solution:
</h2>

<p>
	This is a client side defect that was reported in the following incident:
</p>

<ul>
	<li>
		<em>JS-34685: Dropdown in Ad Hoc View not working with Firefox v.68</em>
	</li>
</ul>

<p>
	This defect is fixed in the major release, TIBCO JasperReports 7.5, which is available for download via TIBCO eDelivery. 
</p>

<p>
	Until a fix is in place, the workarounds available are:
</p>

<ol>
	<li>
		<p>
			Use a different internet browser such as Chrome or Internet Explorer.
		</p>
	</li>
	<li>
		<p>
			Use the UP/DOWN arrow keys from the keyboard to make the selection.
		</p>
	</li>
</ol>

<p>
	<span style="color:#c0392b;">You can also import attached theme. This introduced CSS fix metioned in the comment section below</span>
</p>

<p>
	<a class="ipsAttachLink" data-fileext="zip" data-fileid="130686" href="https://community.jaspersoft.com/applications/core/interface/file/attachment.php?id=130686&amp;key=622a5de4399c771289fa320e0946eaed" rel="">default_theme_720_js-34685.zip</a>
</p>
]]></description><guid isPermaLink="false">3522</guid><pubDate>Mon, 29 Jul 2019 03:45:42 +0000</pubDate></item></channel></rss>
