Using Multiple Versions of General Interface
This release of the application ships with General Interface (GI) version 3.6.1. If you have custom pages created using another version of GI, complete these steps.
Procedure
- Create a new directory in any location. For example, C:\NewGI.
- Copy your GI project to the newly created directory including JSXAPPS folder. For example, copy the $MQ_HOME/common/standard/samples/JSXAPPS folder to the NewGI directory.
- Copy the required GI libraries, GI_HOME/JSX folder, to the newly created directory. For example, copy C:\tibco\gi\3.4\JSX to the C:\NewGI folder.
- Expand the ECM.ear using the jar command as follows.
-
Expand EML.war using the jar command as follows.
- Create a temporary directory newEML and expand ECM.ear/EML.war to this directory.
-
Execute the following command to expand EML.war into newECM/newEML/EML.war.
$JAVA_HOME/bin/jar -xvf ../ECM.ear/EML.war
cd EML.war.
You should see two folders JSXAPPS and JSX. The JSXAPPS folder contains the application files of General Interface (GI) and the JSX folder contains the GI libraries.
- Copy the newly created directory under EML.war.
- Copy the custom GI project to the JSXAPPS folder under the EML.war folder.
-
Use the jar command and re-create the EML.war and the ECM.ear as follows.
-
From the EML.war folder, execute following command to re-create EML.war file in ECM.ear folder.
$JAVA_HOME/bin/jar -cvf ../../ECM.ear/EML.war ./*.*
-
Change to the ECM.ear folder:
cd ../../ECM.ear
-
From the ECM.ear folder, execute the following command to re-create the ECM.ear file:
$JAVA_HOME/bin/jar -cvf ../ECM.ear ./*.*
-
From the EML.war folder, execute following command to re-create EML.war file in ECM.ear folder.
- Verify that the NewGI/JSX and NewGI/JSXAPPS are in EAR (ECM.earEML.warNewGIJSX and ECM.earEML.warNewGIJSXAPPS).
- Set the relevant properties using the Configurator (Advanced > UI Customization). Change the URL accordingly for JSX path. For example:
- Redeploy and restart the application server.
- Login to the application.
- Navigate to the screen which you have redirected to a custom page. For example, if you have redirected the Add Record screen to a custom page, navigate to the Add Record screen. The custom GI page should be displayed.
Copyright © Cloud Software Group, Inc. All rights reserved.