Running Report Using Rwservlet And Passing A Key From “cgicmd.dat” File Returns Error “REP-52005-Specified Key Does Not Exist In Key Map File” (Doc ID 462180.1)

Last updated on NOVEMBER 30, 2016

Applies to:

Oracle Reports Developer - Version 10.1.2.0.2 and later
Information in this document applies to any platform.



Symptoms

When using cgicmd.dat file to pass Username/Password@database connect string, and when running the report via rwservlet and passing key:

http://host:port/reports/rwservlet?cmdkey=keyname&server=servername&destype=
cache&desformat=pdf&report=reportname.rdf&cmdfile=/directory/cmdfile.view¶mform=no

The following error occurs:

REP-52005: The specified key 'keyname' does not exist in key map file.

The file cgicmd.dat, has the following entries

KEYNAME1: userid=username/password@database %*
KEYNAME2: userid=username/password@database %*

and rwservlet.properties (10Gr2) includes:

RELOAD_KEYMAP=YES

Cause

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