When running applications on a
Blueworx Voice Response VoiceXML
2.0 system configured with multiple application nodes, a FileCache
failure can occur with error messages similar to the following:
- "Cannot lock a file because of a potential deadlock condition"
- "Unable to obtain exclusive file lock"
These errors are logged in the standard log.n.log files in the
/var/dirTalk/DTBE/dtj_logs directory.
As these problems only arise when multiple applications nodes are
configured, the solution is to use a separate FileCache directory
for each application node, by configuring the system as follows:
- Stop the Java and VoiceXML environment by
entering the commands dtjstop followed by dtjshost -exit .
- Edit the configuration file for the Java and VoiceXML environment, /var/dirTalk/DTBE/native/aix/default.cff,
so that in the configuration section for each application node, you
add (or modify) the JavaCommand entry as follows:
-Dwvr.vxml.cachedir=/var/dirTalk/DTBE/native/aix/VXML2Cache/<cachename>
where <cachename> is
a unique name for each application node (you can use the application
node name itself).
- Save the changes, then import the new configuration by entering
the dtjconf command.
- Restart the Java and VoiceXML environment by entering
the commands dtjshostfollowed by dtjstart.