With a previous employer our users were interacting with a web app that would 
construct the WS request. We just made sure the qualification line could not be 
null in the app and then intentionally hid the WS URL from the outside world. 
With no way to get inside except through that app, we prevented the null 
qualification or at least made sure it was our error  if it DID happen.

-al


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of L G Robinson
Sent: Monday, July 29, 2013 12:33 PM
To: [email protected]
Subject: Web services with null qualifications

** 
Hi Folks,


We make heavy use of Web services here at NC State and I have come across a 
problem. We have a number of standard get-entry and get-list operations defined 
against our main form. These operations have the usual:


Qualification
StartRecord
MaxLimit


input parameters.


The problem... If a user of the Web services invokes one of these operations 
with a null qualification, this results in a full table scan. Obviously, this 
is not ideal for a table with ~275K records.


My server settings are set to disallow unqualified searches 
(Allow-Unqual-Queries: F) and there is also a limit on the number of returned 
records (Max-Entries-Per-Query: 50000). Apparently, the Web services are exempt 
from these limitations.


Does anyone have any suggestions on how I can prevent these table scans? It 
doesn't happen often but when it does, I end up restarting the AR server as 
performance eventually becomes unacceptable before the scan completes.


On a side note, if I know the server thread that is processing the table scan, 
is there any way to kill that process without killing the whole server?


Thanks for any insights you might have.


ARS: 7.6.03 on Solaris 10.
Mid Tier: 7.6.04 SP3 201208101612 Hotfix on Red Hat Linux
Tomcat: 6.0.35
Java: 1.7.0_05


Larry Robinson
Remedy Developer/Admin
NC State University
Raleigh, NC


PS: I voted.  ;-)
_ARSlist: "Where the Answers Are" and have been for 20 years_ 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to