It's all about the answers!

Ask a question

[closed] Creating multiple items via REST on ClearQuest in parallel

Vincent Leung (11) | asked Apr 03 '18, 6:38 p.m.
closed Apr 04 '18, 3:41 a.m. by Ralph Schoon (55.5k23642)

Hi there,

I've been trying to create items in parallel on ClearQuest, however, whenever I have two REST requests run in parallel, I keep receiving the following error: 
< message > CRVSV0917E The request timed out waiting for a locked resource to become free. < /message> < statusCode > 500 < /statusCode> < cq: reasonCode > aborted < /cq:reasonCode> < cq: resource rdf: resource = "http://<server>/cqweb/oslc/repo/<repository>/db/USER" > USER < /cq:resource>
The type that I am writing to is a custom type, not sure if that makes any difference.

From the HTTPServer error log: I noticed that there are:
[Tue Apr 03 14:17:50 2018] [notice] mpmstats: rdy 598 bsy 2 rd 0 wr 2 ka 0 log 0 dns 0 cls 0
[Tue Apr 03 14:17:50 2018] [notice] mpmstats: bsy: 2 in mod_was_ap22_http.c
which seems to have the 2 requests running, but never completes. I am able to do sequential creates within 200ms on postman, but once a parallel create occurs, both requests seem to hang until the request times out, which is set to 5 minutes. I have tried using DB2 and SQL Server 2014 and both result in the same error. 

Does ClearQuest support concurrent requests through the REST API, and if so, how do I go about understanding where my bottleneck is?

The question has been closed for the following reason: "Question is off-topic or not relevant" by rschoon Apr 04 '18, 3:41 a.m.

2 answers

permanent link
Ralph Schoon (55.5k23642) | answered Apr 04 '18, 3:40 a.m.

I am sorry Vincent, but this is no ClearQuest forum. Search for that forum. I found another one is

Good luck.

permanent link
Donald Nong (14.3k213) | answered Apr 04 '18, 3:40 a.m.

ClearQuest accepts multiple users sessions without any problems. If you try to send two request in parallel from the client, the client may have the problem.

BTW, ClearQuest questions should go here: