NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Stuart Wier wrote:
Running the IDV on Linux with an isl file, as user apache, on a headless web server, to make an image file of display gets this error:ERROR: Creating display master Canvas3D: null GraphicsConfiguration java.lang.NullPointerException: Canvas3D: null GraphicsConfigurationat javax.media.j3d.Canvas3D.checkForValidGraphicsConfig(Canvas3D.java:982)at javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1051) at visad.java3d.VisADCanvasJ3D.<init>(VisADCanvasJ3D.java:211) at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:405) The process's non-error output is:Tue Dec 08 11:14:13 MST 2009: Loading bundle: /state/partition1/unavco/tomoserver/MITP_generic_plan_display.xidvTue Dec 08 11:14:16 MST 2009: Waiting for displays to render Tue Dec 08 11:14:17 MST 2009: Done waiting for displays to render The command is/state/partition1/unavco/idv27/jre/bin/java -Xmx1200m -Didv.enableStereo=false -jar /state/partition1/unavco/idv27/idv.jar -userpath /state/partition1/unavco/tomoserver/IDV/DefaultIdv /state/partition1/unavco/tomoserver/working_apache.isl >> isloutput 2>islerrorsRunning exactly the same command in the same directory by a regular user, not apache, makes the image with no error.Looks like apache and java3D don't get along somehow. Any ideas will be appreciated. Stuart _______________________________________________ idvusers mailing list idvusers@xxxxxxxxxxxxxxxxFor list information, to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/
did you try giving -Djava.awt.headless=true to the JVM ?
idvusers
archives: