Setting up the CTModelHouse application involves the following steps:

...

  1. databaseconfig.properties
  2. MyImplementation.propertiesCanvasFopUserconfig.xml

Anchor
databaseconfig_properties_ctmodelhouse
databaseconfig_properties_ctmodelhouse
databaseconfig.properties

...

Code Block
languagebash
CT_FW_DATABASE_VENDOR = oracle

Make sure that the data source is given as mentioned in the following snippet: 

Code Block
languagebash
CT_FW_DATASOURCE = ModelHouseCT

Make sure that the data source name is given as mentioned in the following snippet: 

Code Block
languagebash
DATASOURCE_NAME = ModelHouse

Make sure that the USER_TXN_NAME.JNDIName is given as mentioned in the following snippet: 

Code Block
languagexml
USER_TXN_NAME.JNDIName = java:comp/UserTransaction

...

Code Block
languagebash
# 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

...

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
languagexml
<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.

...

languagexml

...