activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AMQ-2352) it should be possible to specify userName and password in the webconsole-properties.xml
Date Wed, 21 Oct 2009 14:53:52 GMT

    [ https://issues.apache.org/activemq/browse/AMQ-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=54874#action_54874
] 

Dejan Bosanac commented on AMQ-2352:
------------------------------------

Sorry, it was a typo, I meant 

xbean:conf/activemq-sscurity.xml

activemq-security.xml is located in the conf directory of the new ActiveMQ 5.3.0 release.
It basically just starts secured broker.

When you use -Dwebconsole.type=properties (and webconsole-properties.xml is used), there is
no connection factory declaration in the xml file. It is created "configuration" object which
reads other system properties as in an example above.

One thing that caught my eye, you're referring to webconsole.jms.userName while the correct
property name is webconsole.jms.user. Maybe that's the source of your problems?

> it should be possible to specify userName and password in the webconsole-properties.xml
> ---------------------------------------------------------------------------------------
>
>                 Key: AMQ-2352
>                 URL: https://issues.apache.org/activemq/browse/AMQ-2352
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.2.0
>            Reporter: philippe tseyen
>            Assignee: Dejan Bosanac
>            Priority: Minor
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> file to adapt src\activemq-web-console\src\main\webapp\WEB-INF\webconsole-properties.xml
> <bean id="connectionFactory" class="org.apache.activemq.ActiveMQConnectionFactory">
> <property name="brokerURL" value="${webconsole.jms.url}"/>
> *<property name="userName" value="${webconsole.jms.userName}"/>*
> *<property name="password" value="${webconsole.jms.password}"/>*
>   </bean>  

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