I have the IDV running with an isl file on a headless server, as user apache, from a web service, and making image
files. I will document how to do this, when it is all working.
However colored the images come up grey. Sometimes all grey, or all black; and
sometimes like this:
http://geon.unavco.org/unavco/IDV_web_image_grey.png
Anyone know a way to see colors?
The previous two sets of errors about java 3D Canvas etc. were eliminated by using the IDV code and java and java3d in
this installer:
http://www.unidata.ucar.edu/downloads/idv/2_6u2/ftp/idv_2_6u2_linux-i386_installer.sh
and choosing java3d 1.3 not java1.5 with the install process window option.
the details of the working process includes:
system:
cat /etc/redhat-release
CentOS release 4.4 (Final)
uname -a
Linux geon.unavco.org 2.6.9-42.0.2.ELsmp #1 SMP Wed Aug 23 00:17:26 CDT 2006
i686 i686 i386 GNU/Linux
user apache has no login nor a shell:
cat /etc/passwd | grep apache
apache:x:48:48:Apache:/var/www:/sbin/nologin
running Xvfb:
/xvfb4.2.0/bin/Xvfb :9 -screen 0 1280x1280x24
by user apache
$DISPLAY set with
DISPLAY=:9
export DISPLAY as user apache
the execute commandi, run by apache, has
/.../IDV_2.6u2/jre/bin/java -Xmx1200m -jar /.../IDV_2.6u2/idv.jar -userpath
/state/partition1/unavco/tomoserver/IDV/DefaultIdv -Didv.enableStereo=false
/state/partition1/unavco/tomoserver/working_apache.isl
note that the java headless argument is not used
the isl file is
<?xml version="1.0" encoding="ISO-8859-1"?>
<isl debug="true" loop="1" offscreen="true" sleep="60.0minutes">
<bundle clear="true" file="/.../config/test1MITPplan.xidv" wait="true"/>
<image file="/.../displays/testimage.png"/>
</isl>