AutoVue Server on Linux Fails to Start. Log File Shows Error: "java.io.IOException: Cannot run program "xvfb": java.io.IOException: error=2, No such file or directory" (Doc ID 1617830.1)

Last updated on JUNE 07, 2017

Applies to:

Oracle AutoVue EDA Professional - Version 20.1.0 and later
Oracle AutoVue 2D Professional - Version 20.1.0 and later
Oracle AutoVue Office - Version 20.1.0 and later
Oracle AutoVue 3D Professional Advanced - Version 20.1.0 and later
Oracle AutoVue Electro-Mechanical Professional - Version 20.1.0 and later
Information in this document applies to any platform.

Symptoms

AutoVue Client/Server on Linux makes use of Xvfb for certain server-side rendering operations therefore the system administrator installed the latest available Xvfb. AutoVue fails to start because Xvfb failed to start somehow because it is looking for "xvfb" (with lowercase "x" letter) path instead of "Xvfb".  The AutoVue log shows the following error:

log4j:event logger="com.cimmetry.jvueserver.configuration" timestamp="1385050314511" level="ERROR" thread="main">
<log4j:message><![CDATA Failed to start Xvfb process] ></log4j:message>
<log4j:throwable><![CDATA[java.io.IOException: Cannot run program "xvfb": java.io.IOException: error=2, No such file or directory
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at com.cimmetry.jvueserver.util.UnixPreloader.startXvfb(Unknown Source)
at com.cimmetry.jvueserver.util.UnixPreloader.load(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.initPreloader(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.start(Unknown Source)
at com.cimmetry.jvueserver.JVueServer.main(Unknown Source)
Caused by: java.io.IOException: java.io.IOException: error=2, No such file or directory
at java.lang.UNIXProcess.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 9 more
]]></log4j:throwable>
</log4j:event>

The package installs "XVfb" and not "xvfb" but AutoVue server throws the above error of not finding xvfb.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms