osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Has anyone connected ActiveMQ to Active Directory?


Mike,

I'd recommend grabbing the ActiveMQ source code or source JARs and
attaching a debugger to step through.

Also, the config file you posted contains a realistic-looking password, so
unless you replaced the real one with that value before sending, you should
plan to change the password ASAP.

Tim

On Wed, May 2, 2018, 3:59 PM mtod <mtod@xxxxxxxxxxx> wrote:

> Were getting closer but not quite there.
> The following error keeps coming up when trying to send ActiveMQ a message.
> I can't seem to find what the issue is or how to get deeper into
> diagnosising the problem.
> All the configs seem correct can you please take a look and see if you
> happen to see something out of place?
>
>
> Thanks
>
> Mike
>
>  WARN | Failed to add Connection
> id=ID:FM-WLTP745-58810-1525290001982-1053:1, clientId=ActiveMQSeedMsg9 due
> to {}
> java.lang.SecurityException: User name [inttest02] or password is invalid.
>         at
>
> org.apache.activemq.security.JaasAuthenticationBroker.authenticate(JaasAuthenticationBroker.java:97)[activemq-broker-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:68)[activemq-broker-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:99)[activemq-broker-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:843)[activemq-broker-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:77)[activemq-broker-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)[activemq-client-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:330)[activemq-broker-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:194)[activemq-broker-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[activemq-client-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:125)[activemq-client-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:301)[activemq-client-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)[activemq-client-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:233)[activemq-client-5.15.3.jar:5.15.3]
>         at
>
> org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:215)[activemq-client-5.15.3.jar:5.15.3]
>         at java.lang.Thread.run(Thread.java:748)[:1.8.0_131]
>
>
> My Login.config file
>
> LDAPLogin {
>   org.apache.activemq.jaas.LDAPLoginModule required
>     debug=true
>     initialContextFactory=com.sun.jndi.ldap.LdapCtxFactory
>     connectionURL="ldap://corp.local:389";
>     connectionUsername=”CN=Mirth Development Service Account,OU=Service
> Accounts,DC=corp,DC=local”
>     connectionPassword=b8eF352386!
>     connectionProtocol=""
>     authentication=simple
>     userBase="OU=Test Accounts,OU=Special Accounts,DC=corp,DC=local"
>         userSearchMatching="(&(objectclass=Person)(CN={0}))"
>     userSearchSubtree=true
>     roleBase="CN=ActiveMQ_Admins_DEV,OU=Application Groups,OU=Domain
> Groups,DC=corp,DC=local”
>     roleName=cn
>     roleSearchMatching="(member=CN={1},OU=Test Accounts,OU=Special
> Accounts,DC=corp,DC=local)”
>     roleSearchSubtree=true
>     ;
> };
>
>
>
> --
> Sent from:
> http://activemq.2283324.n4.nabble.com/ActiveMQ-User-f2341805.html
>