otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire


Reports / FTI and Other Analytics Integrating OTM / G-Log with Oracle Reports, FTI (OBIEE) and creating custom reports / analytics.

Tags: ,

Closed Thread
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old September 19th, 2007, 06:40
Member
 
Join Date: May 2007
Location: Mumbai, India
Posts: 34
Thanks: 9
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
naveengupta4s is on a distinguished road
Send a message via AIM to naveengupta4s Send a message via Yahoo to naveengupta4s Send a message via Skype™ to naveengupta4s
Post [SOLVED] Error in Reports Generation

Hi,

When I'm trying to generate a report from OTM using Oracle Reports I'm getting the following error:

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

The same can be seen in the attachment. We are using OTM 5.5 CU3 running in Linux RHEL ES4 environment. Oracle Forms & Reports Server 10g is also installed on Linux.

Appreciate your comments.

Thanks in advance.

Regards,
Naveen
Attached Files
File Type: doc REP_52005.doc (146.5 KB, 16 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2 (permalink)  
Old September 20th, 2007, 02:22
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 847
Blog Entries: 7
Thanks: 53
Thanked 205 Times in 124 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Error in Reports Generation

Naveen,

This error occurs when the cgicmd.dat file hasn't been modified (or is incorrectly modified) on the Oracle Reports server. The process for completing this is in section 3, Installing OTM, of the Administration Guide, under the Installing OTM on the Reports Server section. In the most recent version of the v5.5 Guide, this is step #28:

Quote:
Edit or create the cgicmd.dat file on the Reports Server (under reports10g/reports/conf). The
file should look like the following. Keep in mind that the format of this file is important and
spaces and blank lines should be just as they are below. Replace <db_connect_string> with
the connect string for your OTM database, as configured in your TNSNAMES.ORA file.
Code:
all=: %*  
hide_pass_key: userid=glogdba/glogdba@<db_connect_string> %*
Note: Everything from hide_pass_key to %* should be on one line.
Also - ensure that you restart your Oracle Reports server after making this update.

Hope this helps!
--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3 (permalink)  
Old September 20th, 2007, 08:35
Member
 
Join Date: May 2007
Location: Mumbai, India
Posts: 34
Thanks: 9
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
naveengupta4s is on a distinguished road
Send a message via AIM to naveengupta4s Send a message via Yahoo to naveengupta4s Send a message via Skype™ to naveengupta4s
Re: Error in Reports Generation

Hi Chris,

Thanks very much fro your solution. That really helped a lot. Further to that I noted that certain reports are not being generated by OTM.
For Eg. Planned vs Actual Arrival.

Upon triggering this report from the Order Base Actions, following message is displayed:
REP-110: Unable to open file 'planned_vs_actual_eta'

Your comments.

Regards,
Naveen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4 (permalink)  
Old September 20th, 2007, 08:48
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 847
Blog Entries: 7
Thanks: 53
Thanked 205 Times in 124 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Error in Reports Generation

Naveen,

The first think I would check that you've configured the Oracle Reports server conf file correctly. The process for completing this is in section 3, Installing OTM, of the Administration Guide, under the Installing OTM on the Reports Server section. In the most recent version of the v5.5 Guide, this is step #27:
Quote:
Go to the Oracle Reports HOME directory. Change to the reports/conf/ directory and edit the rep_<REPORTS_SERVERNAME>.conf file. This is an XML file. Make the following changes:
• Change the “engine id” property as follows:
<engine id=”rwEng” class=”oracle.reports.engine.EngineImpl” initEngine=”10”
maxEngine=”20” minEngine=”10” engLife=”50” maxIdle=”30” callbackTimeOut=”90000”>

• Modify the “SourceDir” property
<property name=”sourceDir” value=”<otm_install_path>/glog/reports”/>
You'll need to restart your Oracle Reports instance after making this change.

Next, check the file and directory permissions for your OTM Reports server installation. If you're running on any type of Unix, the file and directory permissions don't get setup correctly to allow this to work. Use the following commands to get things setup correctly, assuming you have your OTM_HOME variable set (or just replace it in the commands):
Code:
chmod -R 755 $OTM_HOME
chmod -R 777 $OTM_HOME/rptapache/htdocs
If you're running on Windows -- then we may have to go back to the drawing board.

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5 (permalink)  
Old October 16th, 2007, 17:30
Member
 
Join Date: May 2007
Location: India
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
sknmail@rediffmail.com is on a distinguished road
Send a message via Yahoo to sknmail@rediffmail.com
Re: Error in Reports Generation

Hi Chris,

With reference to the original issue mention in http://www.otmfaq.com/forums/f28/err...eneration-518/, we have a specific issue related to same problem mentioned in this link.

The configuration we have is a single report server have two report service instance running (Instance) for e.g. rep_server1 and rep_server2. Things are working perfectly from Standalone report as per OTM administration guide (Running test.rdf on these report instances), however the only additional thing we did apart from OTM admin guide is in CGICMD.dat file, we declared the variable as hide_pass_key_rep_server1 and hide_pass_key_rep_server2 and their respective values. I hope you understand this config we did till now.

Now when I restart all the respective servers of OTM, on running the report I receive the same error "REP-52005: The specified key hide_pass_key does not exist in key map file." on OTM UI.

Now yes your are right that you are thinking that hide_pass_key is not present in this configuration. However I tried looking on OTM app, web, report config properties files. There is a mention in glog.common.properties for variable "p_rep_userid=hide_pass_key". Do you think by modifying this to respective values in same file or overriding this variable in glog.properties should resolve this issue on running the report?

Appreciate your help if you can get me your suggest or any link which can help me out.

Thanks and regards,
Suresh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6 (permalink)  
Old October 16th, 2007, 17:44
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 847
Blog Entries: 7
Thanks: 53
Thanked 205 Times in 124 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
Re: Error in Reports Generation

Suresh,

You're definitely on the right track -- however, you'll want to put the updated property into the "Custom Properties" section of your glog.properties file, so that it will override the default setting in glog.common.properties. You always want to make your changes in glog.properties, rather than the other files, as they will often get replaced during patches, upgrades, etc.

So in glog.properties, you'd have one of the following (depending on your OTM instance):
Code:
p_rep_userid=hide_pass_key_rep_server1
or
Code:
p_rep_userid=hide_pass_key_rep_server2
Also - make sure the web and app servers each have the same respective property defined.

Thanks,
Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7 (permalink)  
Old October 16th, 2007, 18:57
Member
 
Join Date: May 2007
Location: India
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
sknmail@rediffmail.com is on a distinguished road
Send a message via Yahoo to sknmail@rediffmail.com
Re: Error in Reports Generation

Thanks Chris very much.

We would be doing this configuration and verify if we get rid of this error.

Thanks and regards,
Suresh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8 (permalink)  
Old October 17th, 2007, 13:37
Member
 
Join Date: May 2007
Location: India
Posts: 69
Thanks: 1
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 2
sknmail@rediffmail.com is on a distinguished road
Send a message via Yahoo to sknmail@rediffmail.com
Re: Error in Reports Generation

Hi Chris,

This solution resolved our issue. Thanks very much for the solution confirmation.

Regards,
Suresh
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error configuring Oracle Reports with OTM sknmail@rediffmail.com Reports / FTI and Other Analytics 17 June 5th, 2008 23:08
Reports development - testing error sridhartylam Reports / FTI and Other Analytics 3 February 8th, 2008 20:22
which should preceed - Itineraries or shipment generation from a consol in a charter pradeepsundar.v Order Processing 0 January 24th, 2008 13:03
Business Number Generation neelimachenta Execution 5 June 25th, 2007 19:57
Error while generating reports soujanya Reports / FTI and Other Analytics 1 April 27th, 2007 17:23



All times are GMT. The time now is 03:35.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37