com.atlassian.confluence.rpc.NotPermittedException: Anonymous RPC access is disabled on this server

Atlassian JIRA | Dave Loeng [Atlassian] | 9 years ago
  1. 0

    This exception is reported many times in the logs. {noformat} 2008-03-27 00:46:48,441 WARN [resin-tcp-connection-j2ee.confluence.atlassian.com:8080-56] [confluence.rpc.auth.TokenAuthenticationInvocationHandler] invoke Unexpected error handling remote method: Anonymous RPC access is disabled on this server -- url: /rpc/xmlrpc | userName: anonymous com.atlassian.confluence.rpc.NotPermittedException: Anonymous RPC access is disabled on this server at com.atlassian.confluence.rpc.auth.TokenAuthenticationManager.makeAnonymousUser(TokenAuthenticationManager.java:146) at com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.handleAuthenticatedMethod(TokenAuthenticationInvocationHandler.java:81) at com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.invoke(TokenAuthenticationInvocationHandler.java:52) at $Proxy66.search(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.xmlrpc.Invoker.execute(Invoker.java:130) at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84) at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146) at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139) at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:114) at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.serviceXmlRpcRequest(XmlRpcServer.java:111) at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.service(XmlRpcServer.java:85) at com.atlassian.confluence.servlet.SpringManagedServlet.service(SpringManagedServlet.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) {noformat} We should suppress this logs and only display during debug mode (even in debug mode, we don't need to output the stacktrace. The message is sufficient).

    Atlassian JIRA | 9 years ago | Dave Loeng [Atlassian]
    com.atlassian.confluence.rpc.NotPermittedException: Anonymous RPC access is disabled on this server
  2. 0

    This exception is reported many times in the logs. {noformat} 2008-03-27 00:46:48,441 WARN [resin-tcp-connection-j2ee.confluence.atlassian.com:8080-56] [confluence.rpc.auth.TokenAuthenticationInvocationHandler] invoke Unexpected error handling remote method: Anonymous RPC access is disabled on this server -- url: /rpc/xmlrpc | userName: anonymous com.atlassian.confluence.rpc.NotPermittedException: Anonymous RPC access is disabled on this server at com.atlassian.confluence.rpc.auth.TokenAuthenticationManager.makeAnonymousUser(TokenAuthenticationManager.java:146) at com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.handleAuthenticatedMethod(TokenAuthenticationInvocationHandler.java:81) at com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.invoke(TokenAuthenticationInvocationHandler.java:52) at $Proxy66.search(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.xmlrpc.Invoker.execute(Invoker.java:130) at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84) at org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146) at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139) at org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:114) at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.serviceXmlRpcRequest(XmlRpcServer.java:111) at com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.service(XmlRpcServer.java:85) at com.atlassian.confluence.servlet.SpringManagedServlet.service(SpringManagedServlet.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:92) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) {noformat} We should suppress this logs and only display during debug mode (even in debug mode, we don't need to output the stacktrace. The message is sufficient).

    Atlassian JIRA | 9 years ago | Dave Loeng [Atlassian]
    com.atlassian.confluence.rpc.NotPermittedException: Anonymous RPC access is disabled on this server

    Root Cause Analysis

    1. com.atlassian.confluence.rpc.NotPermittedException

      Anonymous RPC access is disabled on this server

      at com.atlassian.confluence.rpc.auth.TokenAuthenticationManager.makeAnonymousUser()
    2. com.atlassian.confluence
      TokenAuthenticationInvocationHandler.invoke
      1. com.atlassian.confluence.rpc.auth.TokenAuthenticationManager.makeAnonymousUser(TokenAuthenticationManager.java:146)
      2. com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.handleAuthenticatedMethod(TokenAuthenticationInvocationHandler.java:81)
      3. com.atlassian.confluence.rpc.auth.TokenAuthenticationInvocationHandler.invoke(TokenAuthenticationInvocationHandler.java:52)
      3 frames
    3. Unknown
      $Proxy66.search
      1. $Proxy66.search(Unknown Source)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    5. Apache XML-RPC Common Library
      XmlRpcServer.execute
      1. org.apache.xmlrpc.Invoker.execute(Invoker.java:130)
      2. org.apache.xmlrpc.XmlRpcWorker.invokeHandler(XmlRpcWorker.java:84)
      3. org.apache.xmlrpc.XmlRpcWorker.execute(XmlRpcWorker.java:146)
      4. org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:139)
      5. org.apache.xmlrpc.XmlRpcServer.execute(XmlRpcServer.java:114)
      5 frames
    6. com.atlassian.confluence
      SpringManagedServlet.service
      1. com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.serviceXmlRpcRequest(XmlRpcServer.java:111)
      2. com.atlassian.confluence.rpc.xmlrpc.XmlRpcServer.service(XmlRpcServer.java:85)
      3. com.atlassian.confluence.servlet.SpringManagedServlet.service(SpringManagedServlet.java:64)
      3 frames
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:92)
      1 frame
    8. com.caucho.server
      ServletFilterChain.doFilter
      1. com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:106)
      1 frame
    9. com.atlassian.core
      ServletContextThreadLocalFilter.doFilter
      1. com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:21)
      1 frame
    10. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    11. com.atlassian.confluence
      LoggingContextFilter.doFilter
      1. com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:49)
      1 frame
    12. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame