Quantcast
Channel: Doyensys Allappsdba Blog..
Viewing all articles
Browse latest Browse all 1640

Article 7

$
0
0
                                         Error while running owm utility 


Error:

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: This function should be called while holding treeLock
at java.awt.Component.checkTreeLock(Component.java:1200)
at java.awt.Container.validateTree(Container.java:1682)
at oracle.security.admin.wltmgr.owmt.C027.v(C027)
at oracle.security.admin.wltmgr.owmt.C027.<init>(C027)
at oracle.security.admin.wltmgr.owmt.C120.<init>(C120)
at oracle.security.admin.wltmgr.owma.C126.Z(C126)
at oracle.security.admin.wltmgr.owma.C034.c(C034)
at oracle.security.admin.wltmgr.owma.C034.commandIssued(C034)
at oracle.sysman.emSDK.client.guiComponent.commandAdapter.CommandAdapter.actionPerformed(Unknown Source)
.
..
.
.
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:77)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:720)

at java.awt.EventQueue$4.run(EventQueue.java:718)


Solution:

Change the path of jre in owm file as older version and run the utility.



cat owm|grep JAVA


    JAVA_HOME=/usr/jdk/jdk1.6.0_171
    export JAVA_HOME
elif [ -z "$JAVA_HOME" ]; then
    JAVA_HOME=/usr/jdk/jdk1.6.0_171
    export JAVA_HOME
    echo "$TOOLHOME/jdk or \$JAVA_HOME should point to valid Java runtime"
elif [ ! -f "$JAVA_HOME/bin/java" ]; then
    echo "$JAVA_HOME should point to valid Java runtime"
PATH=$JAVA_HOME/bin:$PATH
JRE_CLASSPATH=$JAVA_HOME/lib:$JAVA_HOME/lib/rt.jar:$JAVA_HOME/lib/i18n.jar
   JAVA_COMPILER=NONE
   export JAVA_COMPILER
JAVAMODE=
   JAVAMODE=-d64
       JAVAMODE=-d64

Viewing all articles
Browse latest Browse all 1640

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>