Operating System - HP-UX
1830227 Members
2642 Online
109999 Solutions
New Discussion

Re: BadWindow (invalid Window parameter) reporting from an Oracle application.

 
skt_skt
Honored Contributor

BadWindow (invalid Window parameter) reporting from an Oracle application.

OS HP-UX 11.11

The oracle application works with the Xserver(Xhp) on the server.There are some service requests processed from the application everyday and 1% of the total requests fails with the below errors.It is often observed during the peak hours.(pointing to failures are more when there are more requests).

We had used the xscope tool to capture the information passing between the Xprogram and the oracle application.

As far as our analysis till now , this is what we understood.--"the application requesting WindowID's which are no longer available."

Spawned Process 12465
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 15 (X_QueryTree)
Resource id in failed request: 0x5400001
Serial number of failed request: 737
Current serial number in output stream: 737
below is the startup script used.
-rwxr-xr-x 1 bin bin 2291 Jul 17 2002 /sbin/init.d/xvfb

Below is the xvfb configuration file [/root] cat /etc/rc.config.d/xvfb
START_XVFB=1
USE_XHP=1

XINIT=/usr/contrib/bin/X11/xinit
XVFB_XINITRC=/etc/X11/xvfb.xinitrc

PERL=/usr/contrib/bin/perl
XVFB_DAEMON=/etc/X11/xvfb_daemon.pl

XHP=/usr/bin/X11/Xhp
XVFB=/usr/bin/X11/Xvfb

XVFB_USER="daemon"
XVFB_GROUP="daemon"
XVFB_DISPLAY=15
XVFB_MMAP="/var/X11/Xserver"
#XVFB_ARGS="-screen 0 1024x768x8 -fbdir ${XVFB_MMAP}"
XVFB_ARGS="-screen 0 1024x768x8 -fbdir ${XVFB_MMAP} -sp /etc/X11/SecurityPolicy"
XVFB_PIDFILE=/var/run/Xvfb_${XVFB_DISPLAY}.pid
XVFB_LOG=/var/X11/Xserver/logs/Xvfb_${XVFB_DISPLAY}.log

Did any one phase any similar issue?I am hiding some more inforamtion9from the troubleshooting phase) as i dont want you to limit to a particular direction.

Who ever participate(spend time) will be rewarded.

3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: BadWindow (invalid Window parameter) reporting from an Oracle application.

Shalom,

This is another in a long list of problems with X windows settings and Oracle report.

This will be solved with adjustments in the xvfb settings.

Nothing jumps off the screen at me right now.

You may find searching the Oracle tech forums will find you a configuration file that defeats this problem.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Yogeeraj_1
Honored Contributor

Re: BadWindow (invalid Window parameter) reporting from an Oracle application.

hi,

where is the error reported? on the server or client?

what type of application is this(oracle forms, oracle reports, etc)?

revert

kind regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
skt_skt
Honored Contributor

Re: BadWindow (invalid Window parameter) reporting from an Oracle application.

SEP,

Do u recollect anything specific xvfb setings? like Filedescriptors or screen size etc..

Error is reported in oracle appliation(report/form) logs. Oracle program will be at the client side and the Xprogram will be the server.