java.lang.RuntimeException: BIB-7000 Cannot access

In this forum Oracle Applications DBA's, System Administrators & Developers can share their knowledge/issues.
Post Reply
admin
Posts: 2063
Joined: Fri Mar 31, 2006 12:59 am
Location: Pakistan
Contact:

java.lang.RuntimeException: BIB-7000 Cannot access

Post by admin »

<font color="red">java.lang.RuntimeException: BIB-7000 Cannot access X Server</font id="red">

The solution to above mentioned error in Oracle Applications 11.5.10.2 is as below,

The error is due to configuration problem of xserver. So just you need to do is to follow the following metalink note,

Subject: ATTEMPING TO VIEW GRAPHICS OR TRYING TO CONFIGURE THE JAVA MAILER HANGS
Doc ID: Note:351839.1 Type: PROBLEM
Last Revision Date: 31-MAY-2006 Status: PUBLISHED

In this Document
Symptoms
Changes
Cause
Solution

Applies to:
Oracle Applications Manager - Version: 11.5.9 to 11.5.10
This problem can occur on any platform.
Symptoms

On entering Oracle Applications Manager (OAM) to check on the status of workflow components (Workflow Manager, "Go" button), under Workflow Metrics, both Work Items and Agent Activity displayed the message

"BIB-7000 Cannot access X Server"

Navigating to OAM to view Activity Monitors or other Graphics also reflect the same error.

Also, Configuring the Java Mailer in OAM - the page hangs and then displays Page Cannot be Displayed
Changes
OAM requires the jserv.properties "wrapper.env=DISPLAY" setting to be consistent throughout the application environment and also it needs to correspond to the correct server where xhost is enabled.
Cause

The DISPLAY setting is not consistent throughout the environment or xhost has not been enabled on the server where the DISPLAY setting is directed to.

If DISPLAY is set and xhost was enabled, another cause is, that the xhost session was not left running on the Xserver machine.
Solution

As ROOT on the Console machine with the Graphics Display

1) $ uname -n

> record the exact value returned

2) - For LINUX:

$ cd /usr/X11/bin
or
$ cd /usr/X11R6/bin

- For SOLARIS:

$ cd /usr/openwin/bin

- For AIX & HP-UX see Note: 361535.1 to setup 'Headless' support for xServers



3) $ xhost +

> LEAVE THIS SESSION OPEN ON CONSOLE -- DO NOT "SU APPLMGR"

4) Open a New Session and signon as APPLMGR

$ adstpall.sh apps/apps

> Stop all the services on all nodes in the environment

5) Open a New Session and signon as APPLMGR or clear the env of the previous APPLMGR session


$ DISPLAY=<same value as #1>:0.0; export DISPLAY

> See the ":0.0" , make sure that is specified

6) $ echo $DISPLAY

> ex:

$ <hostname from #1>:0.0

7) On all the Nodes in this environment -- if this is a multiple node, then repeat on cp, forms/web & admin nodes

$ cd $IAS_ORACLE_HOME/Apache/Jserv/etc

$ cp jserv.properties jserv.properties.bak

8) $ vi jserv.properties

> Search down for "wrapper.env=DISPLAY"

9) Reassure or change the setting to match the following syntax ( repeat on cp, forms/web & admin nodes)

wrapper.env=DISPLAY=<hostname from #1>:0.0

> The hostname value in the DISPLAY must be the same in all nodes, it must be set to the value of "uname -n"
from step #1

> Setting this in OAM > AutoConfig > Edit Parameters and then running AutoConfig on all nodes
with accomplish the same thing


10) Restart all the services in the same APPLMGR sessions
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest