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 July 3rd, 2007, 04:33
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
[SOLVED] Oracle Reports on AIX

I've been fighting an Oracle Reports installation on AIX. Everything has been configured correctly, but every time I run a report, it hangs for about 1 minute and then returns with the following error:
Code:
REP-52266: The in-process Reports Server rep_OTMTEST_REPSVR_HOME failed to start.java.lang.InterruptedException: JVMLK007: operation interrupted
After searching around Metalink, i found Doc #382822.1, which explains exactly why this isn't working. Basically the issue is that the IBM JDK doesn't support headless generation of graphics, so you need to install and configure an XWindows server and hack Oracle Reports to use it. What is this?!?! It's like jumping back to OTM v4.0. Anyways, for your reference, the full details are below

------ Disclaimer: Oracle's Copyright, reproduced for informational purposes. ------
Applies to

Oracle Reports Developer - Version: 10.1.2.0.2
AIX5L Based Systems (64-bit)

Symptoms
Before executing test.rdf report, OC4J_BI_FORMS is up and running and you are able to execute getserverinfo or showjobs urls for the default in-process reports server:

a) b) Executing "opmnctl status" shows OC4J_BI_FORMS up and running, in "Alive" status.

c) Running test.rdf shows REP-52266 and after that, OC4J_BI_Forms could shows status "Stop" executing "opmnctl status"
d) Any executed report displays error messages as follows:
Quote:
REP-52266: The in-process Reports Server <repservername> failed to
start.java.lang.InterruptedException: JVMLK007: operation interrupted
OR
Quote:
REP-52266: The in-process Reports Server <repservername> failed to
start.oracle.reports.RWException: IDL:Oracle/reports/RWException:1.0
OR
Quote:
REP-52266: The in-process Reports Server <repservername> failed
to start.org.omg.CORBA.OBJECT_NOT_EXIST:
Trace from server: -703082801 at host <ip-address>
org.omg.CORBA.OBJECT_NOT_EXIST: SERVANT_NOT_FOUND (1)
Changes
Fresh installation using the default in-process reports server in AIX

Cause Reports Manual "Oracle® Application Server Reports Services Publishing Reports to the Web"
Environment Variables ) -> REPORTS_DEFAULT_DISPLAY ->
"Usage Notes" indicated REPORTS_DEFAULT_DISPLAY=YES new functionality is not available in AIX box:

"...This feature is not available on the IBM AIX platform due to lack of functionality in the IBM JDK 1.4 (does not support headless option). For this reason, the dependency on DISPLAY still exists on AIX.
To revert to the dependency on DISPLAY and use screen fonts (old font look up algorithm):
Set REPORTS_DEFAULT_DISPLAY=NO
Remove the screenprinter.ppd entry in the uiscreenprint.txt file.
Set the DISPLAY variable to the active X-Windows display surface.

Solution
To implement the solution, setup DISPLAY enviroment variable instead of the new headless REPORTS_DEFAULT_DISPLAY option executing the following steps:

1. Backup $ORACLE_HOME/bin/reports.sh and $ORACLE_HOME/opmn/conf/opmn.xml configuration files

2. Stop OC4J_BI_FORMS were repserver is installed; in-process reports server is a child process of OC4J_BI_FORMS.

3. Open reports.sh and setup the following environment variables:

DISPLAY=<ip-address>:0.0 ; export DISPLAY

REPORTS_DEFAULT_DISPLAY=NO; export REPORTS_DEFAULT_DISPLAY

Save the changes.

NOTE: If you do not have Motif installed in your box, you can use XVFB as alternative. You should startup XVFB in AIX as suggested in Note:200474.1 "Comprehensive REP-3000 Troubleshooting and Overview Guide" -> "E) Rep-3000 even with DISPLAY pointing to XVFB process"

4. Open opmn.xml located in $ORACLE_HOME/opmn/conf and look for process-type id="OC4J_BI_Forms"

Change DISPLAY environment variable from the default value:

<process-type id="OC4J_BI_Forms" module-id="OC4J">
<environment>
<variable id="DISPLAY" value="localhost:0"/>
<variable id="LIBPATH"
value="$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:$ORACLE_HOME/jdk/jre/lib/sparc"/>
</environment>


To:

<process-type id="OC4J_BI_Forms" module-id="OC4J">
<environment>
<variable id="DISPLAY" value="<ip-address>:0.0"/>
<variable id="LIBPATH"
value="$ORACLE_HOME/lib32:$ORACLE_HOME/lib:$ORACLE_HOME/network/lib:$ORACLE_HOME/jdk/jre/lib/sparc"/>
</environment>


5. Startup OC4J_BI_FORMS and test again the default in-process reports server, it should work now:
------ Disclaimer: Oracle's Copyright, reproduced for informational purposes. ------

Lesson learned - AIX and OTM (or Oracle Reports) is not the best of choices... (i.e. DON'T DO IT!)

Hope this helps,

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com

Last edited by chrisplough : July 3rd, 2007 at 04:39.
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
[SOLVED] HTML Formatting issues with Oracle Reports 10.1.2.0.2 chrisplough Reports / FTI and Other Analytics 8 April 7th, 2008 15:07
[SOLVED] Error in Reports Generation naveengupta4s Reports / FTI and Other Analytics 7 October 17th, 2007 13:37
Install Oracle Reports - Force Port Mapping chrisplough Installation and Upgrades 0 June 30th, 2007 06:11
[SOLVED] Fixing OTM Oracle Reports after Patch Installation - Fixing File Permissions chrisplough Patches 0 June 13th, 2007 13:14



All times are GMT. The time now is 03:43.
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