Perform the steps mentioned in the following sections to launch CTModelHouse application.
- The .WAR file that is released will be available in the path:
/usr1/SIR08872/mydomain/canvas_domain/Upload/CTModelHouse.war - Always consider the .WAR file that has been recently released for deployment.
Folder Creations
The following folders and files should be available in the mentioned path to launch CTModelHouse.
The following <ServerPath> mentioned refers to the Environment's IP where the application is going to be deployed. For example: <ServerPath> can be /usr1/SIR08872/.
- <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/Temp/
- <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/forReports/
- <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/forReports/TempXML/
- <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/forReports/TempXML/cibreport.xsl
- <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/forReports/TempXML/cibdetailreport.xsl
- <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/forReports/TempXML/cibreport_rtl.xsl
- <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/forReports/TempXML/cibdetailreport_rtl.xsl
- <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/forReports/TempXML/CanvasFopUserconfig.xml
- <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/forReports/TempXML/intellect.jpg
Configuring the Properties Files
Configure the properties files related to database, work folder, and font.
databaseconfig.properties
File location: CTModeHouse.war\WEB-INF\lib\CTModelHouseResources.jar\databaseconfig.properties
The value of the datasource key should be as follows:
CT_FW_DATABASE_VENDOR = <<Database vendor name>>
For example:
CT_FW_DATABASE_VENDOR = oracle
MyImplementation.properties
File Location: CTModelHouse.war\WEB-INF\lib\CTModelHouseResources.jar\MyImplementation.properties
Configure the instance level as well as centralized work folders:
# This property provides the path for instance level folder, # for example CT_WORK_FOLDER_PATH=/usr1/SIR08872/mydomain/Canvas_domain/canvas # This property provides the centralized folder path, for example CT_WORK_CENTRALIZED_FOLDER_PATH=/usr1/SIR08872/mydomain/Canvas_domain/canvas
CanvasFopUserconfig.xml
File Location: <Centralized ServerWorkfolder>/forReports/TempXML/CanvasFopUserconfig.xml
Configure the fonts file path as follows:
For Windows: Assuming the centralized working folder is D:\Canvas.
<font metrics-url = "file:\\\D:\Canvas\Modelhouse\forReports\TempXML\fonts\tradbdo.xml" embed-url = "file:\\\D:\Canvas\Modelhouse\forReports\TempXML\fonts\tradbdo.ttf" kerning = "yes"> <font-triplet name = "Traditional Arabic" style = "normal" weight = "bold"/> </font> <font metrics-url = "file:\\\D:\Canvas\Modelhouse\forReports\TempXML\fonts\trado.xml" embed-url = "file:\\\D:\Canvas\Modelhouse\forReports\TempXML\fonts\trado.ttf" kerning = "yes"> <font-triplet name = "Traditional Arabic" style = "normal" weight = "normal"/> </font>
For Non-Windows: Assuming the centralized working folder is /usr1/SIR08872/mydomain/Canvas_Domain/Canvas.
<font metrics-url = "file:///usr1/SIR08872/mydomain/Canvas_domain /Canvas/Modelhouse/forReports/TempXML/fonts/tradbdo.xml" embed-url = "file:///usr1/SIR08872/mydomain/Canvas_domain /Canvas/Modelhouse/forReports/TempXML/fonts/tradbdo.ttf" kerning = "yes"> <font-triplet name = "Traditional Arabic" style = "normal" weight = "bold"/> </font> <font metrics-url = "file:///usr1/SIR08872/mydomain/Canvas_domain /Canvas/Modelhouse/forReports/TempXML/fonts/trado.xml" embed-url = "file:///usr1/SIR08872/mydomain/Canvas_domain /Canvas/Modelhouse/forReports/TempXML/fonts/trado.ttf" kerning = "yes"> <font-triplet name = "Traditional Arabic" style = "normal" weight = "normal"/> </font>