Skip to main content

Appendix A - Configuration Settings


#-------------------------------------------------------------------------------------
# This file contains the configuration parameters to execute a JasperServer job.
#-------------------------------------------------------------------------------------

[ConnectionDetails]
JasperServerProtocol=http
JasperServerIPAddress=192.168.68.128
JasperServerPort=8080
JasperServerDomain=jasperserver
JasperServerUser=jasperadmin
JasperServerPassword=jasperadmin
JasperServerTimeout=120000
JasperServerLogin=/rest_v2/login
JasperServerResources=/rest_v2/resources
JasperServerReports=/rest_v2/reports
UseResourceFormatForVersion7=true

[ReportDefaults]
ReportDirectory=/reports/samples/
OutputFileFormat=pdf

Configuration Table

SectionNameDescription
ConnectionDetailsJasperServerProtocolThis must be http or https.
ConnectionDetailsJasperServerIPAddressThis is the I.P. address to connect to the Corelation server.
ConnectionDetailsJasperServerPortThis is the port (socket) on which JasperServer is listening for connections.
ConnectionDetailsJasperServerDomainThis must be either jasperserver or jasperserver-pro.
ConnectionDetailsJasperServerUserThis is user credentials to use to log into the Jasper Report server. superuser appears to be the only user that has sufficient privileges to connect to the web service.
ConnectionDetailsJasperServerPasswordThis is the password of the Jasper User specified above. Alternately, this can be the path and filename to an encrypted file (See SMACreateCorelationPassword)
ConnectionDetailsJasperServerTimeout (see note)This is the maximum number of milliseconds to wait for the report creation and to wait for the download of the report file.
ConnectionDetailsJasperServerLoginThis is a portion of the URI that will be constructed for the login request. It should not be changed unless directed by SMA.
ConnectionDetailsJasperServerResourcesThis is a portion of the URI that will be constructed for the resources request. It should not be changed unless directed by SMA.
ConnectionDetailsJasperServerReportsThis is a portion of the URI that will be constructed for the reports request. It should not be changed unless directed by SMA.
ConnectionDetailsUseResourceFormatForVersion7Versions of JasperServer prior to version 7 used a different format for resources (input controls).
ReportDefaultsReportDirectory (see note)This is the path to the report (not including the name of the report.) It must be terminated by a forward slash. (See “Appendix C – Jasper Screen Shots” to see how to determine the report path.)
ReportDefaultsOutputFileFormat (see note)This is the format used to create the output file. The supported formats are pdf, csv, xls, jrprint, html, xlsx, rtf, xml, docx, odt, ods.
Note

This configuration file parameter can be overridden from the command line.