Oracle® Communications Converged Application Server Administration Guide Release 5.0 Part Number E17647-03 |
|
|
View PDF |
This chapter describes a profile provider configuration file, profile.xml
:
The profile.xml
file configures attributes of a profile service provider, such as:
The name of the provider
The class name of the provider implementation
Optional arguments passed to the provider
Mapping rules for using the provider
profile.xml
is stored in the DOMAIN_DIR
/config/custom
subdirectory where DOMAIN_DIR
is the root directory of the Oracle Communications Converged Application Server domain.
Figure 33-1 shows the element hierarchy of the profile.xml
file.
Oracle recommends using the Administration Console profile service extension to modify profile.xml
indirectly, rather than editing the file manually using a text editor or other XML editing application. Using the Administration Console ensures that the profile.xml
document always contains valid XML. See "Configuring Profile Providers Using the Administration Console" in the Converged Application Server SIP Application Development Guide.
You may need to manually view or edit profile.xml
to troubleshoot problem configurations, repair corrupted files, or to roll out custom profile provider configurations to a large number of machines when installing or upgrading Converged Application Server. When you manually edit profile.xml
, you must reboot servers to apply your changes.
If you need to modify profile.xml
on a production system, follow these steps:
Use a text editor to open the DOMAIN_DIR
/config/custom/profile.xml
file, where DOMAIN_DIR
is the root directory of the Converged Application Server domain.
Modify the profile.xml
file as necessary. See "XML Element Description" for a full description of the XML elements.
Save your changes and exit the text editor.
Reboot or start servers to have your changes take effect:
Test the updated system to validate the configuration.
The full schema for the profile.xml
file is bundled within the profile-service-descriptor-binding.jar
library, located in WL_home/sip/server/lib
, where WL_home is the path to the directory where WebLogic Server is installed.
See "Developing Custom Profile Providers" in the Converged Application Server SIP Application Development Guide for examples of profile.xml
configuration files.
The following sections describe each XML element in profile.xml
.
The top level profile-service
element contains the entire profile service configuration.
Specifies how requests for profile data are mapped to profile provider implementations.
Specifies the technique used for mapping documents to providers:
router
uses a custom router class, specified by map-by-router
, to determine the provider.
prefix
uses the specified map-by-prefix
entry to map documents to a provider.
provider-name
uses the specified name
element in the provider
entry to map documents to a provider.
Configures the profile provider implementation and startup options.
Specifies a name for the provider configuration. The name
element is also used for mapping documents to the provider if you specify the provider-name
mapping technique.