-
Defect
-
Resolution: Done
-
Major
-
2.0.29
-
None
Problem: ESG WGet scripts require a my proxy cert. The myproxylogon tool requires a gui to create my proxy cert. Some users cannot run this as they have a headless type environment.
User: end user
Solution:
I was trying to reproduce a wget script error for an end user and I was unable to run the two commands from our help page:
$ wget http://www.earthsystemgrid.org/webstart/myProxyLogon/MyProxyLogon-ESG.jar -O $HOME/.esg/MyProxyLogon.jar
$ java -jar $HOME/.esg/MyProxyLogon.jar -u nhook -h vetswebprod.ucar.edu -p 7512
The following exception is thrown:
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
at java.awt.Window.<init>(Window.java:535)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:224)
at edu.uiuc.ncsa.MyProxy.MyProxyLogonGUI.createAndShowGUI(Unknown Source)
at edu.uiuc.ncsa.MyProxy.MyProxyLogonGUI$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
User: end user
Solution:
I was trying to reproduce a wget script error for an end user and I was unable to run the two commands from our help page:
$ wget http://www.earthsystemgrid.org/webstart/myProxyLogon/MyProxyLogon-ESG.jar -O $HOME/.esg/MyProxyLogon.jar
$ java -jar $HOME/.esg/MyProxyLogon.jar -u nhook -h vetswebprod.ucar.edu -p 7512
The following exception is thrown:
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:207)
at java.awt.Window.<init>(Window.java:535)
at java.awt.Frame.<init>(Frame.java:420)
at javax.swing.JFrame.<init>(JFrame.java:224)
at edu.uiuc.ncsa.MyProxy.MyProxyLogonGUI.createAndShowGUI(Unknown Source)
at edu.uiuc.ncsa.MyProxy.MyProxyLogonGUI$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)