Error REP-52005 while using cgicmd.dat file

Hi,
Per Oracle manual I added a simple key to cgicmd.dat
statement: userid=uid/passwd@db report=stmt2.rdf
Stopped and Started all 10gAS processes which includes Report service via OEM.
Then I used the following URL in the browser,
http:\\bigdaddy\reports\rwservlet?statement, I received the following error:
REP-52005: The specified key statement does not exist in the key map file.
Then I used one of the Oracle suppled keys such as oraqa. I received the simnlar message that it could not find key oraqa.
What I did I need to do to fix this ?
Thanks.
Suresh

Hi all,
Resolved my own problem. You need to add %* as the last item of your key. From the documentation in cgicmd.dat it is not quite clear what it is supposed to do. So when I changed my key to
statement: userid=uid/passwd@db report=stmt2.rdf %*
it worked fine. Also, at least in 10gAS Midtier, you do not need to stop and start OC4J, OC4J_BI_forms or the report server as many have you believe.
I checked if the key has been parsed by using the showmaps URL and clicking on parsed map file entries to see if the key has everything that I wanted it to have without re-starting anything.
http://bigdaddy/reports/rwservlet/showmaps
Suresh

Similar Messages

  • Using the cgicmd.dat file

    In using the 9i report (pdf) format as a portlet
    for portal we are required to supply the OID resource
    under the ssoconn parameter . Since the numbers of users
    are high and there seems to be no way other assigning programatically the resources ..
    am wondering if i could use the cgicmd.dat file
    i have seen examples for thing for jsp's but i dint see one for the rdf( pdf) formats run via rwservlet..
    any pointer examplese would greatly help..
    deepa

    Hi Deepa,
    Take a look at the cgicmd.dat file that comes with the iAS installation
    ORACLE_HOME/reports/conf/
    This file has examples for rwservlet as well as for jsp's. To quote from this file:
    ; Oracle9iAS Reports Services ;
    ; CGICMD.DAT ;
    ; Example CGICMD.DAT Mapping file ;
    ; Syntax:
    ; KEY : VALUE
    ; Where:
    ;     KEY - the first argument of the rwservlet URL request (case insensitive).
    ;     VALUE - command line parameters and/or special parameters.
    ; Keys can be referenced in the following ways:
    ; 1. Parameter on command line to the reports servlet
    ; e.g. http://machine/servlet/rwservlet?KEY
    ; 2. Parameter on command line to a reports jsp
    ; e.g. http://machine/mydir/myreport.jsp?KEY
    ; 3. Within a reports jsp - in the rw:report custom tag
    ; e.g. <rw:report parameters="KEY">
    Also, you could take a look at the Publishing reports manual, Section 8.9
    http://otn.oracle.com/documentation/reports.html
    Navneet.

  • Cgicmd.dat file usage

    Hi,
    I am generating my reports using the cgicmd.dat file in pdf format and my application is in web-based html.
    I have a report which passes 4 paramters and 2 of it is considered imortant (and dynamic according to user interaction in the begining) and should not be changed by the users. I have found out that by using the parameter forms like %P, %PT and %PC entry in the cgicmd.dat file would means that I cannot use other user parameters in the file entry, and so also in the reverse situation.
    But when I tried to put both of them (%P and %1..%4 for user parameters) together, then call up the reports with the parameter values included in the entry (like http://server/repserver/?repname+value1+v2+v3+v4), I seems to be able to pass the important values to the displayed parameter form while hiding them and asking the users to enter only the other 2 parameters which they may change.
    But then, when I submit the form, it gave me an error:
    ======================================================
    Error: The requested URL was not found, or cannot be served at this time.
    Oracle Reports Server CGI - Error occurred while parsing the Reports Server command line.
    ======================================================
    May anyone assist me on how I can make use of the parameter form and also passing in some values that are dynamic and cannot be changed by the users?
    Thank you in advance for your assistance!

    FYI...
    Our dev and prod are at the same levels. I was able to narrow the problem down further, however. It appears to be a row size problem. If I force a rownum < 1500 in my report's query, then it works fine on dev and prod. If I force a rownum < 2000, then it crashes the engine on prod. The reason it works on dev and not on prod is that the amount of data on dev is far less than prod. Also, I ran the report locally on my PC against the prod database and it gave me a little more info. The report appears to query all of the rows fine, but it gets an ArrayIndexOutOfBounds exception. Since the report comes back with all rows just fine using a DESFORMAT other than DELIMITED, I believe it's a bug with applying the delimiter when formatting the report. The admins say that we are a few patchsets behind, so I'm guessing it is a fixed bug already.
    Thanks.

  • Issues while generating Schema DAT files

    We are facing two type of issues when generating Schema ".dat" files from Informix Database on Solaris OS using the
    "IDS9_DSML_SCRIPT.sh " file.
    We are executing the command on SOLARIS pormpt as follows..
    "IDS9_DSML_SCRIPT.sh <DBName> <DB Server Name> ".
    The first issue is ,after the command is excuted ,while generating the ".dat" files the following error is occuring .This error is occuring for many tables
    19834: Error in unload due to invalid data : row number 1.
    Error in line 1
    Near character position 54
    Database closed.
    This happens randomly for some schemas .So we again shift the script to a different folder in Unix and execute it.
    Can we get the solution for avoiding this error.
    2. The second issue is as follows..
    When the ".dat" files are generated without any errors using the script ,these .dat files are provided to the OMWB tool to load the Source Model.
    The issue here is sometimes OMWB is not able to complete the process of creating the Source Model from the .dat files and gets stuck.
    Sometimes the tables are loaded ,but with wrong names.
    For example the Dat files is having the table name as s/ysmenus for the sysmenus table name.
    and when loaded to oracle the table is created with the name s_ysmenus.
    Based on the analysis and understanding this error is occuring due to the "Delimiter".
    For example this is the snippet from a .dat file generated from the IDS9_DSML_SCRIPT.sh script.The table name sysprocauthy is generated as s\ysprocauthy.
    In Oracle this table is created with the name s_ysprocauthy.
    s\ysprocauthy║yinformixy║y4194387y║y19y║y69y║y4y║y2y║y0y║y2005-03-31y║y65537y║yT
    y║yRy║yy║y16y║y16y║y0y║yy║yy║y╤y
    Thanks & Regards
    Ramanathan KrishnaMurthy

    Hello Rajesh,
    Thanks for your prompt reply. Please find my findings below:
    *) Have there been any changes in the extractor logic causing it to fail before the write out to file, since the last time you executed it successfully? - I am executing only the standard extractors out of the extractor kit so assumbly this shouldnt be a issue.
    *) Can this be an issue with changed authorizations? - I will check this today, bt again this does not seem to be possible as the same object for a different test project i created executed fine and a file was created.
    *) Has the export folder been locked or write protected at the OS level? Have the network settings (if its a virtual directory) changed? - Does not seem so because of the above reason.
    I will do some analysis today and revert back for your help.
    Regards
    Gundeep

  • Terminated with error: REP-1924: Cannot locate the font file 'Arialbd.ttf'

    hi all
    i am using Application server 10g R2 while running report i am getting the following error
    Terminated with error: REP-1924: Cannot locate the font file 'Arialbd.ttf'
    i configured the Reports_Path
    with C:\windows\fonts if anyone faced the same problem plz help me.

    hi
    if you have problem you can post your own thread and we will try to help you.
    sarah

  • How to update cgicmd.dat file during runtime?

    I'd like to know how do update cgicmd.dat file during runtime. For example, I run a report one.jsp as
    http://<machine>:<port>/reports/rwservlet?one.jsp&USERID=uid/pwd@db&DESTYPE=cache&mode=bitmap&desformat=htmlcss
    within this report there is a hyperlink to open another report named two.jsp.
    before creating this hyperlink, I'd like to update cgicmd.dat file with passed in userID, pwd, and connection, so two.jsp can use this key for userinfo
    so I can create hyperlink as follows
    srw.set_hyperlink('/reports/rwservlet?report=two.jsp'||
    '&cmdkey=userinfo&DESTYPE=cache&mode=bitmap&desformat=htmlcss');
    Thanks

    To my knowledge the cgicmd.dat is only read when the OC4J starts, so you would have to come up with another solution. Using Single-Sign-On (SSO) is quite a good idea, and it's there for cases like this.
    Regards,
    Martin Malmstrom

  • Manupulation in  cgicmd.dat file...!

    Hi all I'm using Forms/Reports 9.0.1 ..My question is wether is it possible to make a key in cgicmd.dat file for "HOST" i.e.
    mykey:http://local11:8888/reports/rwservlet
    can i make a key like that ...???? If yes, then how to use it ... I have referred the mannual for that it says 'Key must be defined for parameters after the "?" sign in URL '...
    I want to hide the HOST path in URL of web.show_document command..
    Anybody,
    Thanx in advance
    Regards
    Percy

    Thanx for reply ..
    can i make key for whatever written on LEFT of "?"...
    Let me tell u first why i want to do this .. It might be possible that my host server might get changed in future & if it happens i ve to change the host name in every form where i wrote the web.show_document statement ... that could be a big headache...i dont want to do that..... So instead of modifying the statement in every form can i make a KEY in cgicmd.dat so that i will modify only the KEY and subsequent changes will reflect in every form...!!

  • Unknown error has occurred while discovering dynamically-related files

    Hi all.
    Having trouble running Joomla files in Dreamweaver CS5.
    "unknown error has occurred while discovering dynamically-related files"
    Setup testing server and have checked settings again and again. Localserver is XAMPP and everythig running as it should there. Am I missing a DW extention?
    Would be very greatful for any pointers!
    Regards,  Dominic

    Success!
    I have made so many changes to settings meanwhile and become so fustrated that i´m not sure what triggered it to work anymore.
    In anycase I enjoyed my day here in Adobe Forums. I did alot of reading (alot!) and would like to say thanks to SnakEyez again aswell as thanks to all the other users I have taken notes from.
    here are the settings I have ended up with:
    - Joomla1.6 installed in c:xampp/htdocs/ (no subfolders)
    - local site folder and testing server folder are C:\xampp\htdocs\. (settings phpmysql and testing server applied)
    - site specific code hints: joomla
    - windows firewall disabled / zonealarm shutdown (creating program rule and opening port did not work)
    - unchecked "use alternative port 80" in skype (dnt forget to restart)
    I could install and run Joomla in localhost before, but couldn´t open in DW until making these changes.
    Dreamweaver CS5 and xampp-win32-1.7.4
    Hope this helps the next guy.
    Regards,  Dominic

  • Using a data file in jsp to generate xml file

    hi
    can anybody help me to
    how to use a data file generated in unix in jsp to generate xml file.
    by using beans i am able to generate the xml.
    thanks in advance.

    You haven't provided adequate relevant information. If you need help provide proper relevant details.

  • Error IFS 20010 while compiling the java files

    Hello Friends,
    The error "IFS 20010 - Failed to get PropertyResorceBundler".....
    This error is generating while compiling the java files which will connect to the iFS with the username, password and the servicename. this error points to the servicename not found.
    I will be very greatfull for any hits or help.....

    Samir,
    You must include $ORACLE_HOME/ifs1.1/settings in you classpath.
    Thank You
    Brian Ball
    null

  • Getting Error in Infoview while using Date Range Filter in SAP BW Universe

    Hi,
    I have created a date range Filter in My Universe
    <FILTER KEY= "@Select(Debit Memo Date\L01 Debit Memo Date)">
    <CONDITION OPERATORCONDITION= "Between">    
    <CONSTANT CAPTION= "[ZFDAY_MTH].[LEVEL01]"/>
    <CONSTANT CAPTION= "[ZCBDATE].[LEVEL01]"/> </CONDITION></FILTER>
    It was Parsed "OK" without any errors.
    When I used this filter in my report it does not return any records, while there are some records which I had verified earlier. When I include the two fields "[ZFDAY_MTH].[LEVEL01] and "[ZCBDATE].[LEVEL01] in My Report with the filter I am getting the following error -
    A database error occured. The database error text is: A pointer intended for use is NULL. pConstantOperand is NULL in SAPSQLExpressionEvaluator::getOperandsFromCondition, exception raised at line 125 of file source/sofasqlexpressionevaluatorbase.cpp. (WIS 10901)
    If I remove the filter and run the report , it gives me the expected results.
    Please help me if anyone has faced this issue earlier.
    Thanks ,
    Pankaj Goswami

    Hi,
    How about using this code.
    I have not tested but I think if we follow this syntax pattern, it might work
    <FILTER KEY="[Debit Memo Date\L01 Debit Memo Date].[LEVEL01].[TECH_NAME]"><CONDITION OPERATORCONDITION="Between"><CONSTANT TECH_NAME="@select(ZFDAY_MTH.LEVEL01','D',,mono,free)"/><CONSTANT TECH_NAME="@select(ZCBDATE.LEVEL01','D',,mono,free)"/></CONDITION></FILTER>
    Regards,

  • Error while using  odi out file

    hi all
    Am using odi out file for displaying error in separate file.
    If i give the path of the file in target file directly am getting the error properly loading inside text file.
    Is it possible to assign the target file path in variable and use that variable in target file of odi out file ?
    can u pls tel me whether using variable for target file location is possible, if so please tel how to do it
    Edited by: user12209948 on Sep 26, 2011 2:16 AM

    Hi,
    use the physical schema and get the path using ODIRef Functions for example ODIFileMove
    OdiFileMove "-FILE=<%=odiRef.getSchemaName(""FILE_LOGICAL"", ""D"")%>/#PROJ_X.vFileName" "-TOFILE=<%=odiRef.getSchemaName(""FILE_LOGICAL"", ""D"")%>/#PROJ_X.vFDir/#PROJ_X.vNewFile" "-OVERWRITE=NO" "-CASESENS=NO" "-RECURSE=NO"
    This command moves the file with vFileName to a vNewFile in a another directory
    FILE_LOGICAL is the logical schema name mapped to physical schema say your target directory ( eg C:\test )
    Same logic applies to ODIOutFile
    Edited by: john z on Sep 26, 2011 9:41 PM

  • 11i Login Page is showing 'Error on Page' while using IE 7

    Hi DBAs,
    I am using Oracle 11.5.10.2 with DB 10.2.0.4 (Single Instance). The EBS is on RUP6 and using JDK 1.6.0_12.
    I was using Firefox and not getting any issue. I used first time IE-7 (7.0.5x) to access the application. I noticed that Pressing the 'Login' button on Login Page , it was saying in the left bottom of the IE says 'Error on page' and was not navigate to any page or did not perform any action.
    I verified all the services and everything was OK. While using Firefox , I was able to navigate the application w/o any issue.
    Using IE 7 , I am able to access
    http://host.domain:8000/OA_HTML/fndvald.jsp?username=sysadmin&;password=sysadmin
    Most of the stuff seems to be working fine while logging in using above URL but the 'GO' buttons are throwing same error in IE 'Error on page'. Rest of the Bottons like 'Edit Navigator' , 'Edit Favorites' are working fine but when on any Page I press the 'Go' button then IE showing Error. It seems to me that when a button need to navigate to next page then IE saying 'Error on page' but when a button have to lunch a new page it is working fine.
    All the responsibilities and links are working fine. Application Navigation using Firefox is working absolutely fine.
    Seeking your advise and suggestions to resolve the issue.
    Thanks
    -Samar-

    Hi Samar,
    You can clear the cache as follows (login as applmgr user, and source the application env file):
    $ cd $COMMON_TOP/_pages
    $ rm -R *
    ML Note: 285218.1 is not helpful as I am on later version of EBS (11.5.10.2 with RUP6 and Developer6i Patchset 19). At Client side I am using Windows XP SP3 with IE 7.0.5.x with JInit 1.3.21 and JRE 1.6.0.12.Did you review the steps under "Recommended MSIE Browser Settings" section?
    Can you reproduce the issue with JInitiator? If yes, any errors in the JInitiator console window? Enable debug (you may also enable trace for Sun JRE) and see if any errors are reported there.
    Note: 549423.1 - How to enable tracing and logging for Sun JRE (Native Plug-in)
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=549423.1
    Regards,
    Hussein

  • Error in CC while using SAP_XI_IDOC/IDOCXmlToFlatConvertor module

    Hi,
    We are getting an error in CC monitoring while using SAP_XI_IDOC/IDOCXmlToFlatConvertor module for converting IDoc XML to flat file. Below is the error text:
    "Message processing failed. Cause: com.sap.conn.idoc.IDocParseException: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZDELVRY3>: state=READING_FIELD_VALUE_TAG, charPosition=7404, lineNumber=2, columnNumber=7366"
    Any suggestion how to resolve it.
    Regards
    Pravesh

    Please check the OSS note below and install the mentioned patch accordingly:
    [Note 1278687 - Exception in the IDocXMLProcessor (IDOC_ERROR_PARSE_FAILURE)|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1278687]
    If it persists, check if are there any mapping errors on the Audit Logs for the failed message.

  • Error rendering Chart when using decimal data

    I am using XML Publisher Desktop 5.6.2 on MSWin with Regional and Language Options = Slovenian.
    I have problem with rendering Chart when source xml data file contains decimal data points
    (eg: SALARY = 6938.55). For example, if I want to show sum or average of SALARY
    on the chart I get the error message, something like:
    XML Parsing Error: no element found
    Location: file:///C:/PROGRA~1/Oracle/XMLPUB~1/TEMPLA~1/tmp/xdoimg_7K9huZ0hRQ47453.svg
    Line Number 1, Column 1:
    If I use only integer values everything is ok. It looks like there is kind of mis-interpretaion of
    decimal character (dot vs comma - Slovene language uses comma as decimal char and
    dot as separator char). I tried this with both Preview Options Locale:
    English/United States [en-us] and Slovenian/Slovenia [sl-si] with the same result.
    My Java Home is C:\Program Files\Java\jre1.5.0_06\.
    Any idea how to fix this ?

    Hey Gunter,
    Thanks much, that did work.
    The other error I spoke of was fixed with the new database, so apparently the two errors I spoke of weren't related.
    You seem to be a good help to this forum, thank you for that.... fixing my problem relieved me from much stress.
    Cheers,
    Derek Miller
    Dreamweaver Enthusiast

Maybe you are looking for