Skip to content

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

Description

@rawlingsj

When running the 6.1 branch I'm seeing the exception below repeatedly...

 12:26:34,398 | ERROR | RetryTimer       | GenericResourceManager           | 131 - org.apache.activemq.activemq-osgi - 5.9.0.redhat-610379 | Failed to create ConnectionAndWrapperNamedXAResource, User name [null] or password is invalid.
javax.transaction.SystemException: Failed to create ConnectionAndWrapperNamedXAResource, User name [null] or password is invalid.
    at org.apache.activemq.jms.pool.GenericResourceManager$Recovery$1.getNamedXAResource(GenericResourceManager.java:161)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.geronimo.transaction.manager.RecoverTask.run(RecoverTask.java:49)[116:org.apache.aries.transaction.manager:1.0.1.redhat-610379]
    at org.apache.geronimo.transaction.manager.ExponentialtIntervalRetryScheduler$TaskWrapper.run(ExponentialtIntervalRetryScheduler.java:50)[116:org.apache.aries.transaction.manager:1.0.1.redhat-610379]
    at java.util.TimerThread.mainLoop(Timer.java:555)[:1.7.0_45]
    at java.util.TimerThread.run(Timer.java:505)[:1.7.0_45]
Caused by: javax.jms.JMSSecurityException: User name [null] or password is invalid.
    at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:52)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1408)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.ActiveMQConnection.ensureConnectionInfoSent(ActiveMQConnection.java:1513)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.ActiveMQXAConnection.createSession(ActiveMQXAConnection.java:74)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.ActiveMQXAConnection.createXASession(ActiveMQXAConnection.java:61)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.jms.pool.GenericResourceManager$Recovery$1.getNamedXAResource(GenericResourceManager.java:155)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    ... 4 more
Caused by: java.lang.SecurityException: User name [null] or password is invalid.
    at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:80)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.MutableBrokerFilter.addConnection(MutableBrokerFilter.java:97)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.TransportConnection.processAddConnection(TransportConnection.java:764)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.command.ConnectionInfo.visit(ConnectionInfo.java:139)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.TransportConnection.service(TransportConnection.java:294)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:148)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:116)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.MutexTransport.onCommand(MutexTransport.java:50)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.transport.vm.VMTransport.iterate(VMTransport.java:242)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.thread.PooledTaskRunner.runTask(PooledTaskRunner.java:133)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at org.apache.activemq.thread.PooledTaskRunner$1.run(PooledTaskRunner.java:48)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_45]
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_45]
    at java.lang.Thread.run(Thread.java:744)[:1.7.0_45]
Caused by: javax.security.auth.login.LoginException: Username can not be null
    at org.apache.karaf.jaas.modules.properties.PropertiesLoginModule.login(PropertiesLoginModule.java:93)
    at org.apache.karaf.jaas.boot.ProxyLoginModule.login(ProxyLoginModule.java:83)[karaf-jaas-boot.jar:]
    at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_45]
    at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_45]
    at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)[:1.7.0_45]
    at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)[:1.7.0_45]
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)[:1.7.0_45]
    at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)[:1.7.0_45]
    at java.security.AccessController.doPrivileged(Native Method)[:1.7.0_45]
    at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)[:1.7.0_45]
    at javax.security.auth.login.LoginContext.login(LoginContext.java:594)[:1.7.0_45]
    at org.apache.activemq.security.JaasAuthenticationBroker.addConnection(JaasAuthenticationBroker.java:73)[131:org.apache.activemq.activemq-osgi:5.9.0.redhat-610379]
    ... 13 more

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions