Cisco Cisco Unified Customer Voice Portal 11.0(1) User Guide

Page of 156
C
HAPTER 
3:
 
A
DMINISTRATION
 
 
U
SER 
G
UIDE FOR 
C
ISCO 
U
NIFIED 
CVP
 
VXML
 
S
ERVER 
 
 
 
AND 
C
ISCO 
U
NIFIED 
C
ALL 
S
TUDIO
 
 
 
 
77 
action to prevent accidental execution. To disable the confirmation, pass the parameter 
“noconfirm”.  
Accessing Logger Methods 
The VXML Server JMX interface has the ability to access logger instances and execute methods 
on them. The logger class must first tag the methods it considers acceptable to be called by an 
administrator. Refer to the Programming Guide for Cisco Unified CVP VXML Server and Cisco 
Unified Call Studio for information on how to build custom loggers for serviceability. 
To run logger methods via the JXM interface, use a JMX client connected to the server to 
navigate to the 
VoiceApplication/<APPNAME>/Logger/LOGGERNAME
 MBean, where 
APPNAME
 is 
the name of the application to update and 
LOGGERNAME
 is the instance name of the logger to 
access. Note that if the logger does not expose any methods that can be called by an 
administrator, no methods will appear in the Operations tag. 
No loggers shipped included with VXML Server exposes methods to allow runtime changes. 
Custom loggers build by developer, however, may still provide this functionality.  
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: