The PIX/PDQ projects need to be built and deployed in a specific order. Unless you specify otherwise, the installer takes care of this process when it installs the projects. If you opt to not build and deploy the projects from the installer, build scripts are provided so you can easily build and deploy the projects without being concerned about doing it in the correct order. You can also use these scripts if you update any of the PIX/PDQ projects.
The PIX/PDQ projects have several dependencies on one another. If you make changes to a project, you should rebuild and redeploy all projects using the scripts provided to ensure that it is done in the correct order and that no components are missed.
Navigate to the location where you installed the PIX/PDQ projects, and then to /hcpbuild.
To build the projects, do the following:
For Windows, open runBuild.bat in a text editor. For UNIX or Mac OS, open runBuild.sh in a text editor.
Verify the values of the following properties, and update them if needed:
GLASSFISH_HOME – The GlassFish server home directory for the GlassFish ESB installation; for example, C:\GlassFishESBv22\glassfish..
NETBEANS_HOME – The NetBeans home directory for the GlassFish ESB installation; for example, C:\GlassFishESBv22\netbeans..
ADMIN_USER – The login ID of the GlassFish admin user. The default login ID is admin.
ADMIN_PORT – The GlassFish server admin port.
ADMIN_HOST – The name of the server on which the GlassFish server for GlassFish ESB is installed. Unless it is a remote server, you can specify localhost.
Save and close the file.
From a command prompt, type runBuild.bat (for Windows) or runBuild.sh for UNIX.
To deploy the projects after building them, do the following:
The PIX Console WAR file is included in the PIX/PDQ Manager installation in case you should ever need to redeploy the console.
Launch the GlassFish Admin Console.
In the left navigation panel, expand Applications and then select Web Applications.
A list of web applications appears.
Do one of the following:
If the console is still deployed but needs to be redeployed, click Redeploy in the Action column next for pixconsole.
The Redeploy Enterprise Applications/Modules page appears.
If the console is no longer deployed, select the check box next to pixconsole and then click Deploy in the table header.
The Deploy Enterprise Applications/Modules page appears.
In the Location area, select Packaged File to be Uploaded to the Server.
Click Browse, and then navigate to glassfish-home/adsdons/ihe and select pixconsole.war.
Click OK.