IBM Support

Functionality of the “longopquery” in Maximo Base Services explained

Question & Answer


Question

What is the functionality of the “longopquery” in Maximo Base Services?

Answer

The “WEBCLIENT_DISABLELONGOPQUERY parameter indicates whether longopquery is disabled

Basically enabling that property prevents the "Please Wait" dialog from showing for long running queries.

One of the negatives of enabling WEBCLIENT_DISABLELONGOPQUERY is that if a query takes too long the Http Server eventually can time out and cause a 500 error, which will be displayed to the user.
The correct jsp to modify this in is as follows:

Drive:\maximo\applications\maximo\maximouiweb\webmodule\webclient\components\longop.jsp

You can regulate a time out for the longopquery by setting or modifying the interval definition that is set in the interval property and code in certain circumstances in this jsp file.

The standard interval definitions shows as follows:

String interval = component.getProperty("interval");
if(WebClientRuntime.isNull(interval))
interval = "4000";

if (isfromquery.equals("true"))
{
interval = "10000";
}

You can also set this webclient.property to 1 to disable this feature

[{"Product":{"code":"SSLKT6","label":"IBM Maximo Asset Management"},"Business Unit":{"code":"BU055","label":"Cognitive Applications"},"Component":"--","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.1;7.1.1;7.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSWT9A","label":"IBM Control Desk"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.5;7.5.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSLKTY","label":"Maximo Asset Management for IT"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.2.8;7.1;7.1.1;7.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SS6HJK","label":"Tivoli Service Request Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"","label":"Windows 2003 server"},{"code":"","label":"Windows 2008 server"}],"Version":"6.2.8;7.1;7.1.2;7.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Product":{"code":"SSKTXT","label":"Tivoli Change and Configuration Management Database"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":" ","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"},{"code":"PF027","label":"Solaris"},{"code":"PF010","label":"HP-UX"}],"Version":"6.2.8;7.1;7.1.1;7.1.2;7.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21633108