QPR UI Windows Installer
Link to the installation package can be found from this wiki's main page. If you are upgrading to the latest version of QPR UI, follow the upgrade instructions instead of this page instructions.
Before running installation wizard
Before running the installation wizard, check the following:
QPR Web Service Accessibility
Depending on which QPR products you want to use as the data source for QPR UI, check that either:
- QPR Suite Web Service is available by using the QPR Web Services Servicetester.
- QPR ProcessAnalyzer Web Service is available by logging in to QPR ProcessAnalyzer with the Excel client.
Server TCP Ports
Check whether there are other (server) applications listening on ports 4848, 8080 and 8181. QPR UI uses these ports by default because they are default ports for the GlassFish web server. Ports 8080 (http) and 8181 (https) can be changed in the QPR UI installation wizard, but port 4848 (GlassFish Admin Console) cannot be changed. QPR UI installation fails, if you try to use ports that are used by other applications during the installation.
It's possible to change the port 4848 in the GlassFish Admin Console, but it is doable only after the installation. This issue can be worked around by shutting down the other application during QPR UI installation as follows:
- Shutdown the other application using port 4848.
- Run QPR UI installation wizard as described in Running installation wizard.
- Change the GlassFish port from GlassFish Administration Console.
- Start the other application.
Running installation wizard
To start QPR UI installation wizard, double click the QPR_UI.exe file.
1. Welcome Page | |
This is the starting point of the QPR UI installation wizard.
Click Next to continue. |
|
2. License Agreement | |
Here you can see the End User Software License terms for the software that is about to be installed. You will need to accept these terms before continuing the installation. Select I accept the terms in the license agreement and click Next to continue in the case you accept the license terms. Otherwise you'll need to cancel the installation. | |
3. Destination Folder | |
In this page you can see the folder where QPR UI is will be installed. If you want to install to a different folder, click on the Change button and define a new target folder. | |
4. Database Configuration | |
Select whether to create a new database for QPR UI or to use an existing database.
|
400px |
5. Database Server | |
In this page you need to supply the information to connect to Microsoft SQL Server where the QPR UI database is located. The Database server drop-down list contains found SQL Servers, but if the desired SQL Server is not found, input the host name and the possible instance name in the form SQLSERVERNAME\INSTANCENAME. By default, the SQL Server port that is used is 1433, but the port can be defined in the form SQLSERVERNAME:PORTNUMBER. When using a named instance, the separate port definition should not be used. For connecting to the SQL Server, you can use either:
After inputting Login ID (username) and password, click on Validate to verify that the account can be used for connecting to the defined database server. The Next button is enabled only after a successful validation of credentials. The validation only checks that the account can be used to login to the SQL Server - it doesn't check that the account has enough rights to operate the database. Note for Windows authentication:
Name of database field defines QPR UI database name (that must already exist). |
|
6. Server Locations | |
Define where the QPR Suite and QPR ProcessAnalyzer Web Services can be accessed. For QPR Suite Web Service, the endpoint is given in the format: http://<your host>/<your IIS application>/Portal/QPR.Isapi.dll/wsforward/MainService.svc/webHttp/. The suggested url for QPR Suite Web Services points to QPR 2017.1 instance in the same server computer. localhost can be used if QPR Suite and QPR UI are on the same server computer. If you have QPR ProcessAnalyzer available, define its endpoint URL to the corresponding field. NOTE: If your QPR UI installation is running in a clustered environment, set UseXForwardedForAsClientIp to true in the web.config of the QPR ProcessAnalyzer instance that is used. Also note that when using SSL, both QPR Suite and QPR ProcessAnalyzer should be set to ignore client certificates in their IIS configuration. Click Next to continue. |
|
7. GlassFish Configuration | |
Define the HTTP and HTTPS port numbers of the GlassFish application server used to host QPR UI.
netstat -an | find ":port_number_here" Click Next to continue. |
|
8. QPR Suite and QPR ProcessAnalyzer System User | |
Here you need to define the user credentials of an administrator user that's found in QPR Suite and QPR ProcessAnalyzer services. The user account defined here is used to synchronize user information from QPR Suite and QPR ProcessAnalyzer to QPR UI.
Click Next to continue. |
|
9. Common QPR Authentication Setup | |
If you have other QPR Suite products in use, with these settings you can configure Common QPR Authentication to work between the products.
To add a URL:
If you need to change an existing definition, you can either remove the latest definition by clicking Remove last or remove all the definitions by clicking Clear, and then start adding again. Note that with the settings defined here, you can define the Common QPR Authentication to work when linking to QPR UI. If you need to link from QPR UI to some other QPR Suite product, you need to do define the settings in the other product. Click Next to continue. |
|
10. Federated Authentication Configuration | |
This page allows configuring Single Sign-On (SSO) login that enables logging in to QPR UI using the existing credentials provided by your organization's federated identity provider. If there’s no applicable federated identity provider in your organization or you wish to configure it later, this page can be left blank. See the federated authentication page for more information how these settings are configured.
Click Next to continue. |
|
11. Ready to Install | |
The installer is now ready to start. If you need to change any settings, click Back and make the necessary changes. Once you are satisfied with the settings, click Install to start the installation. |
|
12. Complete | |
The installation is now complete.
Check the Launch QPR UI checkbox to open the QPR UI login page. If you choose not to launch the login page straight away, you can access it later on at: http(s)://<your_server_dns_name>:8080/ui. Click Finish to close the installer. |
Installation troubleshooting
Q: My installation stops after Glassfish configuration, how could I get the installation to finish?
A: The installation aborts if the Glassfish connection pool cannot be pinged after creating it. If the connection pool cannot be used, deploying the QPR UI application there fails. Before attempting the installation again, please check the following things regarding SQL Server configuration:
- If named instances are used, a TCP port is assigned to the instance and the SQL Server Browser Service is running
- The user has sufficient rights to create tables to the target database.
In addition, if you have a separate Glassfish installation, shut it down for the duration of the QPR UI installation so that the administration port 4848 is not reserved.
Q: The Validate button in the Database Server page does not validate my database credentials even though they are correct.
A: Even though the validation should work in the majority of scenarios, you can supply a SKIPDBVALIDATION=1 parameter to the installation from the command line (QPRUI.exe /v"SKIPDBVALIDATION=1"). However, when skipping the validation you need to pay some extra attention to the correctness of the credentials as all parts of the software cannot be deployed to Glassfish if the database credentials are incorrect.
Q: I have QPR Suite and/or QPR ProcessAnalyzer running with SSL enabled and my QPR UI installation is SSL-enabled too. Now QPR Suite and/or QPR ProcessAnalyzer is not available as a data source.
A: In the QPR Suite/QPR ProcessAnalyzer, check in the Microsoft IIS web server that the application (e.g. QPR2017-1 or QPRPA) is set to ignore client certificates in its SSL settings. In addition, if your QPR ProcessAnalyzer installation is older than QPR ProcessAnalyzer 2016.3, change the secureWebHttpBindingConfiguration binding in bindings_https.config to contain
<security mode="Transport"> <transport clientCredentialType="None"/> </security>
instead of
<security mode="None" />
Q: Opening QPR UI login page gives an Internal Server Error message, and in addion, the following error message is in GlassFish log: org.glassfish.deployment.common.DeploymentException: Error in linking security policy for EnticeServices -- Inconsistent Module State.
A: Solution is to delete GlassFish cache as follows: Stop the QPR UI Windows Service, delete contents of folder C:\Program Files\QPR Software Plc\QPR UI\Glassfish\glassfish\domains\domain1\generated\ (but not the generated folder itself), and start QPR UI Windows Service again. (Technical description for the error situation is that the EnticeServices application deployment failed in GlassFish due to outdated information in cache.)