If you are not installing for the first time, here are the instructions for upgrading your installation:
- Download the files
- Upgrade the J2EE application
- Upgrade the database objects
- Upgrade the APEX test application
You can download the files from here and unzip them.
First, make a backup of all the configuration and report files in your existing environment.
The next step is to install the J2EE application regularly as described in section 2. Installation in the J2EE server.
The report files from your backup need to be copied into the target reports directory. If you already have a shared configuration directory, then the J2EE application will already find the relevant files.
With regards to the conf/application.properties
file it is best to use the new configuration file and manually transfer the old settings into the new configuration file.
In order to use newer features, you might need to add new configuration parameters to your application.properties
file. Please check the documentation for new parameters.
Restart the J2EE server, so that it will pick up the new configuration. It should be enough to restart the J2EE application only unless you have changed the environment of the J2EE server itself.
The database objects required for the integration have to be installed into each application schema that you want to use with the integration. Thus we have to upgrade all schemas that use the integration kit. The installation instructions will refer to the application schema (in which you install the software) as [application schema]. The password for the application schema will be referred to as [application schema password].
Thus when I use an instruction like sqlplus [application schema]/[application schema password]@[database]
please replace that with the actual values of your local installation. For example, if you want to install the integration kit into the schema HR
with the password hr1
into your local XE instance (having a TNS entry named xe
) then this instruction translates to:
sqlplus hr/hr1@xe
For a typical upgrade of an existing schema you don't have to do the installation as SYS. The user already has the proper rights and privileges. All you need to do is to upgrade the schema objects.
- Open a command shell:
- e.g. on Windows: Start > Execute : cmd
- Go to the subdirectory sql (of where you extracted the file):
cd sql
- Connect as the application schema to the local instance (using sqlplus)
sqlplus [application schema]/[application schema password]@[database]
- Run the upgrade script
@patch.sql
- Upgrade the APEX test application
The test application will allow for basic testing of the integration with all relevant parts. Install the application file apex\[apex version]\f201_JasperReportsIntegration-Test_[version].sql
into your workspace.
You can just replace the existing one.
Please always pick the highest APEX version, e.g. when running APEX 19.1 and above (19.2, 20.1, ...), please install apex\APEX 19.1\f201_JasperReportsIntegration-Test_2.6.1.sql
.
- Check New Configuration Parameters
Make sure to check the available parameters in the in the configuration file application.properties
. With each release we potentially add new parameters. Many of them are introduced to increase the overall security.