You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Adel Boutros (JIRA)" <ji...@apache.org> on 2016/09/12 08:58:21 UTC
[jira] [Closed] (QPID-7420) Random failure in queue
creation/deletion using REST calls
[ https://issues.apache.org/jira/browse/QPID-7420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adel Boutros closed QPID-7420.
------------------------------
Resolution: Won't Fix
The error was coming from the Jersey client which was sending randomly the same request twice
> Random failure in queue creation/deletion using REST calls
> ----------------------------------------------------------
>
> Key: QPID-7420
> URL: https://issues.apache.org/jira/browse/QPID-7420
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: qpid-java-6.0, qpid-java-6.0.1, qpid-java-6.0.4
> Reporter: Adel Boutros
> Attachments: Main.java
>
>
> Executing the below sequence for a big number of times (10000 for example) will cause it to fail.
> There are 2 failures:
> * Queue deletion: 404 Not found
> * Queue creation: 409 Conflicts
> Pseudo code (each line is a REST API call):
> {code}
> if queue exist
> delete queue
> create queue
> {code}
> Code dependencies:
> {code:xml}
> <dependencies>
> <dependency>
> <groupId>javax.ws.rs</groupId>
> <artifactId>javax.ws.rs-api</artifactId>
> <version>2.0.1</version>
> </dependency>
> <dependency>
> <groupId>org.glassfish.jersey.core</groupId>
> <artifactId>jersey-client</artifactId>
> <version>2.18</version>
> </dependency>
> <dependency>
> <groupId>org.glassfish.jersey.media</groupId>
> <artifactId>jersey-media-moxy</artifactId>
> <version>2.18</version>
> </dependency>
> </dependencies>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org