Weblogic 12.2: AdminServer overwrite by restarting all your changes in the OHS mod_wl_ohs.conf file

For using Forms and Reports in Weblogic 12.2 with OHS server we changed Oracle HTTP Server Configuration in the $DOMAIN_HOME/config/fmwconfig/components/OHS/instances/ohs1/mod_wl_ohs.conf according the Oracle Documentation. But after the restarting of AdminServer the configuration file was always overwritten with default content and all our changes were gone.

By the starting of AdminServer we get following lines in the logs:

 NMProcess: Mär 24, 2017 7:51:15 AM oracle.ohs.plugin.nodemanager.OhsReplicationPlugin commit

 NMProcess: INFORMATION: Instanz ohs1 wird aktualisiert

We found, that the content of above mod_wl_ohs.conf file will be overwritten with the content of same named file from $DOMAIN_HOME/config/fmwconfig/components/OHS/ohs1 directory.

So for changes in the OHS configuration you need to edit only the file $DOMAIN_HOME/config/fmwconfig/components/OHS/ohs1/mod_wl_ohs.conf and copy it into the instance/ohs1 directory.

 

Oracle Reports: REP-56133: access is denied to write to the specified location

Last weeks I had a new challenge for me. Migration of a Forms & Reports Application to Weblogic Server version 12c. They are enough documentation about installation and configuration of Forms & Reports (I used very good Installation step-by-step manual written by Borys Neselovskyi ). In my blog I will describe only the problems encountered by the migration.

The first one: REP-56133 error by report generating.

Application: The migrated application include a forms application, batch jobs and uses standalone report server for reports generating and. The batch Jobs generate Reports in for the jobs defined output subdirectories of the directory /reports/output. After the migration we got a “REP-56133: access is denied to write to the specified location” error by report generating. In the current Reports version you need to explicit allowing access on the non-default directories for reading and writing. The solution is the adding the following text lines into the standalone server configuration file $DOMAIN_HOME/config/fmwconfig/components/ReportsServerComponent/<Rep.Serv.>/rwserver.conf

<folderAccess>

      <write>/reports/output</write>

</folderAccess>

Note: the downloaded Report Version (12.2.1.2) have a bug, if you are using wildcards for folder access (/reports/output/*). Wildcards don’t work and you get the error REP-56133 message. For solving this problem you need to install the Oracle Report Patch 22334822.