qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (QPID-4274) second invocation of createConsumer fails for queue in JNDI properties
Date Thu, 07 Mar 2013 22:36:13 GMT

     [ https://issues.apache.org/jira/browse/QPID-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajith Attapattu resolved QPID-4274.
------------------------------------

    Resolution: Fixed
    
> second invocation of createConsumer fails for queue in JNDI properties
> ----------------------------------------------------------------------
>
>                 Key: QPID-4274
>                 URL: https://issues.apache.org/jira/browse/QPID-4274
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.14, 0.18
>            Reporter: Pavel Moravec
>            Assignee: Rajith Attapattu
>            Priority: Trivial
>              Labels: patch
>             Fix For: 0.21
>
>         Attachments: 0001-consumerClose-to-reset-destination-AddressResolved.patch, test_00689136.java
>
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Description of problem:
> Creating in a loop a connection, session and consumer defined in JNDI property file,
2nd instance of the loop raises "Queue not found" exception.
> Version-Release number of selected component (if applicable):
> qpid-java-*-0.14-3
> How reproducible:
> 100%
> Steps to Reproduce:
> See reproducer.
>   
> Actual results:
> (stack trace from Java client 0.14)
> ERROR [IoReceiver - localhost/127.0.0.1:5672] (AMQConnection.java:1267) - Throwable Received
but no listener set: org.apache.qpid.AMQException: ch=0 id=0 ExecutionException(errorCode=NOT_FOUND,
commandId=0, classCode=4, commandCode=7, fieldIndex=0, description=not-found: Queue not found:
response-queue (qpid/broker/SessionAdapter.cpp:686), errorInfo={}) [error code 404: not found]
> ERROR [main] (AMQConnection.java:1267) - Throwable Received but no listener set: org.apache.qpid.AMQException:
ch=0 id=0 ExecutionException(errorCode=NOT_FOUND, commandId=0, classCode=4, commandCode=7,
fieldIndex=0, description=not-found: Queue not found: response-queue (qpid/broker/SessionAdapter.cpp:686),
errorInfo={}) [error code 404: not found]
> javax.jms.JMSException: Error registering consumer: org.apache.qpid.AMQException: ch=0
id=0 ExecutionException(errorCode=NOT_FOUND, commandId=0, classCode=4, commandCode=7, fieldIndex=0,
description=not-found: Queue not found: response-queue (qpid/broker/SessionAdapter.cpp:686),
errorInfo={}) [error code 404: not found]
> 	at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2105)
> 	at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2040)
> 	at org.apache.qpid.client.AMQConnectionDelegate_0_10.executeRetrySupport(AMQConnectionDelegate_0_10.java:369)
> 	at org.apache.qpid.client.AMQConnection.executeRetrySupport(AMQConnection.java:586)
> 	at org.apache.qpid.client.failover.FailoverRetrySupport.execute(FailoverRetrySupport.java:102)
> 	at org.apache.qpid.client.AMQSession.createConsumerImpl(AMQSession.java:2038)
> 	at org.apache.qpid.client.AMQSession.createConsumer(AMQSession.java:996)
> 	at Test_00689136.<init>(Test_00689136.java:71)
> 	at Test_00689136.main(Test_00689136.java:46)
> Caused by: org.apache.qpid.AMQException: ch=0 id=0 ExecutionException(errorCode=NOT_FOUND,
commandId=0, classCode=4, commandCode=7, fieldIndex=0, description=not-found: Queue not found:
response-queue (qpid/broker/SessionAdapter.cpp:686), errorInfo={}) [error code 404: not found]
> 	at org.apache.qpid.client.AMQSession_0_10.setCurrentException(AMQSession_0_10.java:1102)
> 	at org.apache.qpid.client.AMQSession_0_10.sync(AMQSession_0_10.java:1082)
> 	at org.apache.qpid.client.AMQSession_0_10.sendConsume(AMQSession_0_10.java:686)
> 	at org.apache.qpid.client.AMQSession_0_10.sendConsume(AMQSession_0_10.java:87)
> 	at org.apache.qpid.client.AMQSession.consumeFromQueue(AMQSession.java:2626)
> 	at org.apache.qpid.client.AMQSession.registerConsumer(AMQSession.java:2962)
> 	at org.apache.qpid.client.AMQSession.access$500(AMQSession.java:120)
> 	at org.apache.qpid.client.AMQSession$4.execute(AMQSession.java:2082)
> 	... 8 more
> Expected results:
> No exception raised.
> Additional info:
> trivial patch to be uploaded

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message