Ops Center CLI Java Error... Current user does not have authorization to perform this action
(Doc ID 1544571.1)
Last updated on JULY 20, 2023
Applies to:
Enterprise Manager Ops Center - Version 11g to 12.1 [Release 11.0 to 12.0]Information in this document applies to any platform.
Goal
I am trying to get an asset listing with xvmcli and exits with a java error.
---------------
/var/opt/sun/xvm/OCDoctor/cli/xvmcli
[...]
xvmSh > connect
localhost > gear
localhost/gear > list
An unexpected Exception occured : [<type 'java.lang.SecurityException'>: java.lang.SecurityException: Current user does not have authorization to perform this action. (60024)]
java.lang.SecurityException: Current user does not have authorization to perform this action. (60024)
at com.sun.hss.services.virtualization.guestservice.impl.GuestServiceMXBeanImpl.checkPermissions(GuestServiceMXBeanImpl.java:3677)
at com.sun.hss.services.virtualization.guestservice.impl.GuestServiceMXBeanImpl.checkPermissions(GuestServiceMXBeanImpl.java:3654)
at com.sun.hss.services.virtualization.guestservice.impl.GuestServiceMXBeanImpl.getVirtServer(GuestServiceMXBeanImpl.java:206)
at sun.reflect.GeneratedMethodAccessor5554.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:192)
at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:174)
at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117)
Solution
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Goal |
Solution |