3.6 Change the Default Timeout Period (Optional)

The default timeout period is 20 minutes. It is set in both setDomainEnv.sh and plan.xml. The values in each place must be equal.

Note:

If you change these settings after deploying Oracle DMW, you must redeploy it, following instructions in Deploy Oracle DMW on the WebLogic Server.

To set a different timeout value:

  1. Edit plan.xml, which is located in the top level of the DMW release .zip file. Open plan.xml in an editor, search for SessionTimeout, then change its value, which is in minutes, from 20 to the number of minutes you want.

    <variable>

    <name>SessionTimeout</name>

    <value>number_of_minutes</value>

    </variable>

  2. Edit setDomainEnv.sh, which is located in the domain\bin directory, to add a value in milliseconds equal to the number of minutes you entered in plan.xml. For example, 20 minutes is 1200000 milliseconds. Find:

    EXTRA_JAVA_PROPERTIES="${EXTRA_JAVA_PROPERTIES}

    and add or edit the line:

    -Djbo.ampool.maxinactiveage=number_of_milliseconds