activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From MurphyRic <>
Subject Endpoint connection to JMS broker failed: User name or password is invalid
Date Tue, 17 Jul 2007 13:29:45 GMT

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)> first set with this 
---> later changed to as shown in this pointer.

------------------------ my activemq.xml-----------
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""

	<!-- Allows us to use system properties as variables in this 
		configuration file -->
<!-- Broker definition for test Q to platform manager -->
	<broker xmlns="" brokerName="test"
		persistent="false" useJmx="false"

			<!--  use JAAS to authenticate using the login.config file on the
				to configure JAAS -->
			<!-- <jaasAuthenticationPlugin configuration="activemq-domain" />  -->

			<!--  Authentication  -->

			<!--  <simpleAuthenticationPlugin>
				<authenticationUser username="system" password="manager"
				<authenticationUser username="user" password="password"
				<authenticationUser username="guest" password="password"
			<simpleAuthenticationPlugin userGroups="#groups"
				userPasswords="#users" />

			<transportConnector uri="tcp://localhost:63003" />

		<!-- To have 2 brokers need the below setting
			<masterConnector remoteURI="tcp://localhost:62002" />
			</services> -->


			<journaledJDBC journalLogFiles="5"
				dataDirectory="/test-pm-activemq-data" />


	<util:map id="users">
		<entry key="user1" value="password1" />
	<util:map id="groups">
		<entry key="user1">
			<ref bean="group1" />
	<util:set id="group1"></util:set>


--------------Jboss console log------------
ERROR [ActiveMQEndpointWorker] Endpoint will try to reconnect to the JMS
broker in 30 s
ERROR [ActiveMQEndpointWorker] Endpoint connection to JMS broker failed:
User name or password is invalid.

Thanks in Advance
View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message