Xvfb X-Server

Dear All,
I have problem when running Xvfb command.
I have to run this command to fix REP-3000 error.
we use SunOS 5.8, Our reports server version is from Oracle 9IAS service and we are not running any patch.
When i run Xvfb command on server it's showing error :
=======================
fatal server error
Can not establish any listening sockets
make sure an X server isn't already running
21598
=======================
the syntax i'm using to run the Xvfb is :
===============================
XVFB_HOME=/usr/local/xvfb
$XVFB_HOME/Xvfb :1 -co $XVFB_HOME/rgb -fp $XVFB_HOME/fonts/misc/,$XVFB_HOME/fonts/Speedo/,$XVFB_HOME/fonts/Type1/,$XVFB_HOME/fonts/75dpi/,$XVFB_HOME/fonts/100dpi/ -ac -screen 0 1024x768x8 -sp $XVFB_HOME/SecurityPolicy &
================================
May be any body in this forum can give the link where can i download Xvfb that working fine.
By the way,
How to enable the xhost ?? because i read some post that suggest enabling xhost, i already try run the Xclock command, and it show the clock on the server (Im my opinion the XServer is running if the Xclock is run), we are using KDE desktop on the server.
Anybody can help Us ?
Thanks
Regards
Nifer

I am running the report server from 9iAS Release 2.
I had a xvfb that worked with the version from 9iAS but my new report server doesn't work.
I point it to a development box and it works.
I downloaded the version you refered to and it doesn't work either.
Do you have any ideas? xclock seems to reun without errors.
I am runing Solaris 8.
Hi Junifer,
First off, make sure you have a compatible xvfb solution. Not all of the work with Reports. You can download one from OTN here:
http://otn.oracle.com/products/ias/ias_utilities.html#xvfb
Also, you may want to look at metalink article 181244.1 for more information. While the information in this article is written for Oracle Applications, most of it is applicable here, too.
regards,
Stewart

Similar Messages

  • How to start Xsun without mouse and keyboard?

    I'm trying to run a second Xserver on a solaris 8 machine, but when I start Xsun I always get "failed to initialize core device".
    I've tried plugging in a USB mouse and use kmdconfig to setup OWconfig, but this did not work. I've also tried to fool Xsun by telling it to use a serial mouse and then softlink /dev/tty03 to a console/stdout but this causes Xsun to hang after starting. I can see the second display go dark and then nothing happens. If I do a ctrl^c I will get "failed to initialize core device" printed.
    Has anyone here done something similar?? Please share your stories/solutions..
    Thanks

    I don't know if this is related to your case, but Xsun will not start on a headless server since there's no video device attached.
    Maybe this can shed some light:
    Enable X Server on Headless System
    On headless systems, The Xsun(1) X server does not run by default because it
    cannot find any graphics devices. In such cases, the Xvfb(1) X server can be
    run instead. Selecting which X server to run entails modifying options for
    Xserver(1).
    This article explains how to enable a service running the Xvfb(1) X server via
    SMF on a headless system so that Xvfb(1) is always started upon reboot.
    Document Body:
    Usually, Xsun(1) is launched by dtlogin(1X). As there are no graphics devices
    on headless systems, dtlogin(1X) cannot launch Xsun(1) by default.
    However, by enabling the "svc:/application/x11/x11-server" service or its
    instance via SMF and setting it to run Xvfb(1) instead, a X server can be
    started for every system reboot.
    Below are two example procedures that enable an instance of the
    "svc:/application/x11/x11-server" service. You can choose either procedures.
    - Non-Interactive Setup -
    1. Create an instance for the "svc:/application/x11/x11-server" service.
    # svccfg -s svc:/application/x11/x11-server add Xvfb
    2. Add property group for "options".
    # svccfg -s svc:/application/x11/x11-server:Xvfb addpg options
    application
    3. Set the "options/server" property to run Xvfb(1).
    # svccfg -s svc:/application/x11/x11-server:Xvfb setprop
    options/server=astring: "/usr/openwin/bin/Xvfb"
    4. Set the "options/server_args" property to control access restrictions.
    This is optional.
    If you would like to disable access control restrictions (i.e. "xhost +"),
    you can specify the "-ac" option.
    # svccfg -s svc:/application/x11/x11-server:Xvfb setprop
    options/server_args=astring: "-ac"
    If you would like to enable access control restrictions (i.e. "xhost
    +<host_or_user_name>"), you do not need to specify any options. Clients (i.e.
    host or user) can run "xhost +<host_or_user_name>" to modify access control
    restrictions. Please refer to InfoDoc# 77005 for more details on how to use
    remote Xvfb(1) server.
    5. Enable the "svc:/application/x11/x11-server:Xvfb" instance.
    # svcadm enable svc:/application/x11/x11-server:Xvfb
    Regards,
    M

  • Does Xvfb server starting shuts down the other servers linked to it.

    We deploy our application using Weblogic server.We use Xvfb Server for rendering Digital Image.
    We could find that the Weblogic server is shutting down within an hour if we restart the Xvfb server.
    Can anyone clarify if there is any relation between restarting a Xvfb server and Weblogic server.
    Regards,
    Sridevi

    Since we dont have access to that machine currently, can you please list the possibilities of this problem.
    We will get back to you once we get the access.
    Regards,
    Sridevi.

  • Xvfb and Report Server

    Hello,
    I have a problem with Xvfb Server. I can't access reports files the requests are terminated with error :
    REP-3000: Internal error starting Oracle Toolkit.
    Even if the process Xvfb is started on the server.
    The display variable too is set correctly on the context_files
    Could you please give some help ?
    BR,
    Kamal

    As applmgr user, please confirm that you can issue "xclock" with no issues. Also, please issue "xhost +" as root user.
    https://community.oracle.com/search.jspa?peopleEnabled=true&userID=&containerType=&container=&q=REP-3000
    Configuring VNC Or XVFB As The X Server For Applications 11i (Doc ID 181244.1)
    Master Note : Comprehensive REP-3000 Troubleshooting and Overview Guide (Doc ID 200474.1)
    Thanks,
    Hussein

  • Windows developed report hangs on Unix Reports server ??

    Hi,
    We recently migrated from a Windows BI tier to HP-UX Itanium. The problem I have is that one particular report just hangs in the Unix reports server. The basics of the report are that it has repeating frames which displays three record blocks per page. I use a formatting trigger on a derived field to alternate the background colour of the frames.
    After making several modifications to the report I've discovered that the trigger to alternate the background colour is the issue. I can use the same field with a trigger to say conditionally display a field or hide another frame and that works ok. I can set the background of the frame to another colour and the report works fine.
    As soon as I use a formatting trigger to change the background it hangs.
    In terms of report development I'm stuck with only Windows as Report builder is not available for our platform so troubleshooting this is a tedious process.
    Has anyone seen anything like this before ????
    Cheers,
    Ron

    hello,
    oracle reports has always had this dependency. it needs the x environemtn for rendering of the output. so you need an active xsession for the reports server to point DISPLAY to.
    a possible work around is the use of a soft-terminal such as VNC or xvfb (see oracle9i application server release notes for details).
    regards,
    philipp

  • [Solved] Compiling Xorg-server 1.6.3.901.

    Hello Toaday I wanted to build new xorg-server package with this PKGBUILD:
    5 pkgname=xorg-server
    6 pkgver=1.6.3.901
    7 pkgrel=1
    8 pkgdesc="X.Org X servers"
    9 arch=('i686' 'x86_64')
    10 license=('custom')
    11 url="http://xorg.freedesktop.org"
    12 depends=('libxfont>=1.4.0' 'openssl>=0.9.8k' 'libpciaccess>=0.10.8' 'libxv>=1.0.4' 'pixman>=0.16.0' 'xkeyboard-config>=1.6' 'xorg-serve
    13 makedepends=('glproto' 'libx11>=1.2.2' 'mesa>=7.5.1' 'xf86driproto>=2.1.0' 'xtrans>=1.2.4' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'ren
    14 conflicts=('catalyst-utils<=9.2')
    15 options=('!libtool')
    16 provides=('x-server')
    17 groups=('xorg')
    18 install=xorg-server.install
    19 source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
    20 xorg-redhat-die-ugly-pattern-die-die-die.patch
    21 dpms-dont-reset-lastdeviceeventtime.patch
    22 dri2-dontcrash.patch
    23 xinerama.patch
    24 dga.patch
    25 xvfb-run
    26 xvfb-run.1)
    27 md5sums=('8d43c4cb43e6a10550e68fbbcad10e9d'
    28 '1a336eb22e27cbf443ec5a2ecddfa93c'
    29 '9ea2e9f5a7192da23c5c573545fe9836'
    30 '03cd32862fbfe5f493e108ee7205ade6'
    31 '060aaa85d64d26915783e9f6837a666c'
    32 'f426f93dfec972ba6f641a8e7d6a9256'
    33 '52fd3effd80d7bc6c1660d4ecf23d31c'
    34 '376c70308715cd2643f7bff936d9934b')
    35
    36 build() {
    37 cd "${srcdir}/${pkgname}-${pkgver}"
    38 # Get rid of the ugly pattern
    39 patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
    40
    41 # Build fixes for new protos
    42 patch -Np1 -i "${srcdir}/xinerama.patch" || return 1
    43 patch -Np1 -i "${srcdir}/dga.patch" || return 1
    44
    45 # Fixes from http://wiki.x.org/wiki/Server16Branch
    46 patch -Np1 -i "${srcdir}/dpms-dont-reset-lastdeviceeventtime.patch" || return 1
    47 patch -Np1 -i "${srcdir}/dri2-dontcrash.patch" || return 1
    48
    49 # Fix dbus config path
    50 sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
    51
    52 ./configure --prefix=/usr \
    53 --disable-dri2 \
    54 --disable-ipv6 \
    55 --disable-dri \
    56 --disable-dmx \
    57 --disable-xvfb \
    58 --disable-xnest \
    59 --disable-composite \
    60 --disable-xcsecurity \
    61 --enable-xorg \
    62 --disable-xephyr \
    63 --disable-glx-tls \
    64 --disable-kdrive \
    65 --enable-install-setuid \
    66 --disable-config-hal \
    67 --enable-config-dbus \
    68 --disable-record \
    69 --disable-xfbdev \
    70 --disable-xfake \
    71 --disable-xsdl \
    72 --disable-static \
    73 --sysconfdir=/etc/X11 \
    74 --localstatedir=/var \
    75 --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/shar
    76 --with-xkb-path=/usr/share/X11/xkb \
    77 --with-xkb-output=/var/lib/xkb \
    78 --without-dri-driver || return 1
    79
    80 make || return 1
    81 make DESTDIR="${pkgdir}" install || return 1
    82
    83 install -m755 "${srcdir}/xvfb-run" "${pkgdir}/usr/bin/" || return 1
    84 install -m644 "${srcdir}/xvfb-run.1" "${pkgdir}/usr/share/man/man1/" || return 1
    85
    86 rm -rf "${pkgdir}/var/log" || return 1
    87
    88 install -m755 -d "${pkgdir}/etc/X11" || return 1
    89 install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
    90
    91 # Needed for non-mesa drivers, libgl will restore it
    92 mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
    93 "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
    94
    95 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
    96 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
    And while compiling I got error:
    /home/user/abs/xorg-server/PKGBUILD: line 77: --with-xkb-path=/usr/share/X11/xkb: No such file or direcotry
    Last edited by SpeedVin (2009-09-06 14:00:23)

    Heh I missed some part of like like flamelab said , how I do that?
    Some time ago I created my own PKGBUILD for xorg-server and toady I want to update it becouse I see some difreces between my PKGBUILD and PKGBUILD from abs tree and I copy the difrrent line
    Thanks Perry3D and big thanks to flamelab.

  • [SOLVED] Trouble Building Xorg-Server 1.6.1-1 (Modified PKGBUILD)

    ever since the release of xorg-server 1.5.3, i've been using a modified
    PKGBUILD to build xorg-server sans hal and dbus.  (not gonna try
    justifying it again; that'd just lead to yet another flame war.)
    i've never had a problem until the 1.6.1-1 PKGBUILD, which adds the lines:
    libtoolize --force || return 1
    aclocal || return 1
    autoconf || return 1
    automake --add-missing || return 1
    after applying patches and before running the configure.  these added lines produce:
    libtoolize: putting auxiliary files in `.'.
    libtoolize: linking file `./ltmain.sh'
    libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
    libtoolize: rerunning libtoolize, to keep the correct libtool macros
    in-tree.
    libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
    hw/dmx/doc/Makefile.am:24: BUILD_LINUXDOC does not appear in AM_CONDITIONAL
    hw/dmx/doc/Makefile.am:27: BUILD_PDFDOC does not appear in AM_CONDITIONAL
    hw/xfree86/doc/sgml/Makefile.am:24: BUILD_LINUXDOC does not appear in
    AM_CONDITIONAL
    hw/xfree86/doc/sgml/Makefile.am:27: BUILD_PDFDOC does not appear in
    AM_CONDITIONAL
    ==> ERROR: Build Failed.
    Aborting...
    my modified PKGBUILD is build.  please note that i *have* tried
    reverting my changes (the commented patches), to no avail.
    as i'm pretty clueless vis-a-vis makefiles and the autoconf system,
    could somehow point me in the direction of a fix?
    many thanks,
    kludge
    # $Id: PKGBUILD 21903 2008-12-17 20:32:54Z jgc $
    # Maintainer: Alexander Baldeck <[email protected]>
    # Contributor: Jan de Groot <[email protected]>
    pkgname=xorg-server
    pkgver=1.6.1
    pkgrel=1
    pkgdesc="X.Org X servers"
    arch=('i686' 'x86_64')
    license=('custom')
    url="http://xorg.freedesktop.org"
    depends=('libgl' 'libxfont>=1.4.0' 'openssl>=0.9.8j' 'libpciaccess>=0.10.5' 'libxv>=1.0.4' 'pixman>=0.14.0' 'xcursor-themes' 'xkeyboard-config>=1.5' 'xorg-server-utils' 'xorg-fonts-misc' 'xbitmaps' 'diffutils')
    makedepends=('libx11>=1.2' 'mesa>=7.4' 'xf86driproto>=2.0.4' 'xtrans>=1.2.3' 'libxkbfile>=1.0.5' 'randrproto>=1.3.0' 'renderproto>=0.9.3' 'xcmiscproto>=1.1.2' 'bigreqsproto>=1.0.2' 'resourceproto>=1.0.2' 'videoproto>=2.2.2' 'compositeproto>=0.4' 'scrnsaverproto>=1.1.0' 'libxinerama>=1.0.3' 'xf86dgaproto>=2.0.3' 'recordproto>=1.13.2' 'libgl>=7.4' 'glproto>=1.4.9')
    #optdepends=( 'xf86-input-evdev: to provide input device hotplugging'
    # 'hal>=0.5.11: to provide input devices for hotplugging' )
    options=('!libtool')
    provides=('x-server' ) # 'xorg-server')
    conflicts=('catalyst-utils<=9.2')
    groups=('xorg')
    install=xorg-server.install
    source=(${url}/releases/individual/xserver/${pkgname}-${pkgver}.tar.bz2
    xorg-redhat-die-ugly-pattern-die-die-die.patch
    hal-wait.patch)
    md5sums=('ed0878bf32a24d4948c3b8a122a39eff'
    '1a336eb22e27cbf443ec5a2ecddfa93c'
    'f16d2caef84e1a9c4075b6c5e145512d')
    build() {
    cd "${srcdir}/${pkgname}-${pkgver}"
    # Get rid of the ugly pattern
    patch -Np3 -i "${srcdir}/xorg-redhat-die-ugly-pattern-die-die-die.patch" || return 1
    # Fix dbus config path - removed b/c no dbus config'd
    # sed -i -e 's/\$(sysconfdir)/\/etc/' config/Makefile.* || return 1
    # Revert waiting for hal, assume hal won't show up when initial connect fails
    # commented out b/c no hal config'd
    # patch -R -Np1 -i "${srcdir}/hal-wait.patch" || return 1
    libtoolize --force || return 1
    aclocal || return 1
    autoconf || return 1
    automake --add-missing || return 1
    # --enable-config-{dbus,hal} switched to --disable
    # to disable hotplugging and dependencies
    ./configure --prefix=/usr \
    --enable-ipv6 \
    --enable-dri \
    --disable-dmx \
    --enable-xvfb \
    --enable-xnest \
    --enable-composite \
    --enable-xcsecurity \
    --enable-xorg \
    --enable-xephyr \
    --enable-glx-tls \
    --enable-kdrive \
    --enable-install-setuid \
    --disable-config-hal \
    --disable-config-dbus \
    --enable-record \
    --disable-xfbdev \
    --disable-xfake \
    --disable-xsdl \
    --disable-static \
    --sysconfdir=/etc/X11 \
    --localstatedir=/var \
    --with-default-font-path=/usr/share/fonts/misc,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/TTF,/usr/share/fonts/Type1 \
    --with-xkb-path=/usr/share/X11/xkb \
    --with-xkb-output=/var/lib/xkb \
    --with-dri-driver-path=/usr/lib/xorg/modules/dri || return 1
    make || return 1
    make DESTDIR="${pkgdir}" install || return 1
    rm -rf "${pkgdir}/var/log" || return 1
    install -m755 -d "${pkgdir}/etc/X11" || return 1
    install -m755 -d "${pkgdir}/var/lib/xkb" || return 1
    # Needed for non-mesa drivers, libgl will restore it
    mv "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.so" \
    "${pkgdir}/usr/lib/xorg/modules/extensions/libglx.xorg" || return 1
    install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
    install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
    Last edited by kludge (2009-05-01 17:25:39)

    Not any help to your error but have you tried the one in aur with disabled dbus and hal?
    I've been using it for a week or so with no problems and it built fine.
    http://aur.archlinux.org/packages.php?ID=23750

  • ['Solved'] xorg-server 1.9.0-1 split into several xorg servers

    So what's up with the [Testing]'s xorg-server 1.9(.0-1) being split into xorg-server/-common/-devel/-xdmx/-xephyr/-xnest/-xvfb?
    Last edited by algorythm (2010-08-24 16:24:35)

    nvidia doesn't get built, just repackaged, so it doesn't require any xorg-server-* stuff to build. The -devel package is required to build drivers from source. The xorg-server and xorg-server-common packages are the usual packages that will become installed on all desktop systems.

  • Printing barcodes on 10g server running on Solaris OS

    Hi,
    We are using Reports 10g (10.1.2) on Solaris Operating System (SPARC 32-bit).
    We wanted to print barcodes using Java bean method. It prints fine in windows, but giving below error when run on web using rwservlet. Actually we are using virtual display using xvfb.
    My question is: Do we need to have physical display by setting up another machine like in 6i ?
    Can we achieve the rendering of barcode image using virtual display ?
    What are the setup steps needs to be followed if rendering is possible with out using physical display ??
    Thanks somuch!!!
    The ERROR is:
    REP-108: MSG-00100: < No Exception Message >
    MSG-00100:
    java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)
    MSG-00100: java.awt.Window.<init>(Window.java:274)
    MSG-00100: java.awt.Frame.<init>(Frame.java:401)
    MSG-00100: java.awt.Frame.<init>(Frame.java:366)
    MSG-00100: oracle.apps.barcode.BarCodeMaker.renderBarCode(BarCodeMaker.java:84)
    MSG-00100: oracle.reports.engine.EngineImpl.CRunReport(Native Method)
    MSG-00100: oracle.reports.engine.EngineImpl.run(EngineImpl.java:437)
    MSG-00100:
    oracle.reports.engine._EngineClassImplBase._invoke(_EngineClassImplBase.java:90)
    MSG-00100:
    com.sun.corba.se.internal.corba.ServerDelegate.dispatch(ServerDelegate.java:353)
    MSG-00100: com.sun.corba.se.internal.iiop.ORB.process(ORB.java:280)
    MSG-00100:
    com.sun.corba.se.internal.iiop.RequestProcessor.process(RequestProcessor.java:81
    MSG-00100:
    com.sun.corba.se.internal.orbutil.ThreadPool$PooledThread.run(ThreadPool.java:10
    6)
    REP-0108: File '/tmp/srw002114024' not found.

    Thanks Sooooomuch!!!!!!
    we are running Xvfb located at /usr/openwin/bin/
    In particular, we are starting the Xvfb server with the following command:
    nohup Xvfb :1 -screen 0 1600x1200x32 &
    We are then setting the DISPLAY on the command line and in the reports.sh
    script using: DISPLAY=10.25.3.123:0.0; export DISPLAY
    We verify that it recognizes the display using "xset -q"
    In reports.sh file We entered below line:
    ## REPORTS_DEFAULT_DISPLAY=NO; export REPORTS_DEFAULT_DISPLAY
    DISPLAY=10.25.3.123:0.0; export DISPLAY
    But still we are getting java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:121)
    MSG-00100: java.awt.Window.<init>(Window.java:274) Errors.
    Is there anything wrong in the above setup ?
    Please advice.
    Thanks Soomuch,
    Ram.

  • Flexunit on a headless mac server

    Has anyone successfully ran flexUnit on a headless mac?
    im running ant builds via Jenkins, it will build a flex app no problem, however when I try to build the sample flexunit CI app I get the followin error
    [flexunit] LSOpenURLsWithRole() failed with error -10810 for the file /Library/Jenkins/jobs/flexUnitSampleCIProject/workspace/target/bin/TestRunner.swf.
    im using the Jenkins Xvnc plugin wich looks like it is working however I notice flexUnit is using the following settings
    [flexunit] Using the following settings for the test run: [flexunit] FLEX_HOME: [/Library/Flex/flex_sdk_4] [flexunit] haltonfailure: [false] [flexunit] headless: [false] [flexunit] display: [99] [flexunit] localTrusted: [false] [flexunit] player: [flash] [flexunit] port: [1024] [flexunit] swf: [/Library/Jenkins/jobs/flexUnitSampleCIProject/workspace/target/bin/TestRunner.swf] [flexunit] timeout: [60000ms] [flexunit] toDir: [/Library/Jenkins/jobs/flexUnitSampleCIProject/workspace/target/report]
    If I set headless = true build fails with
    [flexunit] Validating task attributes ...
    [flexunit] OS: [Mac]
    Any help would be greatly apricated

    I'm trying to use Xvfb on OSX with Jenkins and having the same issue:
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] LSOpenURLsWithRole() failed with error -10810 for the file /Users/Shared/Jenkins/Home/jobs/Flash_Client_UnitTests/workspace/unittest/bin/TestRunner. swf.
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    And here is what Apple says about that error...
    kLSUnknownErr -10810 An unknown error has occurred.
    Available in OS X v10.0 and later
    ..sigh

  • How can I keep a newly created reports server running?

    I have had to create a second reports server under 9ias Rel.2. This server is in addition to the out-of-the-box server installed with 9ias Rel. 2. I created the new server logged on to a Solaris session using the command rwserver.sh server=<new name>. The creation went just fine. I am able to use the new server just fine, EXCEPT if I log off the Solaris session used for the startup of the new server.
    I know this sounds similar to the problem of the default server going down if the unix session is logged off. However, I solved that problem by installed XVFB, using a DISPLAY of other than 0, and changing the opmn.xml file. All that works great. But, it does not seem to have an effect on the new reports server I created.
    Does anyone have any ideas how to get around this issue for reports servers other than the default?

    I had similar prob. but with vnc instead of xvfb.(similar product)
    I put the startup of vnc in the same script as the start of the rwserver.. it looks like :
    export DISPLAY=servername:12.0
    vncserver startup
    wait 5 secs
    set oracle homes etc..
    rwserver.sh server=myrepserver
    I start this script using the unix nohup command :
    nohup startrepserver.sh &
    the vnc server starts and the reports server starts..
    I use a different port (12, 13,..) for reports/discoverer/forms compilation

  • Java Program destroys Linux Server Display or Server logs out Automatically

    hi,
    i am facing problem when my servlet program is running.
    my servlet starts a process at server which is a simple java program which publishes PDF,
    XML, RTF files and lates long to run for about 45 minutes.
    i give a call to a shell file on the server (Red Hat Linux 9.0) which in turns calls a java
    program that runs on gnome-terminal.
    i have started Tomcat from SSh for that i have exported DISPLAY (Environment variable) from
    .bash_profile. i need to do this because i need graphics environment (X11 Windows) for jfor
    which is used print jpeg images in PDF and RTF reports.
    PROBLEM
    Some time my server display gets destroyed or the server gets Logout automatically, when my
    process is running.
    following is sode to start a gnome-terminal
    strCommand="gnome-terminal -x /root/PWAppSh/StartPartialRunOff.sh PartialRunOffApp "+
    strpubType + " "  +  strGroupNumber +" "+ id + " " + Cur_Time+" "+ strPubDate +" "+
    strFromDate +" "+ strToDate ;
    p = rt.getRuntime().exec(strCommand);
    BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(strRootPath
    + "/pw/WEB-INF/classes/pid.txt")));
                             pid= "";
                             while((pid = br.readLine()) != null)
                                  getPid=pid;
                             ses.setAttribute("process",getPid);
                             ses.setAttribute("RunType",strrunType);
                             System.out.println("#Get Process ID:"+getPid);
                             FileOutputStream fos = new
    FileOutputStream(strRootPath+"/pw/System/Mgmt/Sessions/RunoffOutput.txt");
                             Stdout_Stderr errorGobbler = new
                                  Stdout_Stderr(p.getErrorStream(), "ERROR");
                             // any output?
                             Stdout_Stderr outputGobbler = new
                                  Stdout_Stderr(p.getInputStream(), "OUTPUT",
    fos);
                             // kick them off
                             errorGobbler.start();
                             outputGobbler.start();
                             // any error???
                             int exitVal = p.waitFor();
                             System.out.println("StartRunoff ExitValue: " +
    exitVal);shell script that get executed from servlet is as followes
    cd /
    cd /share/Tomcat-4/jakarta-tomcat-4.1.31/webapps/pw/WEB-INF/classes
         echo $$ > pid.txt
         echo "Path: `pwd`"
         echo "Process ID:" $$
         chmod 777 pid.txt
         echo Redirecting ProcessID
         echo "Current shell : " $SHELL   
         export
    PATH=$PATH:$HOME/bin:/usr/java/j2sdk1.4.2_08/bin:/usr/java/j2sdk1.4.2_08/lib:.:/share/amol/l
    ib/.:
         export
    CLASSPATH=.:/share/amol/lib/activation-1.0.1.jar:/share/amol/lib/ant.jar:/share/amol/lib/ava
    lon-framework-cvs-20020806.jar:/share/amol/lib/batik.jar:/share/amol/lib/fop.jar:/share/amol
    /lib/jfor-0.7.2rc1.jar:/share/amol/lib/xalan-2.4.1.jar:/share/amol/lib/mail-1.2.jar:/share/a
    mol/lib/xerces-1.2.3.jar:/share/amol/lib/jimi-1.0.jar:/share/amol/lib/logkit-1.0.1.jar:/shar
    e/amol/lib/firebirdsql-full.jar:/share/amol/lib/xercesImpl-2.2.1.jar
         exec java -server -Xmx256m -Xoss200M PW/Runoff/$1 $2 $3 $4 $5 $6 $7setting that i have done in .bash_profile file
    DISPLAY=$HOST:0
    export DISPLAY HOSTcan any one suggest or any solution to problem why my linux server Logsout ar display gets
    destroyed when my Program is runnig on Gnome terminal.
    kindly help me,
    Thanks in advance for ur most important suggestion or solution.

    Sounds a lot like a bug in some of the native libraries you use (or even in AWT). Try looking into your log files (especially for X and for your tomcat) to find out if any error messages are printed.
    Additionally there are X servers out there that don't need any concrete display hardware to run (Xvfb comes to my mind, but IIRC there are more modern alternatives available). Usign that might or might not solve your problem, but would be a good idea either way.

  • Fail to download X virtual frame buffer (xvfb)

    I went to the page http://otn.oracle.com/products/ias/ias_utilities.html#xvfb in hope to download the oracle prebuilt Xvfb for solaris, when I click on any one of the three xvfb download items, it keeps returning a error page "The page cannot be displayed"
    This is for an urgent oracle applications project, any prompt help is appreicated!
    -Tim

    Oops... forgot to mention...
    <p>
    This seems to work just fine for SPARC, its on x86 (SUN v40z) that there seems to be some sort of issue?
    <p>
    thanks,<br>
    <p>
    -- MikeE<p>
    (truncated truss output for those interested...)<p>
    sigaction(SIGXCPU, 0x08047CE0, 0x00000000) = 0<br>
    sigaction(SIGXFSZ, 0x08047CE0, 0x00000000) = 0<br>
    sigaction(SIGTHAW, 0x08047CE0, 0x00000000) = 0<br>
    sysi86(SI86V86, 0x00000004, 0xFFFFFFFF, 0x08415378) Err#1 EPERM [sys_config]
    fstat64(2, 0x08046FE0) = 0<br>
    <p>
    Fatal server error:<br>
    write(2, "\n F a t a l s e r v e".., 21) = 21<br>
    The server can't access IO registers.<br>
    write(2, " T h e s e r v e r c".., 38) = 38<br>

  • Use of XVFB Unix tool

    we have got a Java application deployed on a WAS 6.40 SP13 and we want to use the server unix tool xvfb for displaying drawings in the browser of the users.
    In a previous step we have got this application running on a IPlanet server and we added these 2 lines:
    DISPLAY=:1.0; export DISPLAY
    /usr/X11R6/bin/Xvfb :1 -screen 0 1152x900x8 &
    in the start file of the application of the IPlanet server.
    So my question is: where can i add these lines in a J2EE project developped with SAP Developer Studio to use the tool ?
    Thank in advance,
    Eric.

    Hi
    RWD uPerform records your actions in Microsoft Windows,web-based, and enterprise applications, and outputs a professionally formatted document and simulation. You can capture screens, buttons, edit fields, and more in the target application.
    The recording process captures information to simultaneously produce both a simulation view and a document view of procedural content.
    RWD uPerform captures actions in the following target applications:
    ❐ Standard Microsoft Windows and web browser applications: Support for these
    applications is provided in the uPerform base recorder. Application adherence to
    World Wide Web Consortium (W3C) and Microsoft Windows standards will
    determine the consistency and quality of recording. Due to the technology involved in
    recording, the DOS command window cannot be recorded.
    ❐ SAP: Support for SAP applications is provided in the uPerform SAP plug-in recorder.
    ❐ Oracle: Support for this application is provided in the uPerform Oracle plug-in
    recorder.
    ❐ PeopleSoft: Support for this application is provided in the uPerform PeopleSoft plugin
    recorder.
    ❐ Citrix: In addition, support for applications in the Citrix Presentation Server 4.5
    environment is also available.
    Regards
    Manish Bansal

  • Xvfb Virtual Frame Buffer in a local zone?

    Ok, so this is a bit of a science project....
    <p>
    Was wondering if anyone had gotten this working?
    <p>
    in the GLOBAL: the following works...
    <p>
    /usr/openwin/bin/Xvfb screen 1024x768x24
    <p>
    <p>
    Doing the same in a LOCAL gives:
    <p>
    # /usr/openwin/bin/Xvfb screen 1024x768x24<br>
    There is no XDISPLAY information for display 0.<br>
    Check the OWconfig file(s) and try again.<br>
    <p>
    Fatal server error:<br>
    The server will now exit because of configuration problems.<br>
    # able to restore text mode on vfb#<br>
    #<br>
    <p>
    So lets get a little fancy to get rid of the "XDISPLAY" error... <br>edit /usr/openwin/server/etc/OWconfig and add:<p>
    <p>
    # Virtual X Display for virtuals<p>
    class="XDISPLAY" name="5"<br>
    coreKeyboard="NKBD" corePointer="NMOUSE"<br>
    dev1="vfb";<br>
    <p>
    Ok, now lets try the Xfb command in the LOCAL again...
    <p>
    #<br>
    # /usr/openwin/bin/Xvfb :5 screen 1024x768x24<br>
    <p>
    Fatal server error:<br>
    The server can't access IO registers.<br>
    <p>
    #<p>
    <p>
    trussing this event shows lots of stuff, but no smoking gun (from what I can tell...)
    <p>
    <p>
    Anyone have any experience in this area?
    <p>
    many thanks,
    <p>
    -- MikeE

    Oops... forgot to mention...
    <p>
    This seems to work just fine for SPARC, its on x86 (SUN v40z) that there seems to be some sort of issue?
    <p>
    thanks,<br>
    <p>
    -- MikeE<p>
    (truncated truss output for those interested...)<p>
    sigaction(SIGXCPU, 0x08047CE0, 0x00000000) = 0<br>
    sigaction(SIGXFSZ, 0x08047CE0, 0x00000000) = 0<br>
    sigaction(SIGTHAW, 0x08047CE0, 0x00000000) = 0<br>
    sysi86(SI86V86, 0x00000004, 0xFFFFFFFF, 0x08415378) Err#1 EPERM [sys_config]
    fstat64(2, 0x08046FE0) = 0<br>
    <p>
    Fatal server error:<br>
    write(2, "\n F a t a l s e r v e".., 21) = 21<br>
    The server can't access IO registers.<br>
    write(2, " T h e s e r v e r c".., 38) = 38<br>

Maybe you are looking for