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

Bhupi Singh commented on AMQ-2352:
----------------------------------

Hi Dejan,

I am using AMQ 5.3.0 as embedded broker in Tomcat which works fine.  For the 
admin console,  I took the patch for SystemPropertiesConfiguration but the 
activemq-web-console-5.3.0.war still doesn't work.   

I pass the JAVA_OPTS="-Dwebconsole.type=properties 
-Dwebconsole.jms.url=tcp://localhost:61616 
-Dwebconsole.jmx.url=service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi 
-Dwebconsole.jmx.user=system -Dwebconsole.jmx.password=manager"  as stated in 
documentation.

Am I missing something else for this to work in tomcat.  Is the admin webapp  
tested for embedded broker in tomcat  ?

Thanks

Bhupi


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

Reply via email to