After Applying Changes to Oracle Reports Configuration Files, Unexpected Errors Are Generated (Config Files Become Corrupted) (Doc ID 604664.1)

Last updated on NOVEMBER 23, 2016

Applies to:

Oracle Reports Developer - Version to [Release Oracle9i to 11g]
Generic UNIX
Checked for relevance on 17-Jun-2015
Checked for relevance on 17-NOV-2016


Reports Server were working fine and suddenly, after applying some changes in the Oracle Reports configuration files like:

Reports 10g or 10gR2:

In 11g, these files are in a different path, i.e.:


Oracle Reports started failing with unexpected errors.

The unexpected errors are reproducible with the default in-process reports server or creating a new standalone report server (all reports server in the same ORACLE_HOME will depend on the same; if it was modified, all report servers will fail). There are several unexpected errors reported and they are reproducible running a simple report like the default test.rdf.

The most common error is usually related to corrupted file and it generates the following errors running

$cd $ORACLE_HOME/bin
$ -findAll

command not found $OH/bin/ line 5:
: command not found $OH/bin/ line 10:
: command not found $OH/bin/ line 13:
: command not found $OH/bin/ line 16:
': not a valid identifier $OH/bin/ line 17: export: `PATH
: command not found $OH/bin/ line 18:
: command not found $OH /bin/ line 19:
: command not found $OH/bin/ line 21:
$OH/bin/ $OH/b'n/ line 44: syntax error near unexpected token `in
$OH/bin/ $OH/b'n/ line 44: `case $RHVER in
Unrecognized option: -findAll
Could not create the Java virtual machine.

Other unexpected errors are:

1) generates an unexpected java exception running a simple test.rdf: server=repserver_name report=test.rdf destype=file desformat=pdf desname=/tmp/test.pdf

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=<memory_address>

The failed request creates an hs_err_pidXXX.log file

2) After changing REPORTS_PATH in, the default test.rdf generates a REP-159 error running from rwservlet URL, REP-82 and REP-110 errors are behind the scenes:


Terminated with error: <br>REP-159:

After enabling the trace option more specific errors REP-82 and REP-110 were gathered in rwEng-0.trc file:

[2008/6/25 11:43:59:286] Error 50103 (C Engine): 11:43:59 ERR REP-0082: Error executing SCA utility.
REP-0110: Unable to open file ''. scaba 12
[2008/6/25 11:43:59:308] Debug 50103 (EngineImpl:run): CRunReport returns:5
[2008/6/25 11:43:59:312] Debug 50103 (EngineImpl:run): Quit
[2008/6/25 11:43:59:314] Exception 159 ():
oracle.reports.RWException: IDL:oracle/reports/RWException:1.0
at oracle.reports.engine._EngineClassImplBase._invoke(
[2008/6/25 11:44:19:901] Debug 50103 (EngineImpl:setCommandLine): Running

 IMPORTANT: The reports work fine if the complete path is passed instead of using REPORTS_PATH because it was the only environment variable that was changed in

3) If  the script included in <Note 261879.1> "Configuration Script to add Common Windows Fonts to Unix 9i, 10g R1 and 10g R2 Reports Server" (fontsolutions.tar) was decompressed completely on a MS Windows platform and ftp'ed to Unix/Linux in binary mode, the report server could generate the following error trying to use one of the new fonts installed:

REP-1352: The fonts specified for this report cannot be found for the character set specified by NLS_LANG.

4) After editing $ORACLE_HOME/reports/conf/<repserver_name>.conf file, it could happen that reports server is unable to startup and it just displays:

REP-50002: Server is shutting down

 5) If tnsnames.ora or sqlnet.ora were modified or FTP'ed in binary mode, Reports Server displays the following errors when a report is executed:

REP-501 and specific ORA-12154 behind scenes


Oracle Reports configuration files were recently modified.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms