You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by MurphyRic <mu...@yahoo.com> on 2007/07/17 15:29:45 UTC
Endpoint connection to JMS broker failed: User name or password is
invalid
Hello ,
I have error from ActiveMQEndpointWorker with UserName & password Invalid.
Need your help in fixing this.
Below are my settings and Error:-
I have set up simpleAuthenticationPlugin in activemq.xml file as shown in
the below Url's
1)http://activemq.apache.org/security.html---> first set with this
2)http://www.mail-archive.com/activemq-users@geronimo.apache.org/msg05478
---> later changed to as shown in this pointer.
------------------------ my activemq.xml-----------
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:util="http://www.springframework.org/schema/util">
<!-- Allows us to use system properties as variables in this
configuration file -->
<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"
/>
<!-- Broker definition for test Q to platform manager -->
<broker xmlns="http://activemq.org/config/1.0" brokerName="test"
persistent="false" useJmx="false"
deleteAllMessagesOnStartup="false">
<plugins>
<!-- use JAAS to authenticate using the login.config file on the
classpath
to configure JAAS -->
<!-- <jaasAuthenticationPlugin configuration="activemq-domain" /> -->
<!-- Authentication -->
<!-- <simpleAuthenticationPlugin>
<users>
<authenticationUser username="system" password="manager"
groups="users,admins"/>
<authenticationUser username="user" password="password"
groups="users"/>
<authenticationUser username="guest" password="password"
groups="guests"/>
</users>
</simpleAuthenticationPlugin>
-->
<simpleAuthenticationPlugin userGroups="#groups"
userPasswords="#users" />
</plugins>
<transportConnectors>
<transportConnector uri="tcp://localhost:63003" />
</transportConnectors>
<!-- To have 2 brokers need the below setting
<services>
<masterConnector remoteURI="tcp://localhost:62002" />
</services> -->
<networkConnectors></networkConnectors>
<persistenceAdapter>
<journaledJDBC journalLogFiles="5"
dataDirectory="/test-pm-activemq-data" />
</persistenceAdapter>
</broker>
<util:map id="users">
<entry key="user1" value="password1" />
</util:map>
<util:map id="groups">
<entry key="user1">
<ref bean="group1" />
</entry>
</util:map>
<util:set id="group1"></util:set>
</beans>
--------------------------------------------------
--------------Jboss console log------------
ERROR [ActiveMQEndpointWorker] Endpoint will try to reconnect to the JMS
broker in 30 s
econds
ERROR [ActiveMQEndpointWorker] Endpoint connection to JMS broker failed:
User name or password is invalid.
Thanks in Advance
--
View this message in context: http://www.nabble.com/Endpoint-connection-to-JMS-broker-failed%3A-User-name-or-password-is-invalid-tf4096968s2354.html#a11649509
Sent from the ActiveMQ - User mailing list archive at Nabble.com.