Sidebar

Why am I getting an alert that the org.apache.commons.logging.* java options are set?

0 votes
423 views
asked Feb 28, 2019 by ben-s-7515 (12,640 points)

When I log into QIE, I am getting the following message: "The java options -Dorg.apache.commons.logging.* are set.  These options can cause serious performance problems.  These options should only be used temporarily for debugging and testing purposes.  Please remove these options as soon as possible."

Why do I get this message?

1 Answer

0 votes

In earlier version of QIE the only way to debug HTTP requests and responses was to enable these options.  However, in more recent versions of the software the HTTP logging has become more robust and these options are not as effective as the native logging built into the engine.

The java options also force QIE to log a lot of data to the qieLauncher.log.0 file and in environments where HTTP requests and made often, the disk can become backed up trying to write this data out to the log file.  This can slow down the entire engine and have a cascading performance effect.

We recommend that these options are removed from the startup parameters:

-Dorg.apache.commons.logging.simplelog.log.org.apache.http
-Dorg.apache.commons.logging.simplelog.showdatetime
-Dorg.apache.commons.logging.Log

In Windows, open the "QIE Service Manager", and click the "Startup" tab.  In the Arguments section remove the highlighted lines below, then click Apply.

For Mac and Linux users go to your QIE home directory and edit the start.sh file.  Remove the same options from this file, and save the file.

After making these changes, restart the QIE service to disable these options.

answered Feb 28, 2019 by ben-s-7515 (12,640 points)
...