weblogic.management.NoAccessRuntimeException

Cannot perform the requested operation, the request was from an anonymous user (Principal)

Solutions on the web27

  • via Oracle Community by 843841, 1 year ago
    Cannot perform the requested operation, the request was from an anonymous user (Principal)
  • Cannot perform the requested operation, the request was from an anonymous user (Principal)
  • [JMX:14 9520]An attempt was made to Register an MBean with ObjectName com.bea:Location=w l_server,Name=Test-examples-demo,Type=JDBCSystemResource ObjectName in com.bea d omain. Hi. There's probably nothing wrong with your code, but the client probably doesn't have the WebLogic permissions to do the request. Do check our security documentation or ask official support. Joe
  • Stack trace

    • weblogic.management.NoAccessRuntimeException: Cannot perform the requested operation, the request was from an anonymous user (Principal) at weblogic.management.mbeans.custom.Cluster.getServers(Cluster.java:76) at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at weblogic.management.internal.DynamicMBeanImpl.getAttribute(DynamicMBeanImpl.java:604) at weblogic.management.internal.ConfigurationMBeanImpl.getAttribute(ConfigurationMBeanImpl.java:179) at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1186) at com.sun.management.jmx.MBeanServerImpl.getAttribute(MBeanServerImpl.java:1156) at weblogic.management.internal.RemoteMBeanServerImpl.getAttribute(RemoteMBeanServerImpl.java:288) at weblogic.management.internal.MBeanProxy.getAttribute(MBeanProxy.java:610) at weblogic.management.internal.MBeanProxy.invokeForCachingStub(MBeanProxy.java:442) at weblogic.management.configuration.ClusterMBean_Stub.getServers(ClusterMBean_Stub.java:1168) at weblogic.management.console.utils.MBeans.getServersFor(MBeans.java:692) at weblogic.management.console.webapp._domain.__nav._jspService(__nav.java:1507) at weblogic.servlet.jsp.JspBase.service(JspBase.java:33) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:322) at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:150) at weblogic.management.console.actions.ForwardAction.perform(ForwardAction.java:35) at weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:173) at weblogic.management.console.actions.internal.ActionServlet.doGet(ActionServlet.java:91) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1006) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:419) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:315) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6718) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3764) at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2644) at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You are the first who have seen this exception. Write a tip to help other users and build your expert profile.