My Oracle Support Banner

Saving OHS Configuration Files in Fusion Middleware Control Errors with “Operation setFileContents failed” (Doc ID 2854365.1)

Last updated on MARCH 14, 2024

Applies to:

Enterprise Manager for Fusion Middleware - Version 12.2.1.3.0 and later
Oracle HTTP Server - Version 12.2.1.3.0 and later
Information in this document applies to any platform.

Symptoms

Oracle Enterprise Manager Fusion Middleware Control (EM FMWc) has the ability to modify Oracle HTTP Server (OHS) configuration. When attempting to modify OHS configuration files (ssl.conf, httpd.conf, mod_wl_ohs.conf) through Advanced Configuration, the "Operation setFileContents failed." error displayed as shown by the screen snapshot:

The issue can be reproduced at will with the following steps:

1. Access the EM FMWc page

2. Navigate to the Oracle HTTP Server home page

3. Select Administration and Advanced Configuration from the HTTP Server menu

4. From Select File to edit and click Go.

5. Select Lock & Edit

6. Make any changes in file

7. Click Apply and error occurs

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.