Cisco Cisco Customer Voice Portal 8.0(1) User Guide

Page of 157
To update common classes using the JMX interface, use a JMX client connected to the server
to navigate to the 
Global/Command
 MBean and click the function named updateCommonClasses
in the operations tab. The results will be displayed in a dialog box.
Administration Scripts
The script for updating common classes is found in the 
admin
 folder of VXML Server. Windows
users should use the script named 
updateCommonClasses.bat
 and Unix users should use
the script named 
updateCommonClasses.sh
. The script will ask for confirmation of the
desired action to prevent accidental execution. To disable the confirmation, pass the parameter
noconfirm.
Getting/Setting Global and Application Data
Global data holds information that applications decide to share across other applications deployed
on VXML Server. Application data holds information that applications decide to share across
all calls to the application. The VXML Server JMX interface provides the ability for an
administrator to view the contents of these variables, change their values, and even create new
variables.
This functionality provides an administrator direct access to live data that is being created on
the system and can provide them some control of how applications operate. This is only possible
when the application designers design that functionality into the applications. For example, an
application designer for a utility company can build their application to look for the existence
of a global data variable reporting a power outage. The administrator then creates the global
data variable when a power outage occurs and automatically the applications will start reporting
the power outage to callers. The administrator can then delete the global data variable to signify
the power has been restored. While this same functionality could be achieved with a database,
this is a simpler approach to handle predictable situations without the need to use a database.
Global Data Access
To access global data using the JMX interface, navigate to the 
Global/Data
 MBean. The
Attributes tab lists all the global data variable names in an attribute named AllGlobalDataNames
(the value may need to be expanded in order to see all the global data names). The Operations
tab lists four functions that can be executed by the administrator for global data:
setGlobalData – This function allows the administrator to create a new global data variable.
The function takes two inputs, the first being the name of the variable and the second being
the value. Click the button to set the global data and the result will appear in a dialog box.
Note: If there exists global data with the same name it will be overridden.
removeGlobalData – This function allows the administrator to delete a global data variable.
The function takes one input: the name of the global data variable to delete. Click the button
to remove the global data and the result will appear in the dialog box.
removeAllGlobalData – This function allows the administrator to delete all global data,
whether it was created by the administrator or applications. Click the button to remove all
global data and the result will appear in the dialog box.
User Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
83
Chapter 3: Administration
Administration Functions