Blueworx Voice Response creates only one VoiceXML2 cache directory for use by all nodes. However, it is possible for each node to use its own directory, which can lead to performance improvements.
Resolving the problem
- When logged in as dtuser, stop the Java and VoiceXML environment from the command line by entering:
- Enter cd $DTBE_HOME/native/aix
- Using a text editor, open the file default.cff for editing. For each application node (or even the voice response node) that you want to use its own cache directory, add the following line to the application NodeName stanza:
(where javaexe is name of the Java executable (for example: /usr/java14/jre/bin/java), and directory is the absolute path of the cache directory you want to use.
If you already have a JavaCommand line in default.cff then simply add -Dwvr.vxml2.cachedir=directory to the end of the JavaCommand line.
- Save the file
- Verify that the changes are valid, then update config.cfd by entering the command:
- Restart the Java and VoiceXML environment by entering:
The new cache directory is created automatically if it does not already exist.