Problem
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.
Cause
Default configuration uses only one cache for all application nodes in a Java and VoiceXML environment.
Resolving the problem
It might be useful to configure each node to use its own cache directory, especially for performance reasons. In order to do this follow the instructions below:
The new cache directory is created automatically if it does not already exist.
- When logged in as dtuser, stop the Java and VoiceXML environment from the command line by entering:
dtjstop
dtjshost -exit - 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:
JavaCommand=javaexe -Dwvr.vxml2.cachedir=directory
(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:
dtjconf - Restart the Java and VoiceXML environment by entering:
dtjshost
dtjstart
The new cache directory is created automatically if it does not already exist.