IBM Support

OA61032: USING DIRUTIL-UNIX (NOT DIRUTILGUI-UNIX) COMMAND TO ADD A BATCH OF USERS IN HOD ON RHEL FAILS WITH A JAVA EXCEPTION MESSAGE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Running DirUtil-UNIX (not DirUtilGUI-UNIX) command via SSH
    without X-Forwarding on RHEL fails with a java exception
    message.
    
    [root@localhost DirUtil]# ./DirUtil-UNIX Sample.xml
    admin password 127.0.0.1 8999 CON
    No protocol
    specified
    Exception in thread "main" java.awt.AWTError: Can't
    connect to X11 window server using ':1' as the value of the
    DISPLAY variable.
    	at
    sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    	at su
    n.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.j
    ava:79)
    	at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvi
    ronment.java:140)
    	at java.security.AccessController.doPrivilege
    d(AccessController.java:678)
    	at sun.awt.X11GraphicsEnvironment.
    <clinit>(X11GraphicsEnvironment.java:88)
    	at
    java.lang.Class.forNameImpl(Native Method)
    	at
    java.lang.Class.forName(Class.java:337)
    	at java.awt.GraphicsEnv
    ironment.createGE(GraphicsEnvironment.java:114)
    	at java.awt.Gra
    phicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment
    .java:93)
    	at java.awt.Window.initGC(Window.java:486)
    	at
    java.awt.Window.init(Window.java:506)
    	at
    java.awt.Window.<init>(Window.java:548)
    	at
    java.awt.Frame.<init>(Frame.java:431)
    	at
    javax.swing.JFrame.<init>(JFrame.java:244)
    	at
    com.ibm.eNetwork.HOD.common.gui.HFrame.<init>(Unknown
    Source)
    	at
    com.ibm.eNetwork.HOD.common.gui.HFrame.<init>(Unknown
    Source)
    	at com.ibm.eNetwork.HODUtil.services.config.client.DirU
    tilGUI.<init>(Unknown Source)
    	at com.ibm.eNetwork.HODUtil.servi
    ces.config.client.DirUtil.<init>(Unknown Source)
    	at com.ibm.eNe
    twork.HODUtil.services.config.client.DirUtil.main(Unknown
    Source)
    

Local fix

Problem summary

  • When we try to run DirUtil utility using command line interface,
    it fails with Connection Exception in thread "main"
    

Problem conclusion

  • Code changes have been made in HOD 14.0.4 to fix this issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    OA61032

  • Reported component name

    HOD MVS

  • Reported component ID

    5733A5900

  • Reported release

    E00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-03-10

  • Closed date

    2025-01-28

  • Last modified date

    2025-01-28

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    HOD MVS

  • Fixed component ID

    5733A5900

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSS9FA","label":"IBM Host On-Demand"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"E00","Line of Business":{"code":"LOB70","label":"Z TPS"}}]

Document Information

Modified date:
30 January 2025