JasperServer Admin Guide
JasperServer Admin Guide
ADMINISTRATOR GUIDE
RELEASE 3.7
http://www.jaspersoft.com
JasperServer Administrator Guide
© 2010 Jaspersoft Corporation. All rights reserved. Printed in the U.S.A. Jaspersoft, the Jaspersoft logo, JasperAnalysis,
JasperServer, JasperETL, JasperReports, JasperStudio, iReport, and Jasper4 products are trademarks and/or registered
trademarks of Jaspersoft Corporation in the United States and in jurisdictions throughout the world. All other company and
product names are or may be trade names or trademarks of their respective owners.
This is version 0110-JSP37-7 of the JasperServer Administrator Guide.
2
Table of Contents
TABLE OF CONTENTS
1 Introduction to JasperServer Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1 Overview of Organizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1.1 Single Default Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1.2 Multiple Organizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.1.3 Delegated Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.2 Overview of the Repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.1 Folder Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.2 Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1.2.3 Sample Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1.3 Overview of Users and Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.4 Logging In . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.4.1 Single Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1.4.2 Multiple Organizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.4.3 JasperServer Heartbeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1.5 Administrator Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
3 Repository Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.1 Managing Folders and Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.1.1 Creating a New Folder . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.1.2 Adding Resources to the Repository . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.1.3 Renaming a Folder or Resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.1.4 Viewing a Report or Dashboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.1.5 Modifying an Ad Hoc Report or Dashboard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.1.6 Editing a Resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3
JasperServer Administrator Guide
4 Import/Export . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.1 Importing Repository Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.2 Exporting Repository Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.3 Encrypting the Repository Database Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
5 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
5.1 Configuring Password Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
5.1.1 Enabling Password Expiration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
5.1.2 Allowing Users to Change their Passwords . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46
5.2 Changing the Login Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
5.3 Ad Hoc Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
5.3.1 Ad Hoc Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
5.3.2 Managing the Ad Hoc Cache . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
5.3.3 Configuring Dataset Expiration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
5.4 Disabling the Domain Validation Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.5 Configuring JasperReports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
5.5.1 Extending JasperReports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.5.2 Changing the Crosstab Limit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.5.3 Setting a Global Chart Theme . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
5.6 Configuring the Heartbeat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5.7 Removing Report Scheduling Interval Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
5.8 Special Domain Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.8.1 Enabling Oracle Synonyms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
5.8.2 Enabling CLOB Fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
5.8.3 Enabling Proprietary Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5.9 Custom Data Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5.9.1 Data Sources in JasperServer and JasperReports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5.9.2 JasperServer Data Sources and Query Executors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.9.3 Overview of the Example Custom Data Sources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56
5.9.4 Prerequisites and Installation of the Example Custom Data Sources . . . . . . . . . . . . . . . . . 57
5.9.5 Creating a Custom Data Source . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
4
Table of Contents
6 Auditing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.1 Audit Events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
6.2 Configuring Auditing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.2.1 Enabling Auditing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.2.2 Archive Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
6.2.3 Events and Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.3 Using the Audit Domains . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.3.1 Domain Items . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
6.3.2 Sample Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.4 Importing and Exporting Audit Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
9 Localization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
9.1 UTF-8 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
9.1.1 Tomcat . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
9.1.2 JBoss . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
9.1.3 MySQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
9.1.4 Oracle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
9.2 Creating a Locale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
9.2.1 About Properties Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
9.2.2 Creating a Resource Bundle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
9.2.3 Changing Format Masks and Date Formats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
9.3 Configuring JasperServer to Offer a Locale . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
9.3.1 Specifying Additional Locales . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
5
JasperServer Administrator Guide
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
6
Introduction to JasperServer Administration
JasperServer builds on JasperReports as a comprehensive family of Business Intelligence (BI) products, providing robust
static and interactive reporting, report server, and data analysis capabilities. These capabilities are available as either stand-
alone products, or as part of an integrated end-to-end BI suite utilizing common metadata and providing shared services, such
as security, a repository, and scheduling. JasperServer exposes comprehensive public interfaces enabling seamless integration
with other applications and the capability to easily add custom functionality.
The heart of the Jaspersoft BI Suite is JasperServer, which provides the ability to:
Easily create new reports using an intuitive web-based drag and drop Ad Hoc reporting interface.
Efficiently and securely manage many reports.
Interact with reports, including entering parameters and drilling on data.
Arrange reports and web content to create appealing, data-rich dashboards that quickly convey business trends.
For creating analysis views and OLAP client connections, Jaspersoft offers JasperAnalysis, which runs on JasperServer. This
optional component is described in the separate JasperAnalysis User Guide.
The core of the JasperServer architecture is the repository that stores the reports, dashboards, analysis views, and all the
resources these depend upon. Users have a password protected user account, and once logged in, they run report, dashboards,
and analysis views from the repository. The repository has role-based permissions to control access to resources. When users
create reports and dashboards of their own in the designer tools, they save them in a writable folder of the repository.
This guide covers how to administer the users, roles, resources, and settings in JasperServer to ensure security and
performance. This guide also covers how to manage organizations and perform auditing of JasperServer, a new feature of this
release.
If you want to extend your knowledge of Jaspersoft BI software, our Ultimate Guides document advanced features and
configuration. They also include best practice recommendations and numerous examples. The guides are available as
downloadable PDFs. Community project users can purchase individual guides or bundled documentation packs from the
Jaspersoft online store. Professional and Enterprise customers can download them freely from the support portal.
This administrator guide describes features that are only available to users who have the administrator roles. Many of
the configuration procedures also assume you have unlimited access to the JasperServer host computer.
7
JasperServer Administrator Guide
8
Introduction to JasperServer Administration
Within the repository, each organization has its own branch, contained in a folder named after the organization. JasperServer
automatically restricts users’ view and access to the branch of the repository in their organization’s folder. Organization
admins can create any folder structure needed within the organization.
To mimic the hierarchical structure of organizations, each organization also contains a folder called Organizations where sub-
organizations are created, as shown in section Figure 1-2 on page 10.
1.2.2 Resources
Resources are stored in the repository and used as input for creating reports and performing analysis. Certain resources such as
images, fonts, or JRXML created in iReport are uploaded from files. Others such as data sources and Domains are created
within JasperServer. Of course, reports can also be saved in the repository to be run as often as needed, and output such as PDF
or HTML can be saved in the repository as well.
Each resource has a unique short name, a display name, and an optional description. As in a file system, the names of folders
containing the resource give the path to the object. Users locate resources in the repository by browsing through folders,
searching for keywords, or by filtering resources by type, date, etc. The repository displays the descriptions in listings or in
tooltips to help users understand the contents or purpose of a resource.
9
JasperServer Administrator Guide
Resources are stored in an internal format that is not accessible to users or administrators, although certain objects can be
downloaded to your file system in an output format such as XML. Any repository object may be exported to a file with the js-
export utility, but the resulting files are for backup or transfer to another JasperServer instance and cannot be modified.
JasperServer restricts access to folders and resources based on organizations, user names, and roles. The system admin and
organization admin can define permissions as explained in section 1.3, “Overview of Users and Roles,” on page 11.
Figure 1-2 System Admin and Organization Admin Views of the Same Sample Data
Every level of the organization hierarchy, including the system or root level, has a folder named Organizations to contain sub-
organizations. The left-hand view in Figure 1-2 shows the root of the Repository, as seen by the system admin. The
Organizations folder at the root contains the main folder for top-level organizations. In the sample data, there is only the
default organization named Organization. The right-hand view in the figure shows the Organization folder, as seen by the
organization admin who has no visibility outside of the Organization folder.
The Organizations folder always contains a folder named Folder Template. When a new organization is created, the entire
contents of Folder Template is copied to a new folder under Organizations and given the name of the new organization. In the
sample data, there is a Folder Template for top-level organizations, and one inside the default organization, for use in creating
sub-organizations. By default, both of these Folder Templates, contain the minimal folder structure required for new
organizations, namely a Topics folder under Ad Hoc Components and a Temp folder. The admin can add any folders or
resources to the Folder Template that will be used in subsequently created organizations.
The Public folder at the root is a special folder shared with all organizations. It is visible to every organization so that the
system admin can share certain resources in common, such as a data source, a company logo image, or a report template.
10
Introduction to JasperServer Administration
1.4 Logging In
The existence of multiple organizations changes how users log in on the welcome page.
11
JasperServer Administrator Guide
Administrators log in with this screen as well, using the following default passwords:
Username superuser and password superuser for the system admin.
Username jasperadmin and password jasperadmin for the organization admin.
For security reasons, always log in and change both administrator passwords immediately after installing
JasperServer. For instructions, see section 2.3, “Managing Users,” on page 19.
http://<server>:8080/jasperserver-pro/login.html http://<server>:8080/jasperserver-pro/login.html?
orgId=organization_1
To simplify the login for users who are always in the same organization, the organization ID may be specified in the URL of
the login page. When the organization ID is specified in the URL, JasperServer displays the simpler login dialog, as shown on
the right of Figure 1-4. Users can bookmark this URL to avoid entering the organization ID each time.
The system admin, superuser by default, must leave the organization name blank. When logging in as the system admin,
you must clear the Organization name from the login screen or from the login URL. To summarize, administrators log in with
the following credentials:
System admin – Organization field or URL blank, username superuser, and password superuser.
Organization admin (default organization) – Organization field or URL organization_1, username jasperadmin, and
password jasperadmin. If you have created other organizations, log in with their organization ID or alias, not their
display name.
For security reasons, always log in and change both administrator passwords immediately after installing
JasperServer. For instructions, see section 2.3, “Managing Users,” on page 19.
12
Introduction to JasperServer Administration
Figure 1-5 shows the About JasperServer link in the page footer. This link is available on every page to both users and
administrators and displays the product version number, as shown in the following figure:
The About JasperServer dialog also shows the software build, your license type, and its expiration. Please have this
information available if you need to contact Jaspersoft for support.
Administrator controls are accessible by clicking manage the app to open the Manage page or directly through the Manage
menu in the main menu bar.
13
JasperServer Administrator Guide
All possible administrator controls are available to the system admin. They include managing organizations, users, and roles,
as well as configuration options for analysis and the Ad Hoc Editor. For more information about the Ad Hoc settings, see
section 5.3, “Ad Hoc Configuration,” on page 47.
The organization admin is limited to managing the organizations, users, and roles of her organization and cannot access any
system configuration.
As shown in the figures above, certain administrator controls are available only through the Manage menu, notably
Manage > Organizations.
14
Organization, User, and Role Management
Administrators use the management interface to create the organizations in their deployment, if any, populate them with users,
and assign roles that they can later use to enforce access permissions to the repository. In the default, single organization
deployment, the administrator only needs to create users and roles.
In a deployment with multiple organizations, there can be administrators at every level of the hierarchy, as described in
section 1.1.3, “Delegated Administration,” on page 8. Part of any large deployment is to designate which administrators are
responsible for each specific task. For example, system administrators might set up the top-level organizations and default
roles, but each organization’s admin would then create and manage the users of that particular organization.
The interface in JasperServer for managing organizations, users, and roles accommodates all levels of administrators and
makes it easy for them to find hundreds of users and roles, whether in a single organization or spread across many. The
interface also enforces the scope of administrative privileges, for example so that an administrator can never see a role or user
from a parent organization.
This chapter contains the following sections:
Scope of Administrative Privileges
Managing Organizations
Managing Users
Managing Roles
15
JasperServer Administrator Guide
Administrators of deployments with a default single organization can generally skip this section. However, this
procedure can be used to change the display name of the default organization.
16
Organization, User, and Role Management
This interface includes all the controls for adding, editing, or deleting organizations. For convenience, there are also links
to the interfaces for managing users and roles. All controls operate on the organization that is currently selected in the
hierarchy of organizations.
Figure 2-1 above shows that the system admin can manage any organization or sub-organization in JasperServer. The tree
view on the left shows the hierarchy of organizations starting with the one to which your user belongs. The system admin
does not belong to any organization, and the container for all top-level organizations is called root.
Figure 2-2 shows how an organization admin is limited to managing his own organization hierarchy. In this case, the
admin of the Finance organization cannot access the HR or Operations organizations. Also, the Delete Organization
button is inactive when the admin’s own organization is selected.
3. To create a new organization, select the intended parent organization in the hierarchy, then click Add Organization....
The Add Organization dialog appears.
17
JasperServer Administrator Guide
The organization name is the display name of the organization. This name appears in the administration dialogs and
on the organization’s folder in the Repository.
The organization ID must be unique across all organizations. The dialog suggests an ID based on the organization
name you enter, but you may enter any unique value. The ID cannot be changed after the organization is created. The
organization ID appears in the login URL for users of this organization, as described in section 1.4, “Logging In,” on
page 11.
The organization alias is the name of organization that users can enter when logging in. It must also be unique among
all organizations, but it can be modified at any time.
The description is a short text describing the organization. The description is displayed to admins on the Manage
Organizations interface.
The text under each field explains any character restrictions within each value.
5. Click Create to create the organization.
The organization appears in the hierarchy on the left and can be further modified if necessary. New organizations contain:
No roles – The ROLE_ADMINISTRATOR and ROLE_USER are inherited from the system.
jasperadmin and joeuser – Two default users with default passwords.
For security reasons, always change both passwords immediately after creating new organizations. For
instructions, see section 2.3, “Managing Users,” on page 19.
A folder under the parent’s Organizations folder in the repository – The new folder has the organization’s display
name and contains a copy of the parent organization’s Folder Template folder.
6. To edit an organization’s information, select the organization in the hierarchy, then click Edit.
In the details frame on the right, the organization name and description become editable, with explanation text under each.
Changing the organization name changes the name of the main organization folder, the one that all organization users see
at the root of their view of the repository. The organization ID cannot be modified, it always has the value defined when
the organization is created. You can change the organization alias if you want to change the value that users enter when
they log in.
7. Click Save to keep any changes or Cancel to quit without saving your changes.
8. To delete an entire sub-organization, select the organization in the hierarchy, then click Delete Organization. You cannot
delete the organization to which your admin user belongs. When you confirm the deletion, all users, roles, folders of the
organization and any sub-organization it contains are removed from JasperServer.
18
Organization, User, and Role Management
Passwords are case sensitive. You should exercise the necessary security precautions, including changing your password
regularly. To configure password policies, refer to section 5.1, “Configuring Password Options,” on page 46.
If there are many users, the list of users has a scroll bar and paging controls at the bottom. Scroll and click Next and
Previous when necessary to see the entire list of users.
19
JasperServer Administrator Guide
Users are listed alphabetically, and multiple users with the same username may appear. In the figure above, several
organization have been created, and each has a jasperadmin user. A tooltip shows each user’s full name and organization.
To distinguish between organizations, the tooltip shows the hierarchy of organization names relative to your organization,
for example Organization.Finance.Audit in the figure.
3. To narrow the list of users or find a specific user, click on an organization, enter a search string, or both.
This list of users shows all users within the selected organization or any of its sub-organizations and whose username
contains the search string. Scroll and page through the new list, or refine your search.
4. Click on a username in the list of users at any time to see information about the user.
The details frame shows the username, display name, email address and roles if any. Profile attributes are special user
attributes that may only be added through the database and not through the Manage Users interface. The frame also shows
the status of the user, either enabled or disabled. Disabled users also appear in gray in the list of users.
As the admin of a given organization, you only see the roles defined in your organization or any sub-organization.
Except for certain special system-wide roles, any roles of parent organizations are not visible on a user. For more
information, see section 2.4, “Managing Roles,” on page 22.
This frame includes all the controls for editing, logging in as, or deleting the selected user. For convenience, there are also
links to manage each role.
5. To create a new user, select the desired organization in the hierarchy, then click Add User in the top-right corner. Admins
can create a user within their own organization or any sub-organization.
The Add User dialog appears.
20
Organization, User, and Role Management
The new user is selected in the list of users unless you have entered a search term that does not include the new user.
Review the details of the user you just created. JasperServer automatically assigns the ROLE_USER to every new user.
8. To edit a user, find the user by searching or selecting an organization, click on the username in the list of users, then click
Edit in the details frame on the right.
In the details frame, the user details become editable, except for the user ID and the profile attributes. The user ID cannot
be modified, it always has the value defined when the user is created. The profile attributes can only be modified in the
database, not through the Manage Users dialog.
9. To change the roles that are assigned to the user, click edit roles.
The Edit Roles dialog appears for the user that you are editing.
The list on the right displays the roles currently assigned to the user. To remove roles, select one or more roles in the right-
hand list and click the left arrow button. The list on the left displays all other roles that may be assigned to the user. To
assign roles, select one or more roles in the left-hand list and click the right arrow button. The available roles include any
role in the organization of the user, any role in a parent organization of the user up to and including the organization of the
current administrator, and the special system-wide roles. When finished assigning roles, click Done.
10. When done modifying any user fields or roles, you must click Save to keep any changes.
11. Click Log in as User to test the user’s permissions, as explained in 3.2.5, “Testing User Permissions,” on page 38.
21
JasperServer Administrator Guide
Another reason to log in as another uses is when creating and maintaining resources that use absolute references in the
repository. The system admin creates absolute references that are not accessible to users within organizations. The system
admin must log in as the admin of the organization that want to use the resource so that it is created with an absolute
reference that is valid in the context of the organization. For more information, see section 3.3.2, “Referencing
Resources in the Repository,” on page 39.
12. To delete a user, locate and select the user, then click Delete User.
When you confirm the deletion, the user is removed from JasperServer.
Role Description
ROLE_SUPERUSER This role determines system admin privileges, as explained in section 2.1, “Scope
of Administrative Privileges,” on page 15. It is a system-level role, however the
system admin may assign it to organization admins in single-organization
deployments.
ROLE_ADMINISTRATOR This role determines organization admin privileges, as explained in section 2.1,
“Scope of Administrative Privileges,” on page 15. JasperServer automatically
assigns this role to the default jasperadmin user in every new organization. It is a
special system-level role that is visible in every organization and which
organization admins may assign to other users.
ROLE_USER Every user that logs into JasperServer must have this role. JasperServer
automatically assigns this role to every user that is created, and it cannot be
removed. It is a special system-level role that is visible in every organization.
ROLE_ANONYMOUS When anonymous access is enabled, JasperServer automatically assigns this role
to any agent accessing JasperServer without logging in. This role is also assigned
to the default anonymous user. By default, anonymous access is disabled and this
role isn’t used. It is a special system-level role that is visible in every organization.
ROLE_PORTLET JasperServer assigns this role to users that are created automatically when a
portal such as Liferay requests authentication for a connection. If the specified
user name does not exist in JasperServer, it is created, assigned the password of
the user in the portal, and assigned the ROLE_PORTLET and ROLE_USER roles.
ROLE_DEMO This role grants access to the SuperMart demo Home page, reports, and if you
implement JasperAnalysis, analysis views. This role is assigned to the demo user
in the default organization. These objects are available only if you installed the
sample data when you installed JasperServer. It is a special system-level role that
is visible in every organization.
ROLE_SUPERMART_MANAGER This role is used to assign permissions relative to the sample data. It is a special
system-level role that is visible in every organization. It demonstrates data security
features available in JasperAnalysis. See the JasperAnalysis Ultimate Guide for
more information.
ROLE_ETL_ADMIN This role no longer governs any JasperServer permissions or functionality, unless
it has been customized in your installation. Typically, it can be deleted safely.
Except for the five special system-level roles visible in every organization, roles are defined in organizations. As with users,
the same role ID can be defined in separate organizations, as long as it is unique within any given organization. Similarly, roles
are visible only within the organizations that define them. Admins may see all roles within their organization and sub-
organizations, but never any roles from a parent or sibling organization. Even if the admin of the parent organization has
22
Organization, User, and Role Management
assigned the role to a user in a sub-organization, the admin of the sub-organization sees the user without the parent role. The
interface for managing roles enforces this scoping, so that only valid roles may be assigned to any given user.
The interface for managing roles lets you create roles and assign each role to many users. If you want to assign several existing
roles to a single user, see section 2.3, “Managing Users,” on page 19.
If there are many roles, the list of roles has a scroll bar and possibly paging controls at the bottom. Scroll and click Next
and Previous when necessary to see the entire list of roles.
Roles are listed alphabetically, and multiple roles with the same name may appear. A tooltip shows the organization in
which each role is defined, relative to your organization.
3. To narrow the list of roles or find a specific role, click on an organization, enter a search string, or both.
This list of roles shows all roles within the selected organization or any of its sub-organizations and whose name contains
the search string. Scroll and page through the new list, or refine your search.
4. Click on a role name in the roles list at any time to see information about the role.
The details frame shows the role name, the organization where it is defined, and the list of users to whom the role has been
assigned. Tooltips on the usernames help you distinguish among users with the same name.
This frame includes the controls for editing or deleting the selected role. For convenience, there are also links to manage
each organization or user that is referenced.
Unless you are logged in as the system admin, you cannot edit or delete the five special system-level roles.
Furthermore, when you view the details of the special system-level roles, you only see the users defined in your
organization or any sub-organization to which this role has been assigned. For more information, see the table at
the beginning of section 2.4, “Managing Roles,” on page 22.
5. To create a new role, select the desired organization in the hierarchy, then click Add Role in the top-right corner. Admins
can create a role within their own organization or any sub-organization.
The Add Role dialog appears.
23
JasperServer Administrator Guide
6. Enter a name for the new role. The text under the field explains the character restrictions in role names. The dialog warns
you if the name you enter is not unique within the chosen organization. Roles have no other properties or settings.
7. Click Submit to create the role.
The new role is selected in the list of roles unless you have entered a search term that does not include the new role name.
8. To edit a role name or assign the role to users, find the user by searching or selecting an organization, click on its name in
the list of roles, then click Edit in the details frame on the right.
In the details frame, the role name becomes editable. Changing the name of an existing role affects all users to which the
role is assigned. The role name associated with permissions in the repository is also updated automatically.
However, changing a role name may compromise permissions defined in security files for Domains and analysis.
For more information, see the JasperServer User Guide.
9. To change the list of users to which the role is assigned, click change....
The Assign Users dialog appears for the role that you are editing.
24
Organization, User, and Role Management
The list on the right displays the users to which the role is currently assigned. To remove users, select one or more user
names in the right-hand list and click the left arrow button. To assign the role to these users, select one or more users in the
left-hand list and click the right arrow button.
The list on the left displays all other users to which the role may be assigned. The eligible users that are displayed include
any user in the organization where the role is defined or its sub-organizations. This list may be quite long and include
duplicate names, as shown for a different example in Figure 2-13. Use the search field to find specific user names, and
use the tool tips to differentiate between users.
25
JasperServer Administrator Guide
26
Repository Administration
3 REPOSITORY ADMINISTRATION
The repository stores content files, data sources, datatypes, images, saved reports, and any other resource in JasperServer. The
repository is structured as a hierarchy of folders that is based on the hierarchy of organizations. For more information, see
sections 1.2.1, “Folder Structure,” on page 9 and 1.2.3, “Sample Data,” on page 10. Administering the JasperServer
repository includes the following tasks:
Creating folders and organizing repository objects.
Controlling access to objects in the repository using roles, users, and object-level permissions.
Managing references to data sources, images, fonts, and other resources upon which reports rely.
This chapter contains the following sections:
Managing Folders and Resources
Access Control
Multiple Organizations in the Repository
27
JasperServer Administrator Guide
3. Right-click the parent folder and select Add Folder from the context menu .
4. Enter a folder name and an optional description in the dialog that appears, then click Add.
The folder is created in the repository.
4. Enter the information in the resource creation wizard specific to the resource you chose.
Some resources are based on uploaded files, others on information you enter in the dialog. All wizards include fields to
specify an object name, display name, and description in the repository. The object name is a unique name within the
folder. The display name and description appear to users in the repository.
If you are creating a data source, click Test Connection to have JasperServer validate it. If the test fails, review the values
that you specified in the other fields and test the data source again.
5. After you enter all the requested information, click Save.
The resource is created and added to the repository.
For more specific procedures to create reports, domains, and data sources, refer to the JasperServer User Guide. For
information about creating analysis views and OLAP client connections, refer to the JasperAnalysis User Guide.
28
Repository Administration
You cannot change the name of an organization’s main folder through the repository. The name of the main folder is
always the display name of the organization. To change the name of the main folder, change the display name of the
organization, as described in section 2.2, “Managing Organizations,” on page 16.
Users cannot modify the resource type or the resource ID; these are internal fields displayed for information only. Users
with administer permissions can change the user access settings as described in section 3.2.4, “Assigning Permissions,”
on page 36.
5. Click OK to make the change.
From a report, click the back icon or click View > Repository.
From a dashboard, click View > Repository or click your browser’s back button.
For detailed procedures about running reports and dashboards, refer to the JasperServer User Guide.
29
JasperServer Administrator Guide
Ad Hoc reports open in the Ad Hoc Editor and dashboards open in the dashboard designer. For detailed procedures about
working in the Ad Hoc Editor and the dashboard designer, refer to the JasperServer User Guide.
4. When you save your Ad Hoc report or dashboard, it overwrites the original one. In the Ad Hoc Editor, choose Save As to
save a new report and preserve the original.
5. To return to the repository or search results page after saving your work:
From the Ad Hoc editor, click View > Repository or click your browser’s back button.
From the dashboard designer, click Cancel or click View > Repository.
4. Use the dialog specific to the resource to view or modify it’s definition or properties.
5. To return to the repository without changing the resource, click Cancel in the wizard. When modifying a resource, click
OK or Save to make the changes permanent.
When copying a folder or resource, permissions are not preserved and the new copy inherits all permissions from its
parent folder. Administrators must explicitly set permissions again after making copies of folders or resources.
30
Repository Administration
Copying is available through drag-and-drop as well as from context menus using the copy-paste model. Folders must be
copied individually, but resources can be copied in bulk.
To copy more than one resource at a time, select all the ones you want to copy with Control-click or check the box beside
each resource name, then click Copy above the list of resources.
In both cases, the mouse pointer changes to indicate you have initiated a copy operation.
4. Right-click the destination folder and select Paste from the context menu .
If Paste does not appear in the context menu of a folder, you do not have write permission there.
To cancel the copy operation, right-click any folder and select Cancel.
5. After selecting Paste, the folder or resources are copied, and the repository display updates to reflect the new contents,
according to your current search and filter settings.
Moving a folder or resource preserves any permissions that were explicitly defined. Any permissions that were
inherited from its parent folder are inherited from the new parent after the move, and thus can potentially change.
31
JasperServer Administrator Guide
Moving is available through drag-and-drop, as well as from context menus using the cut-and-paste model. Folders must be
moved individually, but resources can be moved in bulk operations.
To move more than one resource at a time, select all the ones you want to move with Control-click or check the box
beside each resource name, then click Cut above the list of resources.
In both cases, the mouse pointer changes to indicate you have initiated a move operation.
4. Right-click the destination folder and select Paste from the context menu .
If Paste does not appear in the context menu of a folder, you do not have write permission there.
To cancel the move operation, right-click any folder and select Cancel. The selected folder or resources will not be cut.
5. After selecting Paste, the folder or resources are moved, and the repository display updates to reflect the new location,
according to your current search and filter settings.
32
Repository Administration
The repository keeps track of which resources are referenced by other resources, and does not allow you to delete
them while they are still being referenced. For example an input type that is used by a report or a properties file that is
used by a Domain cannot be deleted as long as the report or Domain still reference them.
To find the resources that reference the one you want to delete, you need to look at each report, Ad Hoc topic, or
Domain that you suspect of referencing it. When you edit a JRXML report or open a Domain in the Domain designer,
you can see the resources it references. Then you can either remove the reference from the resource or delete the
entire resource containing the reference.
To delete more than one resource at a time, select all the ones you want to delete with Control-click or check the box
beside each resource name, then click Delete above the list of resources.
There is no undo.
33
JasperServer Administrator Guide
External authentication services such as LDAP (used by Microsoft Active Directory and Novell eDirectory)
Single sign-on using JA-SIG's Central Authentication Service (CAS)
Java Authentication and Authorization Service (JAAS)
Container security (Tomcat, Jetty)
SiteMinder
Anonymous user access (disabled by default)
JasperServer also supports these encryption and authentication standards:
HTTPS, including requiring HTTPS
HTTP Basic
HTTP Digest
X509
The Acegi framework is readily extensible to integrate with custom and commercial authentication services and transports.
Authentication occurs by default through the web user interface, forcing login, and/or through HTTP Basic authentication for
web services, such as iReport and for XML/A traffic. JasperServer can automatically synchronize with an external
authentication service. The external users don’t need to be created manually in JasperServer first. Both users and roles are
created automatically in JasperServer from their definitions in an external authentication service. For an overview of the
authentication system and details about external authentication, see the External Authentication Cookbook.
Menu Options and The menus that appear in JasperServer depend on the user’s roles. For example, only users
Pages with the administrator role can see the Manage menu and access the administrator pages.
By modifying JasperServer’s configuration, you can modify access to menus, menu items,
and individual pages. Refer to the JasperServer Source Build Guide and JasperServer
Ultimate Guide for more information.
Organization Scope Users belong to organizations and are restricted to seeing resources within their
organization. Organizations have their own administrators, but they see only the users,
roles, and resources from their organization. When JasperServer is configured with multiple
organizations, they are effectively isolated from each other. For more information, see
section 3.3, “Multiple Organizations in the Repository,” on page 38.
Resource Administrators can define access permissions on every folder and resource in the
Permissions repository. Permissions are defined for every role and every user, or they can be left
undefined so they are inherited from the parent folder. For example, user may have read-
write access to a folder where they create reports, but the administrator can also create
standard reports in the same folder that are set to read-only.
Permissions are enforced when accessing any resource either directly through the
repository interface, indirectly when called from a report, or programmatically through the
web services. Permission levels are explained in section 3.2.3, “Permissions,” on
page 35.
Administrator JasperServer distinguishes between reading or writing a resource in the repository and
privileges viewing or editing the internal definition of a resource. For security purposes, granting a user
read or write permission on a resource does not allow viewing or editing the resource
definition. For example, users need read permission on a data source to run reports that use
it, but they cannot view the data source’s definition which includes a database password.
Only administrators can create, view, or edit the definition of a resource and its internal
components.
Data-level security Data-level security defines what data can be retrieved and viewed in a report, based on the
username and roles of the user who runs the report. For example, a management report
could allow any user to see the management hierarchy, managers would see the salary
information for their direct employees, and only human resource managers would see all
salary information.
Data-level security in Domains is explained in the JasperServer User Guide. Data-level
security through analysis views is covered in the JasperAnalysis User Guide.
34
Repository Administration
3.2.3 Permissions
Permissions on folders and resources determine what users see in the repository and what actions they are allowed to perform.
In the following table, the actions granted for each permission include all of the actions granted for permissions above it,
except for the No Access permission. The actions granted for each permission strictly exclude all of the actions granted for
permissions below it.
No Access Users can never see or access the folder or resource either directly or indirectly.
Administer Set the permissions (by role and by user) of a folder or resource
Permissions apply to access when browsing or searching the repository, as well as any dialog that accesses the repository, such
as when browsing folders to save a report. Note that:
Copying does not preserve the permissions on an object. Users may copy a read-only object, paste it into a read-write
folder, then edit the object. For more details, see section 3.1.7, “Copying Folders or Resources,” on page 30.
Copying and cutting (moving) actions can only be completed if the user has Read + Write + Delete access to a folder in
which to paste the objects. For more details, see section 3.1.8, “Moving Folders or Resources,” on page 31.
Cutting, deleting, and setting permissions on folders is allowed only if the user has the same permission on all folder
contents. Cutting and deleting resources in bulk is allowed only if the user has at least Read + Delete permission on all
selected resources.
Deleting a resource or the contents of a folder is only allowed if no other resources rely on them. For more details, see
section 3.1.9, “Deleting Folders or Resources,” on page 32.
35
JasperServer Administrator Guide
Using this mechanism, administrators can manage large hierarchies of content and keep them secure. When the administrator
sets a permission explicitly, that permission for a given user or role is inherited recursively by all of the folder’s contents and
subfolders, unless they have an explicit definition of their own. Permissions that are assigned on an organization’s top folder
are inherited across the entire organization. Permissions that are set on the root folder or Organizations folder by the system
admin are inherited across multiple organizations.
For example, the system admin can make all organizations read-only by default to ordinary users, and each organization admin
can make specific folders writable so that users can store their reports and output.
36
Repository Administration
3. Right-click the folder or the resource, and select Permissions... from the context menu .
The Assign Permissions by Role interface shows the existing role-based permissions in effect for the folder or resource. In
systems with multiple organizations, the roles displayed only include those in the scope of your user. In the default single
organization, the organization admin cannot see the permission for ROLE_SUPERUSER.
Permissions that are inherited are indicated by an asterisk (*).
4. For each role you want to grant access, select a value from the Permission Level drop-down.
Among the possible values, the permission of the parent folder is also indicated by an asterisk (*). Setting the permission
to the inherited value is the equivalent of removing an explicit permission.
5. Click Apply to save your changes before assigning permissions by user. If you are finished, click OK to save and return to
the repository view.
6. To assign permissions by user, click by User.
The Assign Permissions by User interface shows the existing user-based permissions in effect for the folder or resource.
In systems with multiple organizations, the users displayed only include those in the scope of your user. In the default
single organization, the organization admin cannot see the permission for superuser.
Permissions that are inherited are indicated by an asterisk (*).
37
JasperServer Administrator Guide
As shown in Figure 3-4, there are no user-based permissions defined by default. In this case, all access permissions have
been defined through roles.
7. For each user to you want to grant access, select a value from the Permission Level drop-down, as described in step 4.
8. Click Apply to save your changes and stay on an Assign Permissions page. If you are finished, click OK to save and return
to the repository.
9. Click Cancel to return to the repository without changing any permissions, for example, if you were only viewing the
current permission levels.
38
Repository Administration
Every level of the organization hierarchy, including the system or root level, has a folder named Organizations to contain sub-
organizations. The Organizations folder always contains a folder named Folder Template. When a new organization is created,
the entire contents of Folder Template is copied to a new folder under Organizations and given the name of the new
organization. The minimal folder structure required for new organizations includes a Topics folder under Ad Hoc Components
and a Temp folder. The admins can add any folders or resources to the Folder Template that will be used in subsequently
created organizations, for example data sources or a set of Ad Hoc Topics that can be modified to suit the needs of each sub-
organization.
The Public folder at the root is a special folder shared with all organizations. It is visible to every organization so that the
system admin can share certain resources in common, such as a data source, a company logo image, or a report template.
39
JasperServer Administrator Guide
40
Import/Export
4 IMPORT/EXPORT
The import and export utilities enable you to extract resources from, or add resources to, a JasperServer repository. The
utilities also handle users, roles, and organizations that JasperServer stores internally. Import and export can be helpful when
migrating between versions of JasperServer or when moving between test and production environments. The import and
export utilities are located in <js-install>/scripts.
This section assumes you are using Windows. If you are running JasperServer in Linux or Unix, the executable files
have the .sh file extension, which must be appended to the file name when you run the importer or exporter.
--input-zip Path and filename for importing a catalog from a zip file.
--update Resources in the catalog will replace those in the repository if their URIs and types match.
--skip-user-update When used with --update, users in the catalog will not be imported nor updated. Use this
option to import catalogs without overwriting currently defined users.
41
JasperServer Administrator Guide
--org-id When importing a 3.0 or 3.1 catalog for upgrade, specifies the ID of the organization in
which to place all catalog contents. If the organization does not exist, it is created as a top-
level organization. When not specified, 3.0 and 3.1 catalogs are imported into the default
Organization (organization_1). This option has no effect when importing a catalog from
version 3.5.
--org-label When importing a 3.0 or 3.1 catalog for upgrade and specifying an --org-id value that does
not yet exist, this option specifies the display name for the organization that are created.
When not specified, the display name is the same as the organization ID given. This
option has no effect when the organization ID already exists.
Examples:
Import the myDir catalog folder, prepending /importDir to all repository URIs:
js-import --input-dir myDir --prepend-path /importDir
For example, the folder /reports in the export catalog is imported to /importDir/reports.
Import the myExport.zip catalog archive file:
js-import --input-zip myExport.zip
Import the myDir catalog folder, replacing existing resources if their URIs and types match those found in the catalog:
js-import --input-dir myDir --update
Import a catalog made with a previous release into a new organization as part of an upgrade:
js-import --input-zip 31export.zip --org-id MyOrg --org-label UpgradedOrg
Import a a catalog made with a previous release into an existing organization as part of an upgrade:
js-import --input-zip 31export.zip --org-id MyOrg
The default behavior when a resource is found in the target repository that has the same URI as the resource that you are
attempting to import is to skip the creation operation and leave the existing resource unchanged (no overwrite occurs). To
delete the existing resource and replace it with a new one (of the same type and with the same URI), use the --update option.
Note that, if the resource in the export catalog is of a different type than the existing resource, JasperServer returns an error and
skips the update operation.
--everything Export everything except audit data: all repository resources, permissions, report
jobs, users, and roles.
This option is equivalent to: --uris / --repository-permissions
--report-jobs / --users --roles
--output-zip Path and filename of the output catalog zip file to create.
--report-jobs Comma separated list of repository report unit and folder URIs for which report unit
jobs should be exported.
If a folder URI is specified, the folder is recursively traversed and JasperServer
exports the jobs defined for each report unit that is found.
42
Import/Export
--repository-permissions When this option is present, repository permissions are exported along with each
exported folder and resource.
This option should only be used in conjunction with --uris.
--roles Comma separated list of roles to export; if no roles are specified with this option, all
roles are exported.
--role-users When this option is present, each role export triggers the export of all users
belonging to the role. This option should only be used in conjunction with --roles.
--users Comma separated list of users to export; if no users are specified with this options,
all users are exported. When specifying users, you must give their organization ID,
for example: --users superuser, "jasperadmin|organization_1", ...
--organizations Exports a catalog containing information about all organizations, but does not export
their users, roles, or resources. Information about each organization is given in a
separate file and includes its ID, display name, description, parent, and UID of the
organization’s main folder. You cannot specify individual organizations.
--audit Include audit data for all users, interfaces, and organizations in export.
Examples:
Export everything in the repository:
js-export --everything --output-dir myExport
Export the /reports/samples/AllAccounts report unit to a catalog folder:
js-export --uris /organizations/organization_1/reports/samples/AllAccounts --output-dir
myExport
Export the /images and /fonts folders:
js-export --uris /organizations/organization_1/images,/organizations/organization_1/
reports --output-dir myExport
Export all the resources (except users, roles, and job schedules) and their permissions to a zip catalog:
js-export --uris / --repository-permissions --output-zip myExport.zip
Export all the resources and all the report jobs:
js-export --uris / --report-jobs / --output-dir myExport
Export the report jobs of the /reports/samples/AllAccounts report unit:
js-export --report-jobs /organizations/organization_1/reports/samples/AllAccounts
--output-dir myExport
Export all the roles and users:
js-export --roles --users --output-dir myExport
Export the ROLE_USER and ROLE_ADMINISTRATOR roles along with all users belonging to either role:
js-export --roles ROLE_USER, ROLE_ADMINISTRATOR --role-users --output-dir myExport
Export two users:
js-export --users superuser, "jasperadmin|organization_1" --output-dir myExport
The --uris option allows you to specify one or more resource URIs. A URI can specify an resource such as a report. In this
case, all associated resources (such as images, subreports, data sources, resource bundles, and class files) are exported. A URI
can also specify a folder. If a folder is specified, the export operation exports all resources and folders contained in the folder.
In addition, it recurses through all its subfolders.
When you export a user, in addition to the user information, the user’s roles and properties are also exported. When you import
a user, if its roles exist in the repository, the user is given these roles. User properties are always imported.
43
JasperServer Administrator Guide
2. Open the file <js-install>/scripts/config/js.jdbc.properties for editing and replace the property
metadata.jdbc.password with the property and value that were output in step 1. In this example:
Replace:
metadata.jdbc.password=mypassword
With:
metadata.jdbc.encryptedPassword=0x08,0x5a,0xf1,0x6d,0x96,0x13,0x3f,0x16,0xf2,0xd8
44
System Configuration
5 SYSTEM CONFIGURATION
You can edit text files to change the default behavior of JasperServer. This chapter describes a subset of the available
configuration options. Note that such changes only take effect after you restart JasperServer.
Configuration of the auditing feature is covered in section 6.2, “Configuring Auditing,” on page 64.
The file paths described in this chapter are all found under the <js-install> directory, which is the root of your JasperServer
installation. Because these file locations vary with your application server, the paths specified in this chapter are partial. For
example, the applicationContext.xml file is listed as residing in the WEB-INF folder; if you use Tomcat as your application
server, the default path to this location is:
C:\Program Files\jasperserver-pro-3.7\apache-tomcat\webapps\jasperserver-pro\WEB-INF.
Use caution when editing the files described in this chapter. Inadvertent changes may cause unexpected errors
throughout JasperServer that may be difficult to troubleshoot. Before changing these files, back them up.
Many configuration options are described in the JasperServer Installation Guide. Refer to this document for further
information.
45
JasperServer Administrator Guide
Configuration File
…\WEB-INF\jasperserver-servlet.xml (controls the Login page)
…\WEB-INF\applicationContext-security.xml (controls web services)
Configuration File
…\WEB-INF\jasperserver-servlet.xml
46
System Configuration
Configuration File
…\WEB-INF\jasperserver-servlet.xml
You can change the look and feel of these pages by editing the corresponding JSP files in the \WEB-INF\jsp folder.
47
JasperServer Administrator Guide
7. Clear the check box next to Optimize Queries for Domain-based Reports if you want to create Domain reports that are
processed in memory.
The Optimize Queries for JDBC-based Reports and Optimize Queries for Domain-based Reports settings
do not retroactively update the existing reports in your repository. To change a report to use a different data
policy, change the appropriate setting, open the report in the Ad Hoc Editor, and save it.
8. Click Save to make your changes effective. Or click Reset to return to the previously saved values.
The Ad Hoc Options are not preserved after you restart the JasperServer instance. Every time after you restart
JasperServer, you must set the Ad Hoc Options to your preferred values again.
The following section gives more information about the data policies configured in the last two steps.
48
System Configuration
default, datasets are removed if they have not been used for 20 minutes or if they have been in memory for 60 minutes. You
can change these defaults as described in 5.3.3, “Configuring Dataset Expiration,” on page 49.
The cache is used both when Ad Hoc reports are created and when they are run.
2. To view the details of a dataset or remove it from the cache, click its name in the Query column.
The Dataset Caching Detail page appears, displaying the details of the query.
3. To remove the dataset from the cache, click Clear from Cache.
4. To return to the Cache Administration page, click Back.
49
JasperServer Administrator Guide
Configuration File
…\WEB-INF\applicationContext-adhoc.xml
Configuration File
…\WEB-INF\applicationContext-semanticLayer.xml
If the tables and fields referenced in the Domain design don’t exist in the data source when this property is set to
TRUE, the Domain wizard won’t detect the problem, but the Choose Data wizard will return errors when your end user
work with the Domain.
50
System Configuration
Configuration File
…\WEB-INF\classes\jasperreports.properties
Property Description
net.sf.jasperreports.crosstab. This value represents the maximum number of cells multiplied by the
bucket.measure.limit number of measures in the crosstab. The default value is 100000.
Enter large values to allow your users to create larger, more complicated
crosstabs; enter small values to restrict them.
If you experience OutOfMemoryExceptions after changing this value, try
setting it to a smaller number, or configure your JVM to allow more
memory to be used.
51
JasperServer Administrator Guide
Configuration File
…\WEB-INF\classes\jasperreports.properties
Property Description
net.sf.jasperreports.chart. The name of a chart theme that is in the WEB-INF\lib directory.
ChartTheme
Jaspersoft recommends that you create your chart themes in iReport; click File > New > Chart Theme. Then use iReport to
archive the new char theme as a JAR.
Configuration File
…\WEB-INF\applicationContext-logging.xml
Scheduling Options
Configuration File
reportJobBeans.xml
52
System Configuration
recurrenceIntervalUnits Comment out the intervals you want to restrict. To hide the Minutes
option in the interval drop-down list, comment out the
INTERVAL_MINUTE property.
For example, consider the case in which you want to hide the Minutes option in the interval field.
By default, the INTERVAL_MINUTE bean is:
<bean class="com.jaspersoft.jasperserver.war.dto.ByteEnum">
<property name="code">
<util:constant static-field="com.jaspersoft.jasperserver.api.engine.scheduling.
domain.ReportJobSimpleTrigger.INTERVAL_MINUTE"/>
</property>
<property name="labelMessage">
<value>job.interval.unit.minute.label</value>
</property>
</bean>
<!--
<bean class="com.jaspersoft.jasperserver.war.dto.ByteEnum">
<property name="code">
<util:constant static-field="com.jaspersoft.jasperserver.api.engine.scheduling.
domain.ReportJobSimpleTrigger.INTERVAL_MINUTE"/>
</property>
<property name="labelMessage">
<value>job.interval.unit.minute.label</value>
</property>
</bean>
-->
53
JasperServer Administrator Guide
Configuration File
…\WEB-INF\applicationContext-semanticLayer.xml
Configuration File
...\META-INF\context.xml
Configuration File
…\WEB-INF\applicationContext-semanticLayer.xml
jdbc2JavaType jdbcMetaConfiguration This property contains a map of database field types to Java
Mapping types. Find the line for CLOB that is commented out:
<!--entry key="CLOB" value=""/-->
Modify it as follows:
<entry key="CLOB" value="java.lang.String"/>
The MySQL JDBC driver implementation uses either the CLOB JDBC type, the LONGVARBINARY JDBC type, or both to
represent CLOB fields, depending on their length.
Configuration File
…\WEB-INF\applicationContext-semanticLayer.xml
jdbc2JavaType jdbcMetaConfiguration This property contains a map of database field types to Java
Mapping types. Find the following lines:
<!--entry key="CLOB" value=""/-->
<!--entry key="LONGVARBINARY" value=""/-->
And modify them as follows:
<entry key="CLOB" value="java.lang.String"/>
<entry key="LONGVARBINARY"
value="java.lang.String"/>
54
System Configuration
There are two ways to create a mapping for a proprietary type, as shown in the following table
Modify the gerneric mapping for NUMERIC types. By default, any numeric type that doesn’t match one of the other types
is mapped to BigDecimal.
Create a secondary mapping under the special OTHER key, where the secondary key can be your custom type name.
Configuration File
…\WEB-INF\applicationContext-semanticLayer.xml
55
JasperServer Administrator Guide
When JasperServer receives a request to run a report unit, it maps the report unit’s data source to an implementation of
ReportDataSourceService, which returns a JRDataSource based on the data source’s persistent properties. The
JRDataSource is used to fill the report and produce a JasperPrint object, from which JasperServer generates HTML or other
supported output formats.
Each JasperServer data source implementation must support the following features:
Read and write persistent properties in the JasperServer repository.
Provide a user interface for creating and editing instances that are integrated with the JasperServer web interface.
Create a JRDataSource using the property values for a specific data source instance, or pass parameters to a
JRQueryExecuter that produces the JRDataSource.
JasperServer’s built-in data sources rely on several Java classes, along with specialized Spring bean files, WebFlow
configurations, message files, and JSP files. The custom data source framework provides the same functionality by using a
Spring bean file, a message catalog, and a minimum of one Java file (more are required to support optional features).
56
System Configuration
5.9.4.3 Installation
The sample directory includes:
build.xml: The Ant build file.
src: Java source directory.
webapp: A directory containing other files required by the examples, such as JSPs and Spring configuration files, which
are copied directly to the JasperServer web application directory.
reports: A directory containing example JRXML files that use the sample custom data sources.
57
JasperServer Administrator Guide
3. Run the Ant command (as described in 5.9.4.1, “About Apache Ant,” on page 57) with no arguments; this executes the
default target, which is named deploy. The deploy target initiates these actions:
Compiles the Java source under the src directory.
Deploys the compiled Java class files to the JasperServer web application.
Deploys files under the
webapp directory to the JasperServer web application.
4. Restart the application server.
These steps only make the example custom data sources themselves available in JasperServer. To test the data
sources, you must also create instances of the custom data sources in JasperServer, then upload the reports that
accompany the samples.
58
System Configuration
These property values are set by the custom data source framework after it instantiates your ReportDataSourceService
implementation. You need property setters and getters corresponding to each property name; for example, if you defined a
property with the name foo you need getFoo() and setFoo() methods.
59
JasperServer Administrator Guide
The propertyDefinitions property is a list of maps, each one describing a property of the custom data source
implementation. It includes these entry keys:
hidden — If a property has the hidden entry key set to true, then its value is fixed to that of the
default entry key. Such properties are not be editable in the JasperServer data source
wizard, nor are they persisted. This is handy for making Spring beans accessible to
ReportDataSourceService implementations.
The following XML defines a CustomDataSourceDefinition bean for the custom bean data source example:
<bean id="myCustomDataSource"
class="com.jaspersoft.jasperserver.api.engine.jasperreports.util.CustomDataSourceDefini
tion">
<property name="factory" ref="customDataSourceServiceFactory"/>
<property name="name" value="myCustomDataSource"/>
<property name="serviceClassName"
value="example.cds.CustomSimplifiedDataSourceService"/>
<property name="validator">
<bean class="example.cds.CustomTestValidator"/>
</property>
60
System Configuration
<property name="propertyDefinitions">
<list>
<map>
<entry key="name" value="foo"/>
</map>
<map>
<entry key="name" value="bar"/>
<entry key="default" value="b"/>
</map>
<map>
<entry key="name" value="repository"/>
<entry key="hidden" value="true"/>
<entry key="default" value-ref="repositoryService"/>
</map>
</list>
</property>
</bean>
<bean class="com.jaspersoft.jasperserver.api.common.util.spring.GenericBeanUpdater">
<property name="definition" ref="addMessageCatalog"/>
<property name="value" value="WEB-INF/bundles/cdstest"/>
</bean>
For the value property, substitute the location of your message catalog file, omitting the .properties extension. Setting the
addMessageCatalog property precludes the need to edit the messageSource bean definition in applicationContext.xml. Note
that, if you also supply localized versions of the message catalog that follow the Java resource bundle naming convention,
users with other locales automatically see the localized strings when creating a new data source of this type.
61
JasperServer Administrator Guide
data source is not listed as an available data source type, the custom data source is not properly installed. For details, refer to
5.9.6, “Installing a Custom Data Source,” on page 61.
Configuration File
…\WEB-INF\applicationContext-webHelp.xml
hostURL webHelp Indicates the name of the computer hosting the web server where the help
is running. The value depends on the version of JasperServer. Do not
change this value.
pagePrefix webHelp Defines the default page name to pass to the web server hosting the help
system. The only valid value is Default_CSH.htm for this property.
helpContextMap webHelp Maps contexts in the application to topic identifiers in the help system.
Many pages in the JasperServer web application are configured for
context-sensitivity. When a user clicks Help on such a page, JasperServer
loads a specific topic in the help system. The topic that appears is
determined by a map in the applicationContext-webHelp.xml file. The only
valid values are the defaults.
Configuration File
…\WEB-INF\applicationContext-search.xml
62
Auditing
6 AUDITING
Auditing records key events that are of interest to system administrators, such as login/logout, user, report generated, report
details such as parameters selected and generation time, and object sizes. The events can be saved and archived. The archiving
can be set to move saved events to the archive after a specific number of days.
This chapter contains the following sections:
Audit Events
Configuring Auditing
Using the Audit Domains
Importing and Exporting Audit Data
63
JasperServer Administrator Guide
Configuration settings for audit logging are in the configuration file applicationContext-audit.xml.
64
Auditing
Configuration File
…\WEB-INF\applicationContext-audit.xml
maxAuditEventAge auditServiceTarget The number of days to keep the data. Older data is purged
(deleted). Zero, the default, means old data is never purged.
cronExpression auditEventArchiverTrigger Defines the frequency of the archiving job in cron syntax.
cronExpression auditEventPurgerTrigger Defines the frequency of the audit purge job in cron syntax.
The cronExpression properties use standard cron syntax. For example, 0 0 3 * * ? runs a job once a day at 3 a.m.
65
JasperServer Administrator Guide
Prop Type Type of event property, such as destination folder, as per event map in
configuration file.
Event Type Type of event, such as save resource, as per event map in configuration file.
Domain items in the following table are recorded for user events:
Domain items in the following table are recorded for role events:
Domain items in the following table are recorded when a report is generated:
66
Auditing
Report Execution Time Total time to execute the report (query execution + report rendering).
The parameters for these reports and the report contents are blank by default, because auditing is disabled by default
and no audit data exists. To view these reports, first enable auditing as described in section 6.2, “Configuring
Auditing,” on page 64, then wait for user activity to generate events.
The same reports are also provided in the Public/Audit/Audit Reports/Archived Audit Reports folder. These reports are
identical to those listed above, except they use the Audit Archive Domain and run against the archived audit data. These
reports are blank until you enable auditing and archiving and until audit data is archived by the audit archive configuration.
67
JasperServer Administrator Guide
68
Integrating JasperServer and Talend Integration Suite
Talend Integration Suite Enterprise Edition (TIS EE) is a complete and ready-to-run data integration platform that provides
high performance data extract-transform-load (ETL) capabilities. TIS EE is well suited for all analytic and operational data
integration needs, both simple and complex. When used in conjunction with JasperServer, TIS EE can help you develop,
manage, and document data integration processes for more accurate and comprehensive reporting and analytic processing.
If you use both JasperServer and TIS EE, you can integrate them such that your administrators access TIS EE from within
JasperServer without having to login to TIS EE explicitly. In this case, JasperServer displays a new menu item (Manage >
ETL) to users who are identified as TIS EE administrators. When a user clicks this menu item, JasperServer launches the TIS
EE Admin page in a new browser window.
This section describes the configuration this feature. For more information about TIS EE, refer to the documentation that
accompanies it.
JasperServer can also be used in conjunction with JasperETL (instead of TIS EE). However, since JasperETL does
not include a repository, there isn’t a direct integration option.
For more information on JasperETL, refer to its documentation.
69
JasperServer Administrator Guide
Because TIS EE requires each user name to be a valid email address, the user name of an ETL administrator in
JasperServer must also be a valid email address. For example, if [email protected] is a TIS EE user, you must create
a user named [email protected] in JasperServer.
2. Assign the user the ROLE_ETL_ADMIN role, as well as well as any other roles this user needs.
For more information about roles in JasperServer, see 2.4, “Managing Roles,” on page 22.
3. Log in to the TIS EE administration application and create a user with the same name as the user created in step 1.
4. Assign this user the appropriate role.
Your users’ passwords are not synchronized between the two applications. However, since the password isn’t
explicitly checked when the user clicks Manage > ETL, password changes in either system do not have any ill effect
on JasperServer’s integration with TIS EE.
70
Integrating JasperServer and Liferay Portal
These instructions assume that both JasperServer and Liferay have been installed properly. For instructions about installing
Liferay, refer to its documentation. For instructions about installing JasperServer, refer to the JasperServer Installation Guide.
This chapter also assumes:
You are using Liferay deployed in Tomcat.
<js-install> is the root of your JasperServer installation.
<liferay-install> is the root of your Liferay installation. This path cannot contain any spaces.
<liferay-install>\<tomcat-dir> is the root of the Tomcat instance running Liferay.
These instructions describe how to deploy the portlet WAR that is included in the JasperServer distribution. If you are
implementing the JasperServer portlet from a different distribution, refer to the instructions provided in that
distribution.
If you are upgrading from a previous version of JasperServer in which you deployed the Liferay portal, you must take
additional steps; pay careful attention when following the instructions in this chapter.
71
JasperServer Administrator Guide
2. In the server-minimal.xml file (found at <liferay-install>\<tomcat-dir>\conf\), change all the occurrences of port numbers.
For example:
3. Start the Liferay Portal by entering the following at the command prompt:
Linux <liferay-install>/<tomcat-dir>/bin/startup.sh
Windows <liferay-install>\<tomcat-dir>\bin\startup.bat
<property name="trustedIpAddress">
<list>
<value>123.45.6.789</value>
</list>
</property>
You can also use the value localhost or 127.0.0.1 for this property.
4. Restart JasperServer.
72
Integrating JasperServer and Liferay Portal
<init-param>
<name>jasperserver_repository_ws_url</name>
<value>http://123.45.6.789:8080/jasperserver-pro/services/repository</value>
</init-param>
3. Restart Liferay.
73
JasperServer Administrator Guide
<portlet-preferences>
<preference>
<name>full_resource_path</name>
<value>/reports/samples/EmployeeAccounts</value>
<modifiable>1</modifiable>
</preference>
<preference>
<name>resource_type</name>
<value>report</value>
<modifiable>1</modifiable>
</preference>
<preference>
<name>number_of_parameters</name>
<value>1</value>
<modifiable>1</modifiable>
</preference>
<preference>
<name>js_resource_parameter_EmployeeID</name>
<value>beth_id</value>
<modifiable>1</modifiable>
</preference>
<portlet-preferences>
If you remove this section, the JasperServer Portlet displays a list of reports that the current user can access.
74
Integrating JasperServer and Liferay Portal
3. If the portlet doesn’t appear, add it as described in 8.5, “Deploying the JasperServer Portlet WAR File,” on page 73.
When Liferay connects to JasperServer, JasperServer looks for the Portal organization; it creates this organization if
it doesn’t exist. JasperServer also looks for the user ID; if it is found, JasperServer allows access; if it isn’t found, the
user is created and assigned the ROLE_PORTLET and ROLE_USER roles. If your JasperServer instance hosts
multiple organizations, the user is mapped to the Portal organization.
8.8.1.1 portal_server
The only supported value for this parameter is liferay. For example:
<init-param>
<name>portal_server</name>
<value>liferay</value>
</init-param>
8.8.1.2 show_logo
This parameter indicates whether the company logo (at the top right-hand corner of the portlet) is displayed. Any value other
than true hides the logo. For example:
<init-param>
<name>show_logo</name>
<value>true</value>
</init-param>
8.8.1.3 show_return_to_report_list_icon
The parameter indicates whether the Return to Report List icon is displayed. Any value other than true hides the icon. For
example:
<init-param>
<name>show_return_to_report_list_icon</name>
<value>true</value>
</init-param>
75
JasperServer Administrator Guide
8.8.1.4 show_return_to_parameter_icon
The parameter indicates whether the Report Options icon should be shown. Any value other than true hides the icon. For
example:
<init-param>
<name>show_return_to_parameter_icon</name>
<value>true</value>
</init-param>
8.8.1.5 company_logo
This parameter specifies the image to use when show_logo is set to true. The picture must be located under <liferay-
install>/<tomcat-dir>/webapps/<JasperServerPortlet-x.x.x>/WEB-INF/images/. For example:
<init-param>
<name>company_logo</name>
<value>jaspersoft-logo.png</value>
</init-param>
8.8.1.6 company_logo_hyper_link
This parameter specifies the hyperlink URL to request when a user clicks the company logo. For example:
<init-param>
<name>company_logo_hyper_link</name>
<value>http://www.jaspersoft.com</value>
</init-param>
8.8.1.7 report_directory
This parameter specifies a folder in the JasperServer repository that should be used to populate the Report List page in the
portlet. For example:
<init-param>
<name>report_directory</name>
<value>/</value>
</init-param>
8.8.1.8 number_of_reports_per_page
This parameter specifies the pagination limit for the Report List page. It specifies how many reports to display per page. When
there are more reports than the specified number, end users must click a link to go to next page. For example:
<init-param>
<name>number_of_reports_per_page</name>
<value>5</value>
</init-param>
76
Integrating JasperServer and Liferay Portal
8.8.2.1 applicationContext-security
By default, this file is found at <js-install>/webapps/jasperserver-pro/WEB-INF/
<property name="trustedIpAddress">
<list>
<value>123.45.6.789</value>
</list>
</property>
You can also use the value localhost or 127.0.0.1 for this property.
8.8.2.2 portlet.xml
Default Location: <liferay-install>/<tomcat-dir>/webapps/<JasperServerPortlet-x.x.x>/WEB-INF/
<init-param>
<name>jasperserver_repository_ws_url</name>
<value>http://123.45.6.789:8080/jasperserver-pro/services/repository</value>
</init-param>
You can also use the value localhost or 127.0.0.1 for this property.
This section assumes you are using iReport 3.7.0 to set up the hyperlinks.
77
JasperServer Administrator Guide
Points to a particular Hyperlink Reference Expression value Parameters and values that Tooltip for the
page of the same report specifies the target page number of the the target web site receives. hyperlink.
when the Hyperlink current report. For multiple-valued
Type is LocalPage. parameters, use the same
parameter name for each
parameter value.
Points to a particular Hyperlink Reference Expression is used in Hyperlink Page Expression Tooltip for the
page of a different specification of the target page URI. value specifies the target hyperlink.
report when the page number of the target
Hyperlink Type is report.
RemotePage.
Notes:
If type None is chosen, no hyperlink is rendered.
For both Hyperlink Target values Self and Blank, the target report is displayed in the same portlet window.
For Hyperlink Type RemoteAnchor and LocalAnchor, no links are rendered.
78
Localization
9 LOCALIZATION
By default, JasperServer is presented in the English language; JasperServer supports other languages in the form of translation
packs that include the data formats and resource bundles for Chinese (Simplified), French, German, Japanese, and Spanish.
These files are included in your JasperServer instance by default; to view the application in a specific locale, select it before
logging in.
If you need to support a language other than the ones JasperServer supports, you can localize JasperServer, including
translating it into a different language by providing labels and messages in the preferred language. For other locales, you may
also want to change the default locale and timezone. This chapter describes the process and discusses a few cases that may
require further configuration.
For information about Domain, Topic, and report localization, refer to the JasperServer User Guide.
This chapter contains the following sections:
UTF-8 Configuration
Creating a Locale
Configuring JasperServer to Offer a Locale
Character Encoding and Fonts
JasperBabylon
9.1.1 Tomcat
By default, Tomcat uses ISO-8859-1 (ISO Latin 1) character encoding for URIs, which is sufficient for Western European
locales, but does not support many locales in other parts of the world.
If you plan to support locales that Latin 1 does not support, you must change Tomcat’s URI encoding format.
79
JasperServer Administrator Guide
2. At the end of this section, insert the following text before the closing marker:
URIEncoding="UTF-8"
9.1.2 JBoss
Since JBoss uses Tomcat as its web connector, it requires you to make the same change to server.xml file as are necessary for
Tomcat (as described in 9.1.1, “Tomcat,” on page 79). In this case, the server.xml file is located in the Tomcat deployment
directory, typically server/default/deploy/jbossweb-tomcat55.sar. After making your changes, restart JBoss.
9.1.3 MySQL
By Default MySQL uses ISO-8859-1 (ISO Latin 1) character encoding. However, JasperServer requires MySQL to use UTF-
8 character encoding for the database that stores its repository as well as for its data sources. The simplest way to meet the
requirement is to create the database with a UTF-8 character set. For example, enter the following command:
In addition, the MySQL JDBC driver requires these additional parameter settings to support UTF-8:
useUnicode=true
characterEncoding=UTF-8
url="jdbc:mysql://localhost:3306/jasperserver?useUnicode=true&characterEncoding=
UTF-8"/>
80
Localization
If the MySQL database is a JNDI data source managed by Tomcat, such as the JasperServer repository database, the
parameters can be added to the JDBC URL in WEB-INF/context.xml. The following is an example resource definition from
that file:
JBoss ignores the context.xml file, instead requiring an XML file to define JNDI data sources in the deployment directory,
which is typically server/default/deploy. The following is an example of a resource definition in one of those XML files:
<local-tx-datasource>
<jndi-name>jdbc/jasperserver</jndi-name>
<connection-url>
jdbc:mysql://localhost/jasperserver?useUnicode=true&characterEncoding=UTF-8
</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>jasperadmin</user-name>
<password>jasperadmin</password>
<min-pool-size>5</min-pool-size>
<max-pool-size>20</max-pool-size>
<idle-timeout-minutes>0</idle-timeout-minutes>
<metadata>
<type-mapping>mySQL</type-mapping>
</metadata>
</local-tx-datasource>
If the database is a JDBC data source configured in the repository, change the JDBC URL by editing the data source in the
JasperServer repository. The following is an example of the JDBC URL (note that the ampersand isn't escaped):
jdbc:mysql://localhost:3306/foodmart_ja?useUnicode=true&characterEncoding=UTF-8
9.1.4 Oracle
Oracle databases have both a default character set and a national character set that supports Unicode characters. Text types
beginning with N (NCHAR, NVARCHAR2, and NCLOB) use the national character set. As of JasperServer 1.2, all the text
data used by the JasperServer repository (when stored in Oracle) is stored in NVARCHAR2 columns, so that JasperServer
metadata can use the full Unicode character set. For more information about Unicode text support, refer to the Oracle white
paper found at: http://www.oracle.com/technology/tech/globalization/pdf/TWP_NCHAR_MIGRATION_10gR2.pdf
To work properly with Unicode data, the Oracle JDBC driver requires you to set a Java system property by passing the
following argument to the JVM:
-Doracle.jdbc.defaultNChar=true
81
JasperServer Administrator Guide
Since JBoss also uses JAVA_OPTS to pass options to the JVM, you can add the same JAVA_OPTS line to bin/run.sh (Linux)
or bin/run.bat (Windows). The line must be added before this line:
82
Localization
If you use the JasperServer portlet to display JasperServer content in a portal (such as Liferay), the deployed portlet includes
properties files as well:
iReport and the iReport plugin have their own resource bundles, including:
iReport plugin irplugin.properties Labels and messages used in the JasperServer iReport plugin.
Jaspersoft recommends using JasperBabylon to localize iReport and the iReport plugin resource bundles. For more
information, refer to 9.5, “JasperBabylon,” on page 90.
English jasperserver_messages_en.properties
French jasperserver_messages_fr.properties
For a list of Java-compliant locales, please refer to Sun’s Java web site.
83
JasperServer Administrator Guide
The resource bundles described in this document consist of locale-specific Java properties files. Java properties files
use the ISO-8859-1 (Latin-1) encoding that is the same as ASCII for all English non-accented characters. For
international characters that are not in ISO-8859-1, use Unicode escape sequences (for example \u00e9 is é).
This locale will not be available in JasperServer until you follow the steps described in 9.3.1, “Specifying Additional
Locales,” on page 86.
The data format masks described in this section are used in the Domains and in the Ad Hoc Editor; they appear in Ad
Hoc reports as well as JRXML reports based on Domains; they are not applicable to JasperAnalysis.
date.format=dd-MM-yyyy
datetime.format=dd-MM-yyyy HH:mm
calendar.date.format=%d-%m-%Y
calendar.datetime.format=%d-%m-%Y %H:%M
The first two keys are used to parse and format dates and datetime values using an internal java.util.DateFormat
object across the whole application. These patterns should be non-localized date patterns, in accordance with the Java
Development Kit (JDK) syntax.
The other two keys are used by the calendar control, which formats the user-selected date and datetime values in accordance
with its own pattern syntax.
To change the system date and datetime formatting for a new locale, edit the strings specified by these keys.
84
Localization
Customize the available data format masks for dates, integers, and decimals by editing the existing masking entries or adding
new ones. The default entries are given in the following table:
ADH_101_EXAMPLE_NUMBER = -1234.56
The data format masks for each type are numbered consecutively from zero; create new masks by adding new entries. The
keys of the new entries must follow the convention established in the default entries. For example, a new decimal data format
mask might have this ID:
ADH_100_MASK_dec_4
Date format masks are implemented using java.text.SimpleDateFormat and JasperReports extensions that provide
access to predefined localized data format masks. New datetime masks must be specified in one of the following formats:
A style for the date part of the value and a style for the time part (separated by comma) or a single style for both parts. A
style is one of Short, Medium, Long, Full, Default (which correspond to java.text.DateFormat styles) and Hide.
A pattern that can be supplied to java.text.SimpleDateFormat. In this case, internationalization support is limited.
Both integer and decimal data format masks are implemented with java.text.DecimalFormat, which localizes characters
within the format specification. For example, consider the case of the digit grouping symbol (thousands separator): in French,
it is a space; in U.S. English, it is a comma. DecimalFormat handles both cases: if the number pattern #,##0 is used, the
number 6000 appears as 6 000 in the French locale and as 6,000 in the U.S. English locale.
Form more information about Java’s handling of decimal and date data format masks, refer to Sun’s website:
http://java.sun.com/j2se/1.5/docs/api/java/text/DecimalFormat.html
http://java.sun.com/j2se/1.5/docs/api/java/text/DateFormat.html
By default, monetary values in Ad Hoc reports are masked as USD (United States Dollars). Depending on your data,
you may need to support a different currency, support more than one currency, or support currency conversion.
These are three very different cases:
Supporting a different currency than USD involves changing the monetary masks to use the correct symbol for your
currency (for example, replace the $ symbol in the ADH_100_MASK_dec_2 and ADH_100_MASK_dec_3 masks).
However, changing this symbol does not actually convert currencies in your reports.
Supporting other currencies in addition to USD involves adding new masks. However, adding data formats does not
actually convert currencies in your reports.
Supporting currency conversion is more complicated; you must consider such issues as fluctuations in conversion
rates. Oftentimes, a third-party services can be used to perform currency conversion
85
JasperServer Administrator Guide
<bean id="userLocalesList"
class="com.jaspersoft.jasperserver.war.common.LocalesListImpl">
<property name="locales">
<list>
<value type="java.util.Locale">en</value>
<value type="java.util.Locale">fr</value>
<value type="java.util.Locale">it</value>
<value type="java.util.Locale">de</value>
<value type="java.util.Locale">ro</value>
<value type="java.util.Locale">ja</value>
<value type="java.util.Locale">zh_TW</value>
</list>
</property>
</bean>
2. Add the new locale to the end of the list. For example, add the following line for Dutch (Java’s nl_NL locale):
<value type="java.util.Locale">nl_NL/value>
86
Localization
<bean id="userTimeZonesList"
class="com.jaspersoft.jasperserver.war.common.JdkTimeZonesList">
<property name="timeZonesIds">
<list>
<value>America/Los_Angeles</value>
<value>America/Denver</value>
<value>America/Chicago</value>
<value>America/New_York</value>
<value>Europe/London</value>
<value>Europe/Berlin</value>
<value>Europe/Bucharest</value>
</list>
</property>
</bean>
2. Add the new time zone to the bottom of the list. Specify each time zone as the standard Java time zone values so that
JasperServer adjusts for daylight savings time when appropriate. For example, add the following line for Tokyo:
<value>Asia/Tokyo</value>
87
JasperServer Administrator Guide
Add to -Duser.timezone=Europe/Bucharest
<jvm-options>
You must restart your application server for this setting to take effect. The time zone will be set for all applications in your
application server, including JasperServer.
<bean id="encodingProvider"
class="com.jaspersoft.jasperserver.api.common.util.StaticCharacterEncodingProvider">
constructor-arg value="UTF-8"/>
</bean>
2. Change UTF-8 to the encoding type your database server and application server use. For example:
<bean id="encodingProvider"
class="com.jaspersoft.jasperserver.api.common.util.StaticCharacterEncodingProvider">
constructor-arg value="UTF-16"/>
</bean>
88
Localization
This step is necessary only if you plan to support locales that requires a different character encoding, such as
UTF-16. In addition to this change, your application server and database must be configured to use the character
encoding you require. For more information, refer to the documentation associated with your third party software.
2. The URL of any OLAP database that JasperServer accesses must be properly configured in the /ji-pro/META-INF/
context.xml file. For example, the URL definition for the Foodmart sample database might be similar to the following:
3. Encoding options must be added to the JDBC connection string for any data source that points to an OLAP database. For
example, when creating a data source in JasperServer that points to an OLAP database, use the following connection
string:
jdbc:mysql://localhost:3306/foodmart_ja? useUnicode=true&characterEncoding=UTF-8
89
JasperServer Administrator Guide
JAJ_000_jsp.jpivot.chartpropertiesform.sansSerif=SansSerif
JAJ_000_jsp.jpivot.chartpropertiesform.serif=Serif
JAJ_000_jsp.jpivot.chartpropertiesform.monospaced=Monospaced
If you are using JasperAnalysis Community Edition, the name of the file and the keys that you edit are different.
For the Community Edition, open the jpivot_internal_message.properties file and edit these keys:
jsp.wcf.chart.sansserif=SansSerif
jsp.wcf.chart.serif=Serif
jsp.wcf.chart.monospaced=Monospaced
3. Change one or more of the strings to the name of a font available in the host’s operating system. For example, if you
wanted to change the SansSerif font to the SimHei font, edit the value specified by jsp.wcf.chart.sansserif. For
example:
jsp.wcf.chart.sansserif=SimHei
By default, JasperServer can create PDF (Portable Document Format) files with many different fonts. However, if you
experience font problems in the PDF output of your reports, you may need to take the steps described in this section
to make the fonts available to JasperServer’s XSL Formatting Object (XSL-FO) processor.
When users save reports in PDF format, JasperServer generates the PDF output using Apache FOP (Formatting Objects
Processor). In order for FOP to render fonts properly, you must install the font itself (for example, a TTF file) on the
JasperServer host, create a font metrics file (using Apache’s org.apache.fop.fonts.apps.TTFReader utility), and
update the userConfig.xml file to associate the font with its metrics. For more information, refer to the documentation
associated with FOP, which is available at:
http://xmlgraphics.apache.org/fop/
You can embed any Unicode font using this procedure, though larger font files may have significantly larger memory
footprints. In order to keep memory requirements small, Jaspersoft recommends that you use the smallest font file you can,
such as SimHei to support Chinese, Japanese, and Korean.
You must have the distribution rights to a font in order to embed it in a PDF file.
9.5 JasperBabylon
JasperBabylon allows Jaspersoft’s open source community to edit and share locale resource bundles. The repository is public,
and includes translations for several applications (notably, iReport, iReport plugin, and the open source version of
JasperServer). You can access the repository by pointing your browser to the JasperBabylon web site:
http://www.jasperforge.org/jasperbabylon
More information, including usage instructions, is available on the JasperBabylon web site. To make updates on this site, you
must sign up for a contributor ID, which is free.
90
Glossary
GLOSSARY
Ad Hoc Editor
JasperServer’s integrated report designer. Starting from a collection of fields predefined in a Topic or selected from a Domain,
the Ad Hoc Editor lets you drag and drop report elements to draft, preview, and finalize reports. Like JRXML reports, Ad Hoc
reports can be run, printed, and scheduled within JasperServer. In addition, Ad Hoc reports may be reopened in the Ad Hoc
Editor, further modified, and saved.
Analysis Client Connection
A definition for retrieving an analysis view. An analysis client connection is either a direct Java connection (Mondrian
connection) or an XML-based API connection (XMLA connection).
Analysis Schema
A metadata definition of a multidimensional database. In JasperAnalysis, schemas are stored in the repository as XML file
resources.
Analysis View
A view of multidimensional data that is based on an analysis client connection and an MDX query. It is the entry point to
analysis operations, such as slice and dice, drill down, and drill through.
Calculated Field
In a Domain, a field whose value is calculated from a user-written formula that may include any number of fields, operators,
and constants. A calculated field is defined in the Domain Designer dialog, and it becomes one of the items to which the
Domain’s security file and locale bundles can apply.
CRM
Customer Relationship Management. The practice of managing every facet of a company’s interactions with its clientele.
CRM applications help businesses track and support their customers.
CrossJoin
An MDX function that combines two or more dimensions into a single axis (column or row).
Cube
The basis of most analysis applications, a cube is a data structure that contains three or more dimensions that categorize the
cube’s quantitative data. When you navigate the data displayed in an analysis view, you are exploring a cube.
91
JasperServer Administrator Guide
Custom Field
In the Ad Hoc Editor, a field that is created through menu items as a simple function of one or two available fields, including
other custom fields. When a custom field becomes too complex or needs to be used in many reports, it is best to define it as a
calculated field in a Domain.
Dashboard
A collection of reports, input controls, graphics, labels, and web content displayed in a single, integrated view. Dashboards
often present a high level view of your data, but input controls can parameterize the data to display. For example, you can
narrow down the data to a specific date range. Embedded web content, such as other web-based applications or maps, make
dashboards more interactive and functional.
Derived Table
In a Domain, a derived table is defined by an additional query whose result becomes another set of items available in the
Domain. For example, with a JDBC data source, you can write an SQL query that includes complex functions for selecting
data. You can use the items in a derived table for other operations on the Domain, such as joining tables, defining a calculated
field, or filtering. The items in a derived table can also be referenced in the Domain’s security file and locale bundles.
Data Policy
In JasperServer, a setting that determines how JasperServer should process and cache data used by Ad Hoc reports. Select your
data policies by clicking Manage > Ad Hoc Options.
Data Source
Defines the connection properties that JasperServer needs to access data. JasperServer transmits queries to data sources and
obtains datasets in return for use in filling reports and previewing Ad Hoc reports. JasperServer supports JDBC, JNDI, and
Bean data sources; custom data sources can be defined as well.
Dataset
A collection of data arranged in columns and rows. Datasets are equivalent to relational results sets and the JRDataSource
type in JasperReports.
Datatype
In JasperServer, a datatype is used to characterize a value entered through an input control. A datatype must be of type text,
number, date, or date-time. It can include constraints on the value of the input, for example maximum and minimum values.
As such, a JasperServer datatype is more structured than a datatype in most programming languages.
Denormalize
A process for creating table joins that speeds up data retrieval at the cost of having duplicate row values between some
columns.
Dice
An OLAP operation to select columns.
Dimension
A categorization of the data in a cube. For example, a cube that stores data about sales figures might include dimensions such
as time, product, region, and customer’s industry.
Domain
A virtual view of a data source that presents the data in business terms, allows for localization, and provides data-level
security. A Domain is not a view of the database in relational terms, but it implements the same functionality within
JasperServer. The design of a Domain specifies tables in the database, join clauses, calculated fields, display names, and
default properties, all of which define items and sets of items for creating Ad Hoc reports.
Domain Topic
A Topic that is created from a Domain by the Choose Ad Hoc Data wizard. A Domain Topic is based on the data source and
items in a Domain, but it allows further filtering, user input, and selection of items. Unlike a JRXML-based Topic, a Domain
Topic can be edited in JasperServer by users with the appropriate permissions.
92
Glossary
Drill
To click on an element of an analysis view to change the data that is displayed:
Drill down. An OLAP operation that exposes more detailed information down the hierarchy levels by delving deeper into
the hierarchy and updating the contents of the navigation table.
Drill through. An OLAP operation that displays detailed transactional data for a given aggregate measure. Click a fact to
open a new table beneath the main navigation table; the new table displays the low-level data that constitutes the data that
was clicked.
Drill up. An OLAP operation for returning the parent hierarchy level to view to summary information.
Eclipse
An open source Integrated Development Environment (IDE) for Java and other programming languages, such as C/C++.
ETL
Extract, Transform, Load. A process that retrieves data from transactional systems, and filters and aggregates the data to create
a multidimensional database.
Fact
The specific value or aggregate value of a measure for a particular member of a dimension. Facts are typically numeric.
Field
A field is equivalent to a column in the relational database model. Fields originate in the structure of the data source, but you
may define calculated fields in a Domain or custom fields in the Ad Hoc Editor. Any type of field, along with its display name
and default formatting properties, is called an item and may be used in the Ad Hoc editor.
Frame
A dashboard element that displays reports or custom URLs. Frames can be mapped to input controls if their content can accept
parameters.
Group
In a report, a group is a set of data rows that have an identical value in a designated field.
In a table, the value appears in a header and footer around the rows of the group, while the other fields appear as columns.
In a chart, the field chosen to define the group becomes the independent variable on the X axis, while the other fields of
each group are used to compute the dependent value on the Y axis.
Hierarchy Level
In analysis, a member of a dimension containing a group of members.
Input Control
A button, check box, drop-down list, text field, or calendar icon that allows users to enter a value when running a report or
viewing a dashboard that accepts input parameters. For JRXML reports, input controls and their associated datatypes must be
defined as repository objects and explicitly associated with the report. For Domain-based reports that prompt for filter values,
the input controls are defined internally. When either type of report is used in a dashboard, its input controls are available to be
added as special content.
Item
When designing a Domain or creating a Topic based on a Domain, an item is the representation of a database field or a
calculated field along with its display name and formatting properties defined in the Domain. Items can be grouped in sets and
are available for use in the creation of Ad Hoc reports.
JavaBean
A reusable Java component that can be dropped into an application container to provide standard functionality.
JDBC
Java Database Connectivity. A standard interface that Java applications use to access databases.
93
JasperServer Administrator Guide
JNDI
Java Naming and Directory Interface. A standard interface that Java applications use to access naming and directory services.
Join Tree
In Domains, a collection of joined tables from the actual data source. A join is the relational operation that associates the rows
of one table with the rows of another table based on a common value in given field of each table. Only the fields in a same join
tree or calculated from the fields in a same join tree may appear together in a report.
JPivot
An open source graphical user interface for OLAP operations. For more information, visit http://jpivot.sourceforge.net/.
MDX
Multidimensional Expression Language. A language for querying multidimensional objects, such as OLAP (On Line
Analytical Processing) cubes, and returning cube data for analytical processing. An MDX query is the query that determines
the data displayed in an analysis view.
Measure
Depending on the context:
In a report, a formula that calculates the values displayed in a table’s columns, a crosstab’s data values, or a chart’s
dependent variable (such as the slices in a pie).
In an analysis view, a formula that calculates the facts that constitute the quantitative data in a cube.
Mondrian
A Java-based, open source multidimensional database application.
Mondrian Connection
An analysis client connection that consists of an analysis schema and a data source used to populate an analysis view.
Mondrian Schema Editor
An open source Eclipse plugin for creating Mondrian analysis schemas.
Mondrian XMLA Source
A server-side XMLA source definition of a remote client-side XMLA connection used to populate an analysis view using the
XMLA standard.
MySQL
An open source relational database management system. For information, visit http://www.mysql.com/.
Navigation Table
The main table in an analysis view that displays measures and dimensions as columns and rows.
Object
In JasperServer, anything residing in the repository, such as an image, file, font, data source, topic, domain, report element,
saved report, report output, dashboard, or analysis view. The folders that contain repository objects are also objects.
Administrators set user and role-based access privileges on repository objects to establish a security policy.
OLAP
On Line Analytical Processing. Provides multidimensional views of data that help users analyze current and past performance
and model future scenarios.
Organization
A set of users that share resources and repository objects in JasperServer. An organization has its own user accounts, roles, and
root folder in the repository to securely isolate it from other organizations that may be hosted on the same instance of
JasperServer.
94
Glossary
Organization Admin
Also called the organization administrator. A user in an organization with the privileges to manage the organization’s user
accounts and roles, repository permissions, and repository content. An organization admin can also create sub-organizations
and mange all of their accounts, roles, and repository objects. The default organization admin in each organization is the
jasperadmin account.
Outlier
A fact that seems incongruous when compared to other member’s facts. For example, a very low sales figure or a very high
number of helpdesk tickets. Such outliers may indicate a problem (or an important achievement) in your business.
JasperAnalysis excels at revealing outliers.
Parameter
Named values that are passed to the engine at report-filling time to control the data returned or the appearance and formatting
of the report. A report parameter is defined by its name and type. In JasperServer, parameters can be mapped to input controls
that users can interact with.
Pivot
To rotate a crosstab such that its row groups become columns groups and its column groups become rows. In the Ad Hoc
Editor, pivot the crosstab by clicking .
Pivot Table
A table with two physical dimensions (for example, X and Y axis) for organizing information containing more than two
logical dimensions (for example, PRODUCT, CUSTOMER, TIME, and LOCATION), such that each physical dimension is
capable of representing one or more logical dimensions, where the values described by the dimensions are aggregated using a
function such as SUM.
Pivot tables are used in JasperAnalysis.
Properties
Settings associated with an object. The settings determine certain features of the object, such as its color and label. Properties
are normally editable. In Java, properties can be set in files listing objects and their settings.
Repository
The tree structure of folders that contain all saved reports, dashboards, analysis views, and resources. Users access the
repository through the JasperServer web interface or through iReport. Applications can access the repository through the web
service API. Administrators use the import and export utilities to back up the repository contents.
Role
A security feature of JasperServer. Administrators create named roles, assign them to user accounts, and then set access
permissions to repository objects based on those roles. JasperServer also makes certain functionality available to users based
on their roles, which determines certain menu options displayed to those users.
Schema
A logical model that determines how data is stored. For example, the schema in a relational database is a description of the
relationships between tables, views, and indexes. In JasperAnalysis, an OLAP schema is the logical model of the data that
appears in an analysis view; they are uploaded to the repository as resources. For Domains, schemas are represented in XML
design files.
Set
In Domains and Domain Topics, a named collection of items grouped together for ease of use in the Ad Hoc Editor. A set can
be based on the fields in a table or entirely defined by the Domain creator, but all items in a set must originate in the same join
tree. The order of items in a set is preserved.
Slice
An OLAP operation for filtering data rows.
95
JasperServer Administrator Guide
SQL
Structured Query Language. A standard language used to access and manipulate data and schemas in a relational database.
System Admin
Also called the system administrator. A user who has unlimited access to manage all organizations, users, roles, repository
permissions, and repository objects across the entire JasperServer instance. The system admin can create root-level
organizations and manage all server settings. The default system admin is the superuser account.
Topic
A JRXML file created externally and uploaded to JasperServer as a basis for Ad Hoc reports. Topics are created by business
analysts to specify a data source and a list of fields with which business users can create reports in the Ad Hoc Editor. Topics
are stored in the Ad Hoc Components folder of the repository and displayed when a user launches the Ad Hoc Editor.
Transactional Data
Data that describe measurable aspects of an event, such as a retail transaction, relevant to your business. Transactional data are
often stored in relational databases, with one row for each event and a table column or field for each measure.
User
Depending on the context:
A person who interacts with JasperServer to fulfill a goal. There are generally three categories of users: administrators
who install and configure JasperServer, database experts or business analysts who create data sources and Domains, and
business users who create and view reports and dashboards.
A user account created for a specific person or purpose. The account associates the login name with user's full name,
password, and email address. Roles are assigned to user accounts to determine access to objects in the repository.
WCF
Web Component Framework. A low-level GUI component of JPivot. For more information, see http://jpivot.sourceforge.net/
wcf/index.html.
XML
eXtensible Markup language. A standard for defining, transferring, and interpreting data for use across any number of XML-
enabled applications.
XML/A
XML for Analysis. An XML standard that uses Simple Object Access protocol (SOAP) to access remote data sources. For
more information, see http://www.xmla.org/
XML/A Connection
A type of analysis client connection that consists of Simple Object Access Protocol (SOAP) definitions used to populate an
analysis view.
96
Index
INDEX
A custom data source
access control 33, 34 and required software 57
Ad Hoc Dataset caching 49 creating 58
Ad Hoc reports 47, 49, 65 examples 56
administering JasperServer installing 61
Ad Hoc options 47 installing the examples 57
assigning roles to users 23 message catalogs 59, 61
assigning users to roles 19, 23 overview of examples 55
audit logging 63 Spring configuration 60
authenticating users 33 using 61
authorizing users 34 D
creating roles 23 data policies 48
crosstab limit 51 datasets 48
custom data sources 55 date formats 84
data policies for Ad Hoc reports 48 Domains
default roles 22 audit logging 65
default users 19 validation 50
Domain validation 50
granting object-level permissions 36 E
heartbeat 52 events in audit logging 63
JasperReports options 50 export utility 42
logging in as a user 38 F
Login page 47 folder
managing access control 33, 34 copy 30
managing the Ad Hoc cache 48 delete 32
passwords 46 move 31
query row limit 47 Folder Template 10, 39
query time out 47 format masks 84
report schedule intervals 52 G
system configuration 45–62 glossary 91
Ant 57
audit logging 63 H
heartbeat program 12, 52
C
cache 48 I
CLOB support 54 import utility 41
configuring the system 45, 63 internationalization 79
crosstab report Out of Memory errors 51 intervals for report schedules 52
97
JasperServer Administrator Guide
J configuration parameters 75
JasperAnalysis 22 deploying 73
JasperBabylon 90 integrating Liferay 71
JasperETL 69 port numbers 71
JBoss 80 report list 74
JDK and JVM 57 testing 74
js-export command 42 properties files
js-import command 41 creating 82
L locale bundles 83
license expiration 13 R
Liferay 71 report scheduling 52
locale bundles repository
configuring JasperServer for 86 copy folder or resource 30
creating a locale 82 delete folder or resource 32
date formats 84 importing and exporting 41
format masks 84 move folder or resource 31
JasperBabylon 90 roles
properties files 82 assigning roles to users 22, 75
localization assigning users to roles 23
fonts 89, 90 audit logging 66
JasperBabylon 90 creating roles 23
localized analysis views 89 default roles 22
non-UTF-8 character encoding 88 granting object-level permissions 36
UTF-8 configuration 79 S
logging 63 search
login 12 configuring search 62
Login page, changing 47 SuperMart demo 19, 22
M superuser 12
managing JasperServer. See administering JasperServer. support, finding product version 13
MySQL 48, 80 synonyms 53
N system administrator. See administering JasperServer.
NVARCHAR2 55 T
O Talend Integration Suite 69
object-level permissions for roles 36 time zone on Login page 86
Oracle 81 Tomcat 79
NVARCHAR2 55 U
synonyms 53 Unicode Transformation Format. See UTF-8.
Organizations folder 10, 39 users
Out of Memory errors 51 assigning roles to users 19, 22
P assigning users to roles 19, 23
passwords audit logging 66
allowing users to change 46 authenticating users 33
audit logging 66 authorizing users 34
expiration 46 granting object-level permissions 36
port numbers 71 UTF-8
portlet encoding forms 88
and hyperlinks in reports 77 non-UTF-8 character encoding 88
and JasperServer roles 22 overview 79
and multiple organizations 75 V
and upgrading JasperServer 73 version of the software 13
and web services 72 W
changing the default report list 76 web services 65, 72
changing the logo 75, 76
98