Web Service failed to call WebLogic Server MBean.

problem description

error occurred while calling Web Service:

Client received SOAP Fault from server: Failed to retrieve RMIServer stub: javax.naming.NoPermissionException: User does not have permission on weblogic.management.mbeanservers to perform lookup operation.

the environmental background of the problems and what methods you have tried

refer to How it"s done: Password change functionality in OBIEE
Weblogic domain security property" enable anonymous administrator lookup "has been ticked.
the related server protocol IIOP property "enable IIOP" has been ticked. The IIOP login username password has been set.
both local and direct deployment tests encounter this error.

what result do you expect? What is the error message actually seen?

does Weblogic need to make additional settings?

Mar.29,2021

modify the initialization method:

    public static void InlCctn(String Adr, String AdrUsr, String AdrPswd) throws IOException, MalformedURLException {
        JMXServiceURL SvcUrl =
            new JMXServiceURL("service:jmx:iiop://" + Adr + "/jndi/weblogic.management.mbeanservers.domainruntime");
        Hashtable h = new Hashtable();
        h.put(Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory");
        h.put(Context.SECURITY_PRINCIPAL, AdrUsr);
        h.put(Context.SECURITY_CREDENTIALS, AdrPswd);
        cctor = JMXConnectorFactory.connect(SvcUrl, h);
        mbsc = cctor.getMBeanServerConnection();
    }
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e9f58c-46790.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e9f58c-46790.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?