1 Reply Latest reply on Dec 19, 2018 3:14 PM by dmorse

    VMmark3-STAX.sh Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException

    orgnalwood Lurker

      I am encountering the following when attempting to Start a VMmark Run using VMmark3-StartSTAX from a terminal window from Gnome via VNC or the vSphere Web Client Console:

       

      root@primeclient ~]# /root/VMmark3/tools/VMmark3-STAX.sh

      Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException

      at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)

      at java.awt.Window.<init>(Window.java:536)

      at java.awt.Frame.<init>(Frame.java:420)

      at javax.swing.JFrame.<init>(JFrame.java:233)

      at VMmarkWindow.createAndShowGUI(VMmarkWindow.java:22)

      at VMmarkWindow.access$000(VMmarkWindow.java:9)

      at VMmarkWindow$1.run(VMmarkWindow.java:35)

      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)

      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)

      at java.awt.EventQueue.access$500(EventQueue.java:97)

      at java.awt.EventQueue$3.run(EventQueue.java:709)

      at java.awt.EventQueue$3.run(EventQueue.java:703)

      at java.security.AccessController.doPrivileged(Native Method)

      at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)

      at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)

      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)

      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)

      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)

      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)

      at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

      Exception in thread "main" java.awt.HeadlessException

      at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)

      at java.awt.Window.<init>(Window.java:536)

      at java.awt.Frame.<init>(Frame.java:420)

      at java.awt.Frame.<init>(Frame.java:385)

      at javax.swing.JFrame.<init>(JFrame.java:189)

      at com.ibm.staf.service.stax.STAXMonitor.<init>(STAXMonitor.java:519)

      at com.ibm.staf.service.stax.STAXMonitor.main(STAXMonitor.java:5623)

       

      Attempts to start STAX in the GUI by double-clicking on the VMmark3-StartSTAX icon on the desktop doesn't do a thing.

       

      I'm probably missing/doing something simple, but my eyes are about to bleed from staring at this for so long (spent the majority of last week troubleshooting the Provisioning Process which ended up being an NFS Datastore permissions issue).

       

      Hoping someone can help.

       

      Thanks in advance!

       

      -tim

        • 1. Re: VMmark3-STAX.sh Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
          dmorse Enthusiast
          VMware Employees

          Hi Tim!  Some follow-up questions to help better understand your environment:

           

          • Did you mess with the installation of Java at all (perhaps you upgraded it to a newer release)?
          • Were any of the Linux packages modified on the primeclient VM after deployment from the OVA?
          • Can you confirm you ran sh make-prime.sh?

           

          If possible, I'd recommend going back to the "Create the Prime Client" and "Configure the Prime Client" sections in the User's Guide and creating a brand-new primeclient VM (you could name it something different like "primeclient-new" if you want to copy over any settings like /etc/hosts or /etc/sysconfig/network-scripts/ifcfg-*).  This would ensure you have a "known-good" environment that should not run into the Java exception you quoted, as we have not seen this in our testing.

           

          Please keep me posted!

           

          Thanks,

          David