javax.jms.JMSSecurityException: User name [null] or password is invalid.

Stack Overflow | Abu Muhammad | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    javax.jms.JMSSecurityException: User name [null] or password is invalid

    Stack Overflow | 7 months ago | Abu Muhammad
    javax.jms.JMSSecurityException: User name [null] or password is invalid.
  2. 0

    "Username cannot be null" error received when running the 6.1 branch

    GitHub | 3 years ago | rawlingsj
    javax.transaction.SystemException: Failed to create ConnectionAndWrapperNamedXAResource, User name [null] or password is invalid.
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.security.auth.login.LoginException

      Username can not be null

      at org.apache.karaf.jaas.modules.properties.PropertiesLoginModule.login()
    2. Karaf
      PropertiesLoginModule.login
      1. org.apache.karaf.jaas.modules.properties.PropertiesLoginModule.login(PropertiesLoginModule.java:90)
      1 frame
    3. Karaf
      ProxyLoginModule.login
      1. org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)
      1 frame
    4. Java RT
      LoginContext.login
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      5. javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)
      6. javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
      7. javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
      8. javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
      9. java.security.AccessController.doPrivileged(Native Method)
      10. javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
      11. javax.security.auth.login.LoginContext.login(LoginContext.java:587)
      11 frames
    5. ActiveMQ :: Broker
      ManagedTransportConnection.processAddConnection
      1. org.apache.activemq.security.JaasAuthenticationBroker.authenticate(JaasAuthenticationBroker.java:84)
      2. org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:68)
      3. org.apache.activemq.broker.BrokerFilter.addConnection(BrokerFilter.java:97)
      4. org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:102)
      5. org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:817)
      6. org.apache.activemq.broker.jmx.ManagedTransportConnection.processAddConnection(ManagedTransportConnection.java:77)
      6 frames
    6. ActiveMQ :: Core
      ConnectionInfo.visit
      1. org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)
      1 frame
    7. ActiveMQ :: Broker
      TransportConnection$1.onCommand
      1. org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:338)
      2. org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:188)
      2 frames
    8. AMQ HTTP
      TransportSupport.doConsume
      1. org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)
      2. org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:113)
      3. org.apache.activemq.transport.AbstractInactivityMonitor.onCommand(AbstractInactivityMonitor.java:300)
      4. org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:83)
      4 frames
    9. ActiveMQ :: Core
      TcpTransport.run
      1. org.apache.activemq.transport.tcp.TcpTransport.doRun(TcpTransport.java:214)
      2. org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:196)
      2 frames
    10. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame