java.lang.SecurityException: User is not authenticated.

activemq-users | Shiv | 3 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.SecurityException

    User is not authenticated.

    at org.apache.activemq.security.AuthorizationBroker.send()
  2. ActiveMQ :: Broker
    QueueView.copyMessageTo
    1. org.apache.activemq.security.AuthorizationBroker.send(AuthorizationBroker.java:170)
    2. org.apache.activemq.broker.MutableBrokerFilter.send(MutableBrokerFilter.java:133)
    3. org.apache.activemq.util.BrokerSupport.doResend(BrokerSupport.java:65)
    4. org.apache.activemq.util.BrokerSupport.resend(BrokerSupport.java:46)
    5. org.apache.activemq.broker.region.Queue.copyMatchingMessages(Queue.java:1051)
    6. org.apache.activemq.broker.region.Queue.copyMessageTo(Queue.java:1003)
    7. org.apache.activemq.broker.jmx.QueueView.copyMessageTo(QueueView.java:63)
    7 frames
  3. Java RT
    MBeanServerInvocationHandler.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)
    5. com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:93)
    6. com.sun.jmx.mbeanserver.StandardMBeanIntrospector.invokeM2(StandardMBeanIntrospector.java:27)
    7. com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:208)
    8. com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:120)
    9. com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:262)
    10. javax.management.StandardMBean.invoke(StandardMBean.java:391)
    11. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
    12. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
    13. javax.management.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:288)
    13 frames
  4. Unknown
    $Proxy66.copyMessageTo
    1. $Proxy66.copyMessageTo(Unknown Source)
    1 frame
  5. org.apache.activemq
    CopyMessage.handleRequest
    1. org.apache.activemq.web.controller.CopyMessage.handleRequest(CopyMessage.java:50)
    1 frame
  6. Spring MVC
    FrameworkServlet.doGet
    1. org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
    2. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
    3. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:807)
    4. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
    5. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
    5 frames
  7. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:693)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
    2 frames
  8. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
    2. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1124)
    2 frames
  9. Spring
    OncePerRequestFilter.doFilter
    1. org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
    2. org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
    2 frames
  10. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
    1 frame
  11. AMQ Web
    SessionFilter.doFilter
    1. org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:43)
    1 frame
  12. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
    1 frame
  13. org.apache.activemq
    ApplicationContextFilter.doFilter
    1. org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
    1 frame
  14. Jetty Server
    ServletHandler$CachedChain.doFilter
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
    1 frame
  15. Sitemesh
    PageFilter.doFilter
    1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
    2. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
    2 frames
  16. Jetty Server
    SelectChannelEndPoint.run
    1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1115)
    2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:361)
    3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
    4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
    5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766)
    6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
    7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
    8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
    9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
    10. org.mortbay.jetty.Server.handle(Server.java:324)
    11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
    12. org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:864)
    13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:533)
    14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:207)
    15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:403)
    16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
    16 frames
  17. Jetty Util
    QueuedThreadPool$PoolThread.run
    1. org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:522)
    1 frame