Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Where do you set projectcontext or GLOBAL_CONTEXT value?

When executing an artifacts list query with various given filters in RRC, the query took to long and failed to return results.  The following warning message was seen in the logs:

fronting.server.core.jpi.internal.JTSQueryService  - **** WARNING **** THIS QUERY IS SLOW **** This query specifies 'null' for 'projectContext' and is therefore searching across ALL projects. If this is intended, please supply QueryServiceParameters.GLOBAL_CONTEXT which will supress this message.


Where does one set these values so that the query is more efficient assuming that this will help our queries not time out?

0 votes


Accepted answer

Permanent link
This is a log message intended for developers of DOORS Next Generation.  There is no action to be taken as an end-user. 
Stuart Jewell selected this answer as the correct answer

0 votes

Comments

Any suggestions on where to look on why queries time out.  In particular, I'm trying to do RRC query view that allows me to see what artifacts are under suspicion for given modules associated with a given release collection.  Therefore, my filter is "Requirement", Modified after a given date, where used = list of use case modules that are part of a given collection.  Suspicion column added to view.  This works for one view, but times out for a different collections view. Also would like to add where used column.  But again, seems to really load the system.  We had the default timeout of 30seconds but doubled this and it doesn't seem to help.  Takes about 2 minutes before timeout message appears.

Some more clarifications:
- not a "collections view" but the artifacts view which is filtered based on use case modules specified in a given collection (i.e. view collection, write down use cases and manually add to filter, and filtered on artifact type = requirement, modified date >= 6/1/2015
- not "where used" column but "used in modules" column
- there are currently 9247 artifacts of type requirement

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Sep 30 '15, 5:09 p.m.

Question was seen: 1,930 times

Last updated: Oct 01 '15, 1:05 p.m.

Confirmation Cancel Confirm