Markus Karolus created AMQNET-467: ------------------------------------- Summary: Strange behaviour on connect with invalid credentials Key: AMQNET-467 URL: https://issues.apache.org/jira/browse/AMQNET-467 Project: ActiveMQ .Net Issue Type: Bug Components: ActiveMQ, NMS Affects Versions: 1.6.2 Reporter: Markus Karolus Assignee: Jim Gomes Priority: Minor
When I try to connect AMQ with invalid credentials I get an EndOfStreamException (Unable to read beyond the end of the stream) instead of an NMSSecurityException (BrokerError: java.lang.SecurityException: User name [***] or password is invalid). With the changes for AMQNET-360 the behaviour in the ResponseCorrelator has been changed. With the removing of the exception handling the ExceptionResponse with the Security-Exception will not be handled any more. Simple reproduction: TestRestartInvalidCredentialsWithFailover doesn't work -- This message was sent by Atlassian JIRA (v6.1.5#6160)