Pages

Wednesday, 20 May 2020

Oracle Wallet Manager(OWM) failed to start

$ owm &

ERROR : 

java.lang.NullPointerException
        at oracle.ewt.lwAWT.BufferedApplet.<init>(Unknown Source)
        at oracle.sysman.emSDK.client.appContainer.WebApplication.<init>(WebApplication.java:752)
        at oracle.security.admin.wltmgr.owma.OwmaApp.<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at java.lang.Class.newInstance(Class.java:383)
        at oracle.sysman.emSDK.client.appContainer.WebApplication.main(WebApplication.java:3316


CAUSE :

Can't open display: oracle.com:0.0
The DISPLAY environment variable is not set to a valid X-Windows server.

SOLUTION :

Set the environment variable DISPLAY to a valid server, e.g.

$ export DISPLAY=:0.0  ( check vnc server running port , if 1 replace export DISPLAY=:1.0 )

$ owm &

Now you can able to get the owm console without any trouble...

Thats it ....
Keep learning and thing smart to solve all kind of issues in a very simple way...