Return-Path: Delivered-To: apmail-activemq-dev-archive@www.apache.org Received: (qmail 32623 invoked from network); 8 Sep 2008 14:58:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Sep 2008 14:58:12 -0000 Received: (qmail 17551 invoked by uid 500); 8 Sep 2008 14:58:07 -0000 Delivered-To: apmail-activemq-dev-archive@activemq.apache.org Received: (qmail 17531 invoked by uid 500); 8 Sep 2008 14:58:07 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 17461 invoked by uid 99); 8 Sep 2008 14:58:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2008 07:58:06 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Sep 2008 14:57:14 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4DBB7234C275 for ; Mon, 8 Sep 2008 07:55:56 -0700 (PDT) Message-ID: <810969169.1220885756317.JavaMail.jira@brutus> Date: Mon, 8 Sep 2008 07:55:56 -0700 (PDT) From: "Gary Tully (JIRA)" To: dev@activemq.apache.org Subject: [jira] Updated: (AMQ-1237) WebConsole can't share the same security context as the ActiveMQ JAAS plugin In-Reply-To: <15301313.1177668214468.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/activemq/browse/AMQ-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully updated AMQ-1237: ---------------------------- Fix Version/s: 5.3.0 (was: 5.2.0) > WebConsole can't share the same security context as the ActiveMQ JAAS plugin > ---------------------------------------------------------------------------- > > Key: AMQ-1237 > URL: https://issues.apache.org/activemq/browse/AMQ-1237 > Project: ActiveMQ > Issue Type: Improvement > Affects Versions: 5.0.0 > Reporter: Piero > Fix For: 5.3.0 > > Attachments: activemq-web-console-security.patch > > > I configured my queue with jaas configuration and so with login.properties users and group properties files. > When I open web console and browse the queue, the system give me this error: > Error creating bean with name 'queueBrowser' defined in ServletContext resource [/WEB-INF/applicationContext.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/applicationContext.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. > 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. > Caused by: javax.jms.JMSException: User name or password is invalid. > at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:46) > at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1207) > at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1289) > at org.apache.activemq.ActiveMQConnection.start(ActiveMQConnection.java:463) > at org.apache.activemq.web.SessionPool.getConnection(SessionPool.java:41) > at org.apache.activemq.web.SessionPool.createSession(SessionPool.java:85) > at org.apache.activemq.web.SessionPool.borrowSession(SessionPool.java:67) > at org.apache.activemq.web.QueueBrowseQuery.(QueueBrowseQuery.java:41) > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > 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:82) > at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:78) > at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:156) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:683) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:621) > at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:264) > at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156) > at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:642) > at org.apache.activemq.web.filter.ApplicationContextFilter$2.get(ApplicationContextFilter.java:157) > at javax.el.MapELResolver.getValue(MapELResolver.java:164) > ..... > The web console not share Jaas Authetication configured in activemq.xml. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.