[idvusers] IDV with isl; headless; user apache ; gets java.awt.HeadlessException

Running the IDV with an isl file on a headless server, with command

/state/partition1/unavco/idv27/jre/bin/java -Xmx1200m -Didv.enableStereo=false -Djava.awt.headless=true -jar /state/partition1/unavco/idv27/idv.jar -userpath /state/partition1/unavco/tomoserver/IDV/DefaultIdv /state/partition1/unavco/tomoserver/working_apache.isl >& idvoutput

i.e., including java argument -Djava.awt.headless=true, no longer makes the 
error

ERROR: Creating display master
Canvas3D: null GraphicsConfiguration
java.lang.NullPointerException: Canvas3D: null GraphicsConfiguration

which occured before -Djava.awt.headless=true was used.
(The above command without the
-Djava.awt.headless=true works ok when submitted on a command line).


However now a new error occurs (just below).

Any ideas will be appreciated.

Loading bundle: 
/state/partition1/unavco/tomoserver/MITP_generic_plan_display.xidv
ERROR: Error loading bundle: 
/state/partition1/unavco/tomoserver/MITP_generic_plan_display.xidv
java.lang.ExceptionInInitializerError
java.lang.ExceptionInInitializerError
        at javax.media.j3d.Canvas3D.<clinit>(Canvas3D.java:3881)
        at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:405)
        at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:289)
        at visad.java3d.DisplayImplJ3D.<init>(DisplayImplJ3D.java:276)
...
       at ucar.unidata.idv.ArgsManager$3.run(ArgsManager.java:435)
        at ucar.unidata.util.Misc$3.run(Misc.java:1061)
Caused by: java.awt.HeadlessException
        at javax.media.j3d.VirtualUniverse.<clinit>(VirtualUniverse.java:294)
        ... 39 more
Tue Dec 08 15:36:31 MST 2009: Waiting for displays to render
Tue Dec 08 15:36:31 MST 2009: Done waiting for displays to render
java.lang.NoClassDefFoundError: Could not initialize class 
visad.java3d.VisADCanvasJ3D
        at visad.java3d.DisplayImplJ3D.initialize(DisplayImplJ3D.java:405)
...
 at ucar.unidata.util.Misc$3.run(Misc.java:1061)
An error occurred:java.lang.NoClassDefFoundError: Could not initialize class 
visad.java3d.VisADCanvasJ3D
java.lang.NoClassDefFoundError: Could not initialize class 
javax.media.j3d.VirtualUniverse
        at javax.media.j3d.GroupRetained.<init>(GroupRetained.java:161)
        at 
javax.media.j3d.TransformGroupRetained.<init>(TransformGroupRetained.java:121)
        at 
javax.media.j3d.TransformGroup.createRetained(TransformGroup.java:119)
        at javax.media.j3d.SceneGraphObject.<init>(SceneGraphObject.java:119)
        at javax.media.j3d.Node.<init>(Node.java:178)
        at javax.media.j3d.Group.<init>(Group.java:556)
        at javax.media.j3d.TransformGroup.<init>(TransformGroup.java:92)
        at 
visad.java3d.DisplayRendererJ3D.setTransform3D(DisplayRendererJ3D.java:1380)
        at 
visad.java3d.ProjectionControlJ3D.setMatrix(ProjectionControlJ3D.java:132)
        at 
visad.java3d.DisplayRendererJ3D.render_trigger(DisplayRendererJ3D.java:1535)
        at 
visad.java3d.DisplayRendererJ3D.setWaitFlag(DisplayRendererJ3D.java:1546)
        at visad.DisplayImpl.doAction(DisplayImpl.java:1793)
        at visad.ActionImpl.run(ActionImpl.java:364)
        at visad.util.ThreadPool$ThreadMinnow.run(ThreadPool.java:98)



  • 2009 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvusers archives: