Logger.dtd (The system cannot find the file specified) while running a Jenkins job with Katalon plugin

While running a Jenkins job with Katalon plugin, I’m getting the folloewing error:

What is logger.dtd and what can be done to fix the error? Thanks.

In any Katalon Studio project with some Test Suite, you would find a file like

<projectDir>/Reports/yyyyMMdd_hhmmss/TestSuiteCollectionName/TestSuiteName/yyyyMMdd_hhmmss/execution0.log

The execution0.log file starts with the following lines:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE log SYSTEM "logger.dtd">
<log>
<record>
....

In the 2nd line, you can find logger.dtd. This is it.

1 Like

You do not have to fix it. Please find the message is categorized as WARN. This message does not make your test to fail. You can safely ignore the message.

You can do nothing to erase the WARN message. This WARN message is caused by a bug somewhere inside the com.kms.katalon.core.logging package. Only Katalon developer can work on it. You can do nothing to fix the bug.

1 Like

Thank you, @kazurayam . The problem is that HTML report and CSV report are not generated because of thar error.

Thank you again, @kazurayam . It’s related to Can org.apache.httpcomponents.httpclient_4.5.1.jar be replaced with org.apache.httpcomponents.httpclient_4.5.13.jar and the .classpath be modified? - #34 by kazurayam. I’m just trying to follow your advice:

In the stacktrace message, I found some lines that tells classes of com.ctc.wstx.sr.* packages were called.

I have no idea what com.ctc.wstx.sr.* package is. I suppose, the Katalon developers did not know them and did not intend to call the com.ctc.wstx.sr.* classes.

I guess, the classpath of your project is messed up because you put twilio-8.34.1-jar-with-dependencies.jar in the Drivers folder. The com.ctc.wstx.sr.* packages were, I guess, introduced by the jar you put. So you need to remove the “with-dependencies.jar” out of the classpath.

No, you have a misunderstanding. HTML report and CSV report are not generated because you messed up the classpath by putting the “with-dependencies.jar” into the Drivers folder. That WARN message is not the root cause.

I put the “with-dependencies.jar" into the Drivers folder because by definition it has all the dependencies needed to work with Twilio. What else can be done if you need those dependencies?

As I wrote before, there is no problem with running KSE locally with the “with-dependencies.jar" in the Drivers. The problem is with running it on Jenlkins with Katalon plugin, which means that the root cause is that something is wrong with INTEGRATION KATALON WITH JENKINS.