Consultor Eletrônico



Kbase P126016: HTTP ERROR: 500 Internal Server Error RequestURI=/EasyAsk/admin/SCHED_AnalyticsReportGroup.jsp
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   25/09/2007
Status: Unverified

FACT(s) (Environment):

EasyAsk 9.7
UNIX

SYMPTOM(s):


HTTP ERROR: 500 Internal Server Error
RequestURI=/EasyAsk/admin/SCHED_AnalyticsReportGroup.jsp


error in easyask_server.log:

java.lang.NoClassDefFoundError
at com.f1j.swing.engine.ss.JBook.<init>(JBook.java:3032)

CAUSE:

UNIX system does not have X server running (not red hat, no graphics) and
Administrative Workbench schedules analytic reports and needs spreadsheet software to do this.

FIX:

Use Xvfb
Xvfb is the X Virtual Frame Buffer. It was designed to solve this very problem.

The X virtual framebuffer (Xvfb) is an X server that can run on machines with no display hardware and no physical input devices. It emulates a dumb framebuffer using virtual memory. It is an included component of X11R6, but not in earlier X releases.
For other platforms, simply do a google search for "Xvfb <platform>"
Xvfb is a useful utility because it allows graphic output without having an Xserver running.
There is a version of the Xvfb for each platform we support: Solaris, AIX, Linux. Here is the install and setup for Solaris. It will be similar on other platforms.
Solaris is a challenge because X11R6 ias not installed by default. Typically you'll see an X11R6 directory under the /usr dir. If your Solaris box has none:
-- create a dir to install Xvfb under export/home where space is abundant: mkdir /export/home/X11R6
-- create a soft link from /usr: ln -s /export/home/X11R6 /usr/X11R6
-- explode the Xvfb tar.Z file into the install dir:
cd /export/home/X11R6
zcat X11R6_bin.tar.Z | tar xpf -

-- This install is complete.
-- Start Xvfb in the background to support a secondary display: /usr/X11R6/bin/Xvfb :1 -screen 0 1x1x1 &
-- Make sure that display is active when the server is started. You can add these two lines to easyaskenv.sh file:
DISPLAY=:1.0
export DISPLAY
-- then source the environment from the EasyAskServer startup script by adding this line:
. ../easyaskenv.sh