[
https://issues.apache.org/jira/browse/QPID-7256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15277934#comment-15277934
]
Rob Godfrey commented on QPID-7256:
-----------------------------------
Which broker/service are you trying to connect to (e.g. Qpid Java Broker, Qpid
C++ Broker, ActiveMQ, Microsoft Azure Service Bus, etc)?
The exception is suggesting a failure to authenticate
{quote}
javax.jms.JMSSecurityException: Failed to authenticate user[admin].
at
org.apache.qpid.amqp_1_0.jms.impl.ConnectionImpl.connect(ConnectionImpl.java:188)
{quote}
Are there logs from the broker/service you are connecting to that explain the
nature of the authentication failure?
Note that the ExceptionListener is not called for exceptions which are
communicated synchronously to the application - such as the one thrown on
connection.start();
> When invoke the method "connection.start" in a loop,reporting socket closed
> ---------------------------------------------------------------------------
>
> Key: QPID-7256
> URL: https://issues.apache.org/jira/browse/QPID-7256
> Project: Qpid
> Issue Type: Bug
> Components: Java Client
> Affects Versions: 0.32
> Environment: windows7、 jdk7
> Reporter: Steven
>
> I use the for loop,It will loop 1000 times,every time,I create a
> connection,then send message,After the message has been sent,close the
> connection.
> this loop executed it for some times,It will report error,as you can see the
> screen shot
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]