activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bjørn T Johansen <...@havleik.no>
Subject Re: java.lang.SecurityException: User name or password is invalid when trying to look at a queue in the admin app.
Date Tue, 21 Apr 2009 06:21:31 GMT
Worked like a charm.. Thx... :)

BTJ

On Mon, 20 Apr 2009 16:37:56 +0200
Dejan Bosanac <dejan@nighttale.net> wrote:

> Hi Bjorn,
> 
> take a look at here for some instructions:
> 
> http://activemq.apache.org/security.html#Security-WebConsole
> 
> Cheers
> --
> Dejan Bosanac
> 
> Open Source Integration - http://fusesource.com/
> ActiveMQ in Action - http://www.manning.com/snyder/
> Blog - http://www.nighttale.net
> 
> 
> 2009/4/20 Bjørn T Johansen <btj@havleik.no>
> 
> > I have enabled username and password for the engine and it works as it
> > should, except for the admin app..
> > If I try to choose a specifi queue to look at, I get the following
> > exception..:
> >
> > HTTP ERROR: 500
> >
> > Error creating bean with name 'queueBrowser' defined in ServletContext
> > resource [/WEB-INF/webconsole-embedded.xml]: Instantiation of bean failed;
> > nested exception is org.springframework.beans.BeanInstantiationException:
> > Could not instantiate bean class [org.apache.activemq.web.QueueBrowseQuery]:
> > Constructor threw exception; nested exception is javax.jms.JMSException:
> > User name or password is invalid.
> >
> > RequestURI=/admin/browse.jsp
> > Caused by:
> >
> > org.springframework.beans.factory.BeanCreationException: Error creating
> > bean with name 'queueBrowser' defined in ServletContext resource
> > [/WEB-INF/webconsole-embedded.xml]: Instantiation of bean failed; nested
> > exception is org.springframework.beans.BeanInstantiationException: Could not
> > instantiate bean class [org.apache.activemq.web.QueueBrowseQuery]:
> > Constructor threw exception; nested exception is javax.jms.JMSException:
> > User name or password is invalid.
> >        at java.lang.Throwable.(Throwable.java:196)
> >        at java.lang.Exception.(Exception.java:41)
> >        at java.lang.RuntimeException.(RuntimeException.java:43)
> >        at
> > org.springframework.core.NestedRuntimeException.(NestedRuntimeException.java:48)
> >        at org.springframework.beans.BeansException.(BeansException.java:39)
> >        at
> > org.springframework.beans.FatalBeanException.(FatalBeanException.java:32)
> >        at
> > org.springframework.beans.factory.BeanCreationException.(BeanCreationException.java:89)
> >        at
> > org.springframework.beans.factory.BeanCreationException.(BeanCreationException.java:104)
> >        at
> > org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:823)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> >        at
> > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
> >        at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> >        at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> >        at
> > org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
> >        at
> > org.apache.activemq.web.filter.ApplicationContextFilter$2.get(ApplicationContextFilter.java:157)
> >        at javax.el.MapELResolver.getValue(MapELResolver.java:164)
> >        at
> > javax.el.CompositeELResolver.getValue(CompositeELResolver.java:137)
> >        at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
> >        at
> > com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
> >        at
> > org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:984)
> >        at
> > org.apache.jsp.browse_jsp._jspx_meth_form_short_0(org.apache.jsp.browse_jsp:125)
> >        at
> > org.apache.jsp.browse_jsp._jspService(org.apache.jsp.browse_jsp:65)
> >        at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >        at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
> >        at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
> >        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >        at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> >        at
> > org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
> >        at
> > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:43)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> >        at
> > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
> >        at
> > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> >        at
> > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> >        at
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
> >        at
> > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> >        at
> > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >        at
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> >        at org.mortbay.jetty.Server.handle(Server.java:324)
> >        at
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
> >        at
> > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
> >        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:227)
> >        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> >        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> >        at
> > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
> >        at
> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> > Caused by: org.springframework.beans.BeanInstantiationException: Could not
> > instantiate bean class [org.apache.activemq.web.QueueBrowseQuery]:
> > Constructor threw exception; nested exception is javax.jms.JMSException:
> > User name or password is invalid.
> >        at java.lang.Exception.(Exception.java:59)
> >        at java.lang.RuntimeException.(RuntimeException.java:61)
> >        at
> > org.springframework.core.NestedRuntimeException.(NestedRuntimeException.java:58)
> >        at org.springframework.beans.BeansException.(BeansException.java:49)
> >        at
> > org.springframework.beans.FatalBeanException.(FatalBeanException.java:42)
> >        at
> > org.springframework.beans.BeanInstantiationException.(BeanInstantiationException.java:47)
> >        at
> > org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
> >        at
> > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
> >        at
> > org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
> >        ... 50 more
> > Caused by: javax.jms.JMSException: User name or password is invalid.
> >        at java.lang.Throwable.(Throwable.java:196)
> >        at java.lang.Exception.(Exception.java:41)
> >        at javax.jms.JMSException.(JMSException.java:37)
> >        at javax.jms.JMSException.(JMSException.java:43)
> >        at
> > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
> >        at
> > org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1244)
> >        at
> > org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1339)
> >        at
> > org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:298)
> >        at
> > org.apache.activemq.web.SessionPool.createSession(SessionPool.java:98)
> >        at
> > org.apache.activemq.web.SessionPool.borrowSession(SessionPool.java:81)
> >        at
> > org.apache.activemq.web.QueueBrowseQuery.(QueueBrowseQuery.java:40)
> >        at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >        at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> >        at
> > org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
> >        ... 52 more
> > Caused by: java.lang.SecurityException: User name or password is invalid.
> >        at java.lang.Throwable.(Throwable.java:196)
> >        at java.lang.Exception.(Exception.java:41)
> >        at java.lang.RuntimeException.(RuntimeException.java:43)
> >        at java.lang.SecurityException.(SecurityException.java:35)
> >        at
> > org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(SimpleAuthenticationBroker.java:52)
> >        at
> > org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:89)
> >        at
> > org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:679)
> >        at
> > org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:125)
> >        at
> > org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305)
> >        at
> > org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
> >        at
> > org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
> >        at
> > org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
> >        at
> > org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:205)
> >        at
> > org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:91)
> >        at
> > org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)
> >
> > Caused by:
> >
> > org.springframework.beans.BeanInstantiationException: Could not instantiate
> > bean class [org.apache.activemq.web.QueueBrowseQuery]: Constructor threw
> > exception; nested exception is javax.jms.JMSException: User name or password
> > is invalid.
> >        at java.lang.Exception.(Exception.java:59)
> >        at java.lang.RuntimeException.(RuntimeException.java:61)
> >        at
> > org.springframework.core.NestedRuntimeException.(NestedRuntimeException.java:58)
> >        at org.springframework.beans.BeansException.(BeansException.java:49)
> >        at
> > org.springframework.beans.FatalBeanException.(FatalBeanException.java:42)
> >        at
> > org.springframework.beans.BeanInstantiationException.(BeanInstantiationException.java:47)
> >        at
> > org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
> >        at
> > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
> >        at
> > org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:823)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> >        at
> > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
> >        at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> >        at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> >        at
> > org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
> >        at
> > org.apache.activemq.web.filter.ApplicationContextFilter$2.get(ApplicationContextFilter.java:157)
> >        at javax.el.MapELResolver.getValue(MapELResolver.java:164)
> >        at
> > javax.el.CompositeELResolver.getValue(CompositeELResolver.java:137)
> >        at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
> >        at
> > com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
> >        at
> > org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:984)
> >        at
> > org.apache.jsp.browse_jsp._jspx_meth_form_short_0(org.apache.jsp.browse_jsp:125)
> >        at
> > org.apache.jsp.browse_jsp._jspService(org.apache.jsp.browse_jsp:65)
> >        at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >        at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
> >        at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
> >        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >        at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> >        at
> > org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
> >        at
> > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:43)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> >        at
> > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
> >        at
> > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> >        at
> > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> >        at
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
> >        at
> > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> >        at
> > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >        at
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> >        at org.mortbay.jetty.Server.handle(Server.java:324)
> >        at
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
> >        at
> > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
> >        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:227)
> >        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> >        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> >        at
> > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
> >        at
> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> > Caused by: javax.jms.JMSException: User name or password is invalid.
> >        at java.lang.Throwable.(Throwable.java:196)
> >        at java.lang.Exception.(Exception.java:41)
> >        at javax.jms.JMSException.(JMSException.java:37)
> >        at javax.jms.JMSException.(JMSException.java:43)
> >        at
> > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
> >        at
> > org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1244)
> >        at
> > org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1339)
> >        at
> > org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:298)
> >        at
> > org.apache.activemq.web.SessionPool.createSession(SessionPool.java:98)
> >        at
> > org.apache.activemq.web.SessionPool.borrowSession(SessionPool.java:81)
> >        at
> > org.apache.activemq.web.QueueBrowseQuery.(QueueBrowseQuery.java:40)
> >        at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >        at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> >        at
> > org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
> >        ... 52 more
> > Caused by: java.lang.SecurityException: User name or password is invalid.
> >        at java.lang.Throwable.(Throwable.java:196)
> >        at java.lang.Exception.(Exception.java:41)
> >        at java.lang.RuntimeException.(RuntimeException.java:43)
> >        at java.lang.SecurityException.(SecurityException.java:35)
> >        at
> > org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(SimpleAuthenticationBroker.java:52)
> >        at
> > org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:89)
> >        at
> > org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:679)
> >        at
> > org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:125)
> >        at
> > org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305)
> >        at
> > org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
> >        at
> > org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
> >        at
> > org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
> >        at
> > org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:205)
> >        at
> > org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:91)
> >        at
> > org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)
> >
> > Caused by:
> >
> > javax.jms.JMSException: User name or password is invalid.
> >        at java.lang.Throwable.(Throwable.java:196)
> >        at java.lang.Exception.(Exception.java:41)
> >        at javax.jms.JMSException.(JMSException.java:37)
> >        at javax.jms.JMSException.(JMSException.java:43)
> >        at
> > org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:49)
> >        at
> > org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1244)
> >        at
> > org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1339)
> >        at
> > org.apache.activemq.ActiveMQConnection.createSession(ActiveMQConnection.java:298)
> >        at
> > org.apache.activemq.web.SessionPool.createSession(SessionPool.java:98)
> >        at
> > org.apache.activemq.web.SessionPool.borrowSession(SessionPool.java:81)
> >        at
> > org.apache.activemq.web.QueueBrowseQuery.(QueueBrowseQuery.java:40)
> >        at
> > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> >        at
> > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> >        at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> >        at
> > org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:100)
> >        at
> > org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
> >        at
> > org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:823)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> >        at
> > org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> >        at
> > org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)
> >        at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> >        at
> > org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> >        at
> > org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
> >        at
> > org.apache.activemq.web.filter.ApplicationContextFilter$2.get(ApplicationContextFilter.java:157)
> >        at javax.el.MapELResolver.getValue(MapELResolver.java:164)
> >        at
> > javax.el.CompositeELResolver.getValue(CompositeELResolver.java:137)
> >        at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
> >        at
> > com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
> >        at
> > org.apache.jasper.runtime.PageContextImpl.evaluateExpression(PageContextImpl.java:984)
> >        at
> > org.apache.jsp.browse_jsp._jspx_meth_form_short_0(org.apache.jsp.browse_jsp:125)
> >        at
> > org.apache.jsp.browse_jsp._jspService(org.apache.jsp.browse_jsp:65)
> >        at
> > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:93)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >        at
> > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:373)
> >        at
> > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:470)
> >        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:364)
> >        at javax.servlet.http.HttpServlet.service(HttpServlet.java:806)
> >        at
> > org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
> >        at
> > org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:83)
> >        at
> > org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > org.apache.activemq.web.SessionFilter.doFilter(SessionFilter.java:43)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > org.apache.activemq.web.filter.ApplicationContextFilter.doFilter(ApplicationContextFilter.java:81)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118)
> >        at
> > com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:52)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
> >        at
> > org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
> >        at
> > org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
> >        at
> > org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
> >        at
> > org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:726)
> >        at
> > org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
> >        at
> > org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
> >        at
> > org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
> >        at org.mortbay.jetty.Server.handle(Server.java:324)
> >        at
> > org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
> >        at
> > org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:828)
> >        at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:227)
> >        at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
> >        at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
> >        at
> > org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
> >        at
> > org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
> > Caused by: java.lang.SecurityException: User name or password is invalid.
> >        at java.lang.Throwable.(Throwable.java:196)
> >        at java.lang.Exception.(Exception.java:41)
> >        at java.lang.RuntimeException.(RuntimeException.java:43)
> >        at java.lang.SecurityException.(SecurityException.java:35)
> >        at
> > org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(SimpleAuthenticationBroker.java:52)
> >        at
> > org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:89)
> >        at
> > org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:679)
> >        at
> > org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:125)
> >        at
> > org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305)
> >        at
> > org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
> >        at
> > org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
> >        at
> > org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
> >        at
> > org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:205)
> >        at
> > org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:91)
> >        at
> > org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)
> >
> > Caused by:
> >
> > java.lang.SecurityException: User name or password is invalid.
> >        at java.lang.Throwable.(Throwable.java:196)
> >        at java.lang.Exception.(Exception.java:41)
> >        at java.lang.RuntimeException.(RuntimeException.java:43)
> >        at java.lang.SecurityException.(SecurityException.java:35)
> >        at
> > org.apache.activemq.security.SimpleAuthenticationBroker.addConnection(SimpleAuthenticationBroker.java:52)
> >        at
> > org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:89)
> >        at
> > org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:679)
> >        at
> > org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:125)
> >        at
> > org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:305)
> >        at
> > org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:179)
> >        at
> > org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:104)
> >        at
> > org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:68)
> >        at
> > org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:205)
> >        at
> > org.apache.activemq.thread.DedicatedTaskRunner.runTask(DedicatedTaskRunner.java:91)
> >        at
> > org.apache.activemq.thread.DedicatedTaskRunner$1.run(DedicatedTaskRunner.java:36)
> >
> > Powered by Jetty://
> >
> >
> > I am guessing that this is because the admin app tries to read the queue
> > without authentication... But I can't seem to find where I can setup
> > username and password that the admin app can use?
> >
> >
> >
> > Regards,
> >
> > BTJ
> >
> >
> > --
> >
> > -----------------------------------------------------------------------------------------------
> > Bjørn T Johansen
> >
> > btj@havleik.no
> >
> > -----------------------------------------------------------------------------------------------
> > Someone wrote:
> > "I understand that if you play a Windows CD backwards you hear strange
> > Satanic messages"
> > To which someone replied:
> > "It's even worse than that; play it forwards and it installs Windows"
> >
> > -----------------------------------------------------------------------------------------------
> >

Mime
View raw message