On 08/20/2014 09:36 AM, [email protected] wrote:
09:17:26,243 | WARN | 4.40:65230@62716 | TransportConnection | 97
- org.apache.activemq.activemq-osgi - 5.10.0 | Failed to add Connection ID:
-635441230433329227-1:1
java.lang.SecurityException: User name [null] or password is invalid.
How do I specify the username/pw in the connection info
activemq:tcp://localhost:61616? Where do I specify username/pw?
Just pass them as parameters to the create method in NMSConnectionFactory:
factory.CreateConnection(username, password)
----------------------------
Subject: RE: Can not Connect to ActiveMQ The operation is not allowed on
non-connected sockets
It happens when they try to connect to the broker... they never actually
connect. You still need the NMS version?
-----Original Message-----
From: artnaseef [mailto:[email protected]]
Sent: Tuesday, August 19, 2014 9:39 AM
To: [email protected]
Subject: RE: Can not Connect to ActiveMQ The operation is not allowed on
non-connected sockets
Looks like it must connect in order to hit that line of code, so this most
likely means a socket connection created and dropped very quickly - either by
the broker, or the network.
--
View this message in context:
http://activemq.2283324.n4.nabble.com/Can-not-Connect-to-ActiveMQ-The-operation-is-not-allowed-on-non-connected-sockets-tp4684696p4684747.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
--
Tim Bish
Sr Software Engineer | RedHat Inc.
[email protected] | www.redhat.com
skype: tabish121 | twitter: @tabish121
blog: http://timbish.blogspot.com/