[
https://issues.apache.org/jira/browse/QPID-7256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15282524#comment-15282524
]
Steven commented on QPID-7256:
------------------------------
I use the Qpid Proton framework to test my code,The latest release of the new
JMS AMQP 1.0 client is 0.9.0,According to my testing,The loop times is
1000,After 117 messages had been sent out,It still reported following error.
org.apache.qpid.jms.JmsOperationTimedOutException: Request to open resource
AmqpConnection { ID::a16215dc-1f3a-4e05-be79-f2f0b157349b:1 } timed out
message 117 sent.
at
org.apache.qpid.jms.provider.amqp.builders.AmqpResourceBuilder.buildResource(AmqpResourceBuilder.java:83)
at
org.apache.qpid.jms.provider.amqp.builders.AmqpConnectionBuilder.buildResource(AmqpConnectionBuilder.java:94)
at
org.apache.qpid.jms.provider.amqp.AmqpProvider$4$1.processConnectionInfo(AmqpProvider.java:324)
at
org.apache.qpid.jms.meta.JmsConnectionInfo.visit(JmsConnectionInfo.java:318)
at
org.apache.qpid.jms.provider.amqp.AmqpProvider$4.run(AmqpProvider.java:253)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
> 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]