Setting up the CTModelHouse application involves the following steps:
...
Anchor |
---|
| FolderCreations_ctmodelhouse |
---|
| FolderCreations_ctmodelhouse |
---|
|
Folder Creations
The 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
Image Added
Anchor |
---|
| ConfiguringthePropertiesFiles_ctmodelhouse |
---|
| ConfiguringthePropertiesFiles_ctmodelhouse |
---|
|
Configuring the Properties Files
The following properties files needs to be configured:
- databaseconfig.properties
- MyImplementation.properties
- CanvasFopUserconfig.xml
Anchor |
---|
| databaseconfig_properties_ctmodelhouse |
---|
| databaseconfig_properties_ctmodelhouse |
---|
|
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.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 |
...
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.
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.
...
...
...
...