Jump to content
We've recently updated our Privacy Statement, available here ×

vchiem

Members
  • Posts

    443
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by vchiem

  1. It does sound like setting up user attributes can help. The documentation for this would be in the Admin guide : https://community.jaspersoft.com/documentation/tibco-jasperreports-server-administrator-guide/v750/managing-attributes if you can bear the 6.x mins or so, there is a video on it: https://community.jaspersoft.com/wiki/video-using-attributes-enforce-row-level-security-tibco-jasperreports-server
  2. Not sure what charting solution is being used but if you were to use HTML5 Charts then you can set a property: plotOptions.series.dataLabels.rotation (with a rotation value in degrees) to rotate the data labels. Here is a fiddle sample using this api: http://jsfiddle.net/gh/get/library/pure/highcharts/highcharts/tree/master/samples/highcharts/plotoptions/series-datalabels-rotation/
  3. In 7.5.x and onwards there are changes as described in this article. This impacts on the export and import between 7.5+ environments. https://community.jaspersoft.com/wiki/encryption-jasperreports-server-75
  4. You can restrict the menu item based on roles. The menu item for Library would refer to <context name="main_library_mutton"/> in file <js-webapp>/WEB-INF/actionModel-navigation.xml Here is more information: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-ultimate-guide/v710/restricting-access-role
  5. This error "java.io.IOException: No space left on device" means you are running out of disk space where the java process is creating the files....maybe tmp dir
  6. The second error points to an issue with themes. A fresh install should not have this problem when it installs the default active theme. It is hard to tell where it may have gone wrong with the current information but it is best to check the js-install log that was generated when js-install script was ran. Before running this script, the tomcat appserver should have been stopped and post install, tomcat work and temp directory contents should have been cleared.
  7. One situation where this can happen is if you use a Studio version to publish to an older JR Server version. See these articles: https://community.jaspersoft.com/wiki/studio-750-publishing-problem-when-using-older-version-jrs-illegalparametervalueerror https://community.jaspersoft.com/wiki/studio-error-illegalparametervalueerror-when-you-have-textfield-isstretchwithoverflow-true
  8. Maybe this article would help: https://community.jaspersoft.com/wiki/html5-bar-chart-how-add-percent-sign-datalabel-and-change-its-font-size
  9. A lot depends on how the upgrade is done but the home page does not look like the default theme for version 7.1. The default theme needs to be imported back into 7.1 from another vanilla 7.1 instance which does not have this issue and this theme needs to be made active.
  10. Usually the default is 200000 but you can easily check this value in the Server Settings -> Ad Hoc Settings page. The default limit is the best limit but it is tunable as per your requirements.
  11. Issue:We need to concatenate two fields 'firstname' and 'lastname' into one field using Jaspersoft MongoDB Query language. How can this be achieved ? Solution:The following MongoDB Reference: https://docs.mongodb.com/manual/reference/operator/aggregation/concat/index.html has usages on how to perform a concatenation of string fields. You can use the $concat operator within the aggregate operator. Example for TIBCO JasperReports Server version 7.5: { collectionName : 'address', aggregate : [ { $project : { fullname : { $concat: [ "$firstname", " - ", "$lastname"] } } } ] }[/code] Related Articles:https://community.jaspersoft.com/wiki/jaspersoft-mongodb-query-language
  12. Start by looking at the Installation Guide downloadable from the community docs section.
  13. The error is too generic. It has a reference to the UID code: UID: c9797a60-de01-4118-93a2-7ca77d09c955 You can look up this code to cross reference any further error messages in the ../WEB-INF/logs/jasperserver.log that can lead to the cause of the problem.
  14. The Oracle native driver versus the TIBCO Oracle driver can behave differently when it comes to VDS and importing the schema. When using Oracle native driver, synonyms don't work in system schema but for TIBCO driver, system schema is not displayed. It is worth switching to the TIBCO driver to see if you are getting a different error message or none at all. When using the TIBCO oracle jdbc driver,append "CatalogOptions=0" to the URL connection string. For example: jdbc:tibcosoftware:oracle://172.17.17.178:1521;SID=ORCL;CatalogOptions=0
  15. Try testing with the provided TIBCO Oracle jdbc driver instead. Append "CatalogOptions=0" to the URL connection string. For example: jdbc:tibcosoftware:oracle://172.17.17.178:1521;SID=ORCL;CatalogOptions=0 Then create yout virtual data source after this.
  16. Issue:Upon importing a catalog the follow error was encountered: 2020-09-14 17:43:48,476 ERROR ImportRunnable,pool-14-thread-12:78 - Import failed: com.jaspersoft.jasperserver.export.service.ImportFailedException: Import failed. Reason: error getting schema...Caused by: com.jaspersoft.jasperserver.api.JSProfileAttributeException: Substitution error in resource /organizations/MYORGANIZATION/Domains/lm/Learning_files/Learning.xml, field . Attribute 'User_xxxxx' is not defined in the Entire hierarchy.[/code] Solution:The error is based on a non-existent attribute, 'User_xxxxx'. Add the profile attribute to the 'superuser' account prior to importing the catalog file since 'superuser' was the user whom performed the import.
  17. Issue:We are trying to export and import reports with scheduled jobs between different TIBCO JasperReports® Server environments of the same version. For one specific report with a scheduled job, the following error was thrown upon importing: 2020-09-09 11:20:39,311 ERROR ImportRunnable,pool-14-thread-1:78 - Import failed: com.jaspersoft.jasperserver.export.service.ImportFailedException: Import failed. Reason: provided zip file is not valid JasperReports Server export file.[/code] However, when the report was exported without the scheduled job included, the import was successful. What can be the reason for this error ? Solution: The error message is an indication that the exported zip file does not have the structure expected for the import to successfully import the catalog. After analyzing the contents of the exported zip file, the cause was identified to be due to a corrupted scheduled job. Upon inspecting the path structure in the zip file, for this specific job it has the following path: ..reportJobsorganizationsAT08_SALES_TEST This is not aligned with the organization name referenced in the other paths. It should be 'AT10_SALES_TEST' and not 'AT08_SALES_TEST'. How the scheduled job got to this corrupted state is unknown but it was in a Disabled state with a jobid of 3 so it is possible the scheduled job itself had a problem. A corrupted scheduled job leads to a corrupted file structure of the exported catalog and the import failed to process. The suggestion is to import the report without the scheduled job and then re-create the scheduled job in the target environment. ref: 01891998
  18. Issue:After carrying out an upgrade from TIBCO JasperReports® Server 7.1 to TIBCO JasperReports® Server 7.8, the Server Attributes that were present in TIBCO JasperReports® Server 7.1 under Sever Settings -> Attributes are no longer present in TIBCO JasperReports® Server 7.8. The following commands were used during the upgrade process: Export: js-export.sh --everything --output-zip js-7.1-EXPORT.zipORjs-export.sh --everything --include-attributes --output-zip js-7.1-exportwithattributesflag.zip[/code]For both the above commands, we inspected the exported catalog file and the organization.xml within the zip file does contain the Server Attributes. Running the upgrade script: js-upgrade-newdb.sh js-7.1-export.zipORjs-upgrade-newdb.sh js-7.1-exportwithattributesflag.zip[/code]The upgrade script ran successfully with no errors but after logging into TIBCO JasperReports® Server 7.8.0, the "Server Attributes" page under the "Server Settings" does not contain any of the server attributes. Note: This issue may also be present when upgrading from and to varying TIBCO JasperReports® Server releases. Solution:The issue has been logged as a defect with reference: JS-59479: Server Attributes are not upgraded after running js-upgrade-newdb.bat/.sh Until there is a fix to the upgrade script, the following workaround is available. Workaround: The workaround is to manually export and import the server attributes only. 1> In the source environment, only export the server attributes with the --include-attributes option. This will generate a very small export catalog file. Example: js-export.sh --include-attributes --output-zip js-7.1-exportwithattributesflagonly.zip 2> Log into the upgraded target environment as 'superuser' and go to Server Settings -> Import and import this zip file. After this you should see the server attributes imported. Note: For TIBCO JasperReports® Server version 7.8, when you import a catalog created from a release pre-7.5.0, select the radio button "Legacy Key".
  19. I am guessing this is exporting between environments running JR version 7.5. In version 7.5 we introduced cryptology which impacts on the way export and import works. One quick way to export and import between 7.5.x environments is to use a secret key where you have to use the command line to run the export in the source environment to generate a secret key and then use that secret key to import into the target environment. Heres the section in the guide pertaining to this: https://community.jaspersoft.com/documentation/tibco-jasperreports-server-security-guide/v7/managing-keys-import-and-export For the export, the --genkey option will generate a secret key. This is the secret key needed to do import. This is just one option..there are other setups involving the keystore files .
  20. Its best to check the OS platform that is certified against the release. Likely that ETL Studio 7.1 was not certified against Catalina. https://help.talend.com/reader/vYuWjc8ouGkS4AAur6BEDg/BBjmSo4gwdjeprS89kyiPw
  21. From Jaspersoft Studio guide: For JasperReports to retrieve data and fill the subreport, you have to set the subreport data source. The following options are available: • Use the same connection used to fill the master report – Select this to use the same JDBC data adapter for the master report and the subreport. The JDBC connection is passed to the subreport to execute it Use another connection – Select this to specify a different JDBC data adapter for the subreport. • Use a JRDataSource expression – Select this to use a JRDataSource object to fill the subreport. • Use an empty datasource and if you have any parameters then: To pass parameters from the master report to a subreport, you create a set of parameter name/object pairs that feed the parameters map of the subreport. To do this, click the Edit Parameters button on the Subreport tab of the Properties view to open the Subreport Parameters dialog.
  22. Issue:We are trying to work out how to calculate the crosstab bucket measure size for a Crosstab report designed in TIBCO Jaspersoft® Studio so that it can help in setting the net.sf.jasperreports.crosstab.bucket.measure.limit property. How can this be achieved ? Solution: The formula to calculate the crosstab bucket measures is: For JRXML Crosstab reports (number of crosstab rows) x (number of crosstab columns) x (number of user-defined measures) For Ad Hoc Crosstab reports (number of crosstab rows) x (number of crosstab columns) x (number of user-defined measures + 1) Note: The (measures + 1) formula applies to Ad Hoc Crosstab reports because it has an additional measure created internally. In TIBCO JasperReports® Server 7.5.0 and above, there is a new logger component which can be added to the "Log Settings" page to enable the TIBCO JasperReports® Server engine to calculate the size of the crosstab bucket measures and log these counts in the jasperserver.log file. In order to see the crosstab bucket measure values, debug logging needs to be enabled for the following component : net.sf.jasperreports.crosstabs.fill.calculation.CrosstabBucketingService Sample 1 - BucketLimit.jrxml: The following is a sample of the entries that would be logged to the jasperserver.log: 08:02:38:913 [main] DEBUG calculation.CrosstabBucketingService - crosstab has 165 row buckets, 234 column buckets and 5 measures 08:02:38:913 [main] DEBUG calculation.CrosstabBucketingService - bucket measure count is 193050, limit 0 08:02:39:895 [main] DEBUG calculation.CrosstabBucketingService - crosstab has 165 row buckets, 234 column buckets and 5 measures 08:02:39:895 [main] DEBUG calculation.CrosstabBucketingService - bucket measure count is 193050, limit 0 08:02:40:646 [main] DEBUG calculation.CrosstabBucketingService - crosstab has 198 row buckets, 234 column buckets and 5 measures 08:02:40:646 [main] DEBUG calculation.CrosstabBucketingService - bucket measure count is 231660, limit 0 Note: The bucket measure value is computed per crosstab instance, and not for the whole report. If the report has a crosstab in a group footer that repeats three times, then there will be three crosstab instances, each with its own bucket counts. Sample 2 - CrosstabBucket.jrxml : For the sample report, CrosstabBucket.jrxml, the engine detected 15 crosstab instances. After setting debug, for the 15th (last) instance, the following values were computed: 2020-08-12T12:55:33,864 DEBUG CrosstabBucketingService,pool-6-thread-1:110 - crosstab has 3109 row buckets, 6 column buckets and 10 measures 2020-08-12T12:55:33,866 DEBUG CrosstabBucketingService,pool-6-thread-1:113 - bucket measure count is 186540, limit 100000 The 15th crosstab's output is attached after exporting to XLSX and you can see from the number of rows that the value 3109 is accurate. The number of columns is based on the months per SubGeography. Related Articles: JS-34784: add debug log with crosstab bucket measure values
  23. Studio can open jrxml files and has a Preview feature to output types of pdf, html, java, xls etc According to the latest Platforms Support Guide for JasperReports version 7.8.0, MacOS 10.15 is supported. Any versions prior to 7.8.0 does not support 10.15.
  24. You can try and install it on Windows 2016 and bear the risk of any issues but it is always best to install on a certified platform. Its certified up to Win 2012 as per the Supported Platforms guide.
  25. Issue:What is the purpose of the "Minimum Details To Start From Top" property that is found in the group footer ? In TIBCO JasperSoft® Studio, when hovering over this property, the tooltip has the following description : "Minimum number of details to be rendered on the current column, to avoid starting the group on a new column". Solution: The property minDetailsToStartFromTop is the minimum number of details to be rendered on the current column/page, to avoid starting the group on a new column/page. This would help make sure groups do not start too low on the page and at least a specified number of detail records fit into the remaining space.
×
×
  • Create New...