Setting Timeout for Asynchronous Activities at Run Time

You can set the timeout value to delay the timeout exception for running asynchronous activities. By default, the timeout value is 180000 milliseconds.

If you do not set the timeout for asynchronous activities, a timeout exception occurs when the following activities are running more than 180,000 milliseconds:
  • Search Entry
  • Authenticate Entry
  • Create Entry
  • Update Entry
  • Lookup Entry
  • Delete Entry
  • ModifyDN Entry
  • LDIF

You can set the timeout in TIBCO Business Studio or in TIBCO Enterprise Administrator at run time.

Setting Timeout in TIBCO Business Studio at Run Time

  1. From the menu, click Run > Run Configurations.
  2. In the Run Configurations dialog, click BusinessWorks Application > BWApplication in the left panel.
  3. Click (x)= Arguments tab in the right panel, and then add the -Dbw.engine.activity.async.waitTime=180000 parameter in the VM arguments field. Click Apply.
    Note: The value specified for the parameter is an example, you can replace the parameter value with your own data.

Setting Timeout in TIBCO Enterprise Administrator at Run Time

  1. Navigate to the TIBCO_HOME/bw/version_number/domains/domain_name/appnodes/appspace_name/appnode_name directory.
  2. Add the bw.engine.activity.async.waitTime=180000 parameter to the User Property Configuration section in the config.ini file, and then save the file.
    Note: The value specified for the parameter is an example, you can replace the parameter value with your own data.