activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully (JIRA)" <j...@apache.org>
Subject [jira] Updated: (AMQ-1237) WebConsole can't share the same security context as the ActiveMQ JAAS plugin
Date Mon, 08 Sep 2008 14:55:56 GMT

     [ 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.


Mime
View raw message