Tuesday, January 13, 2009

BIB-7000 Cannot access X Server

Kindly attention !! This is not repeat of post, something new in stores.
If you have checked my earlier post regarding the same error I hope issue might have resolved for you. Even if it doesn't I have something new today, which will help not to use DISPLAY setting at all for Jserv.

If problem still exists when using VNC or Xvfb with JDK 1.4.2 or 1.5, proceed with instructions for setup below:
You are using J2SE 1.4.2 or J2SE 1.5 (this feature is not available in JDK 1.3.1)
You have jserv_ux_ias1022.properties version 15.80.115105.2 or higher. (patch TXK (FND) AUTOCONFIG TEMPLATE ROLLUP PATCH L (NOV 2005) or higher deliver support for this new feature)
The setting controlling the 'Headless' support for J2SE in the jserv.properties is the following: wrapper.bin.parameters=-Djava.awt.headless=[truefalse]
By default this is set to 'false'.
To change this to 'true' and thus enabling the 'Headless' support feature perform the following steps:
Use context-editor to change value for %s_java_awt_headless% to 'true'
Run Autoconfig to recreate the configuration files
Verify that now the above mentioned setting in jserv.properties is set to 'true'
Run the AOLJ test "X Server Accessibility" and verify it shows the success message

Remarks:

The DISPLAY setting is not used anymore when 'Headless' support is enabled. This Note only applies to Jserv. Non-java tools like Reports 6i may still require the X-server to be available in the environment.

Happy Troubleshooting !!!

No comments: