Installing the Catalog API
When you install Logi JReport Designer, the Catalog API is also installed at the same time. After installation, you will have the following components in
- log4j-core-2.7.jar and log4j-api-2.7.jar (for Logi JReport logging system)
- sac-1.3.jar (for installing Catalog API with Design API product)
In the second week of December 2021, a Log4j vulnerability was announced that may affect some customers using our products. Resolving/mitigating this issue is a high priority! We will continue to issue information to help you with this vulnerability. For more information, select this link: Statement on Log4j and Log4Net Vulnerabilities.
The Catalog API class is stored in the archive file report.jar. You will need to do the two steps below before you can compile and run the program:
- Set the class path environment variable. Append the following string to your class path that starts the Catalog API (make sure that the path of JREngine.jar is before that of report.jar):
- In your Java program you must set the licensed user and Design API license key.
DesignerUserInfo userInfo=new DesignerUserInfo("UID","Design API Key");
- Set the reporthome parameter equal to the root path of Logi JReport Designer. You can set this in your environment or with the -Dreporthome argument to your JVM.
Logi JReport Server also includes the Catalog API. If you prefer to use the libraries from Logi JReport Server, include the jar file <server_install_root>\lib\JRESServlets.jar in your class path instead of report.jar. You would then need to use the Server Design API license key rather than the Design API license key.
Please sign in to leave a comment.