Always consider the .WAR file that has been recently released for deployment. The .WAR file that is released will be available in the following path:
/usr1/SIR08872/mydomain/canvas_domain/Upload/expertctstudio.war
Setting up Canvas Studio (ExpertCTStudio) involves the following steps:
Folder Creations (ExpertCTStudio)
The following folders and files should be available in the mentioned path to launch ExpertCTStudio.
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/ExpertModeCTStudio/Temp/
- <ServerPath>/mydomain/Canvas_Domain/Canvas/ExpertModeCTStudio/forReports/
- <ServerPath>/mydomain/Canvas_Domain/Canvas/ExpertModeCTStudio/forReports/TempXML/
- <ServerPath>/mydomain/Canvas_Domain/Canvas/ExpertModeCTStudio/forReports/TempXML/cibreport.xsl
- <ServerPath>/mydomain/Canvas_Domain/Canvas/ExpertModeCTStudio/forReports/TempXML/cibdetailreport.xsl
- <ServerPath>/mydomain/Canvas_Domain/Canvas/ExpertModeCTStudio/forReports/TempXML/cibreport_rtl.xsl
- <ServerPath>/mydomain/Canvas_Domain/Canvas/ExpertModeCTStudio/forReports/TempXML/cibdetailreport_rtl.xsl
- <ServerPath>/mydomain/Canvas_Domain/Canvas/ExpertModeCTStudio/forReports/TempXML/CanvasFopUserconfig.xml
- <ServerPath>/mydomain/Canvas_Domain/Canvas/ExpertModeCTStudio/forReports/TempXML/intellect.jpg
Configuring the Properties Files (ExpertCTStudio)
The following properties needs to be configured:
ctstudiodatabaseconfig.properties
File Location: expertctstudio.war\WEB-INF\lib\expertctstudioResource.jar\ctstudiodatabaseconfig.properties
The value of the key should be,
CT_FW_DATABASE_VENDOR = <<Database vendor name>>
For example:
CT_FW_DATABASE_VENDOR = oracle
ctstudioimplementation.properties
File Location: expertctstudio.war\WEB-INF\lib\expertctstudioResource.jar\ctstudioImplementation.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\ExpertModeCTStudio\forReports\TempXML\fonts\tradbdo.xml" embed-url = "file:\\\D:\Canvas\ExpertModeCTStudio\forReports\TempXML\fonts\tradbdo.ttf" kerning = "yes"> <font-triplet name = "Traditional Arabic" style = "normal" weight = "bold"/> </font> <font metrics-url = "file:\\\D:\Canvas\ExpertModeCTStudio\forReports\TempXML\fonts\trado.xml" embed-url = "file:\\\D:\Canvas\ExpertModeCTStudio\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/ExpertModeCTStudio/forReports/TempXML/fonts/tradbdo.xml" embed-url = "file:///usr1/SIR08872/mydomain/Canvas_domain /Canvas/ExpertModeCTStudio/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/ExpertModeCTStudio/forReports/TempXML/fonts/trado.xml" embed-url = "file:///usr1/SIR08872/mydomain/Canvas_domain /Canvas/ExpertModeCTStudio/forReports/TempXML/fonts/trado.ttf" kerning = "yes"> <font-triplet name = "Traditional Arabic" style = "normal" weight = "normal"/> </font>