NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

release=caArray 2.3.X and above

entrydate=Feburary 14, 2011

topic=caArray Installation/Upgrade

Qtext=
*How to increase time-out period when running CQL queries? *

Related forum posting

Scrollbar
iconsfalse

Page info
title
title

...

Panel
titleContents
Toggle Cloak
idTOC
Cloak
idTOC
2

Topic: caArray Installation and Upgrade

Release: caArray 2.3.X and above

Date entered: February 14, 2011

Question

Answer

Have a comment?

Please leave your comment in the caArray End User Forum.

Scrollbar
iconsfalse

...

How to increase time-out period when running CQL queries?

Related forum posting

Answer

The first option is to set a longer timeout on the client side. This requires a code change of a java file in the caGrid 'data' project. Here are the steps to make the code change:*

  • In your caGrid distribution,find:
    Code Block
    $CAGRID_HOME/projects/data/src/java/common/gov/nih/nci/cagrid/data/client/DataServiceClient.java 

...

  • In this class, find the createPortType method;

...

  • Just before the "return port;" line, add the following with your timeout value specified:
    Code Block
    ((Stub) port).setTimeout(<YOUR_TIMEOUT_IN_MSECS>);

...

The second option is to extend DataServiceClient.java in your own project and override createPortType() to establish the port using a configurable timeout.  

A feature request has been sent to the caArray development team to make this parameter easier to configure in the future.

}}

...

Have a comment?

Please leave your comment in the caArray End User Forum.

Scrollbar
iconsfalse