Setting up the CTModelHouse application involves the following steps:
- Creating Folders
- Configuring Properties Files
Note |
---|
- 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.
|
Anchor |
---|
| FolderCreations_ctmodelhouse |
---|
| FolderCreations_ctmodelhouse |
---|
|
Folder CreationsThe following Make sure that the folders and the files shown in the following screenshot should be available in the mentioned path to launch CTModelHouse.
File Location: <ServerPath>/mydomain/Canvas_Domain/Canvas/Modelhouse/forReports/TempXML
Note |
---|
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 database
Image Added
Anchor |
---|
| ConfiguringthePropertiesFiles_ctmodelhouse |
---|
| ConfiguringthePropertiesFiles_ctmodelhouse |
---|
|
Configuring the Properties FilesThe following properties files needs to be configured:
- databaseconfig.properties
- MyImplementation.properties
Anchor |
---|
| databaseconfig_properties_ctmodelhouse |
---|
| databaseconfig_properties_ctmodelhouse |
---|
|
databaseconfig.propertiesFile location: CTModeHouse.war\WEB-INF\lib\CTModelHouseResources.jar\databaseconfig.properties
...
Code Block |
---|
|
CT_FW_DATABASE_VENDOR = oracle |
Make sure that the data source is given as mentioned in the following snippet:
Code Block |
---|
|
CT_FW_DATASOURCE = ModelHouseCT |
Make sure that the data source name is given as mentioned in the following snippet:
Code Block |
---|
|
DATASOURCE_NAME = ModelHouse |
Make sure that the USER_TXN_NAME.JNDIName is given as mentioned in the following snippet:
Code Block |
---|
|
USER_TXN_NAME.JNDIName = java:comp/UserTransaction |
Anchor |
---|
| MyImplementation_properties_ctmodelhouse |
---|
| MyImplementation_properties_ctmodelhouse |
---|
|
MyImplementation.propertiesFile Location: CTModelHouse.war\WEB-INF\lib\CTModelHouseResources.jar\MyImplementation.properties
...
Code Block |
---|
|
# This property provides the path for instance level folder,
# for example CT_WORK_FOLDER_PATH=/usr1/SIR08872/mydomain/Canvas_domain/canvas/Modelhouse
# This property provides the centralized folder path, for example
CT_WORK_CENTRALIZED_FOLDER_PATH=/usr1/SIR08872/mydomain/Canvas_domain/canvas |
CanvasFopUserconfig.xml
...
...
Configure the fonts file path as follows:
For Windows: Assuming the centralized working folder is D:\Canvas.
Code Block |
---|
|
<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.
...
...
...