Registering Provider Classes
Note:
As of PeopleTools 8.54, integration with Oracle WebCenter through the delivered related content services has been desupported. These service definitions may be removed from a future release of PeopleTools.
To support locale switching by using the WCGS_PreferredLanguage=LangCode query parameter, you must manually register the URLBaseProvider class.
You can do that manually or by using a WebLogic Scripting Tool (WLST) command.
Manual Registration
To register the provider class manually:
-
Using a text editor, open the adf-config.xml file.
-
Find the adf-config element and enter the following xml inside the tag:
<adf-webcenter-generalsettings-config xmlns="http://xmlns.oracle.com/webcenter/generalsettings/config"> <provider-class> oracle.webcenter.generalsettings.model.provider.URLBaseProviderprovider </provider-class> </adf-webcenter-generalsettings-config> -
Save the file.
WLST Registration
To use WLST to register the provider class:
-
Open the WebLogic Scripting Tool.
-
Run this command:
setWebCenterGeneralSettingsProvider('webcenter','oracle.webcenter.generalsettings.model.provider.URLBaseProvider')Note:
The first parameter is the application name. The second parameter is the providerClass. Sometimes you must supply a third parameter.
or this command:
setWebCenterGeneralSettingsProvider('webcenter','oracle.webcenter.generalsettings.model.provider.URLBaseProvider','WLS_Spaces1')Note:
The third parameter is the spaces cluster service name or spaces service name.
-
Restart the server.
See Oracle Fusion Middleware Web User Interface Developer's Guide for Oracle Application Development Framework 11g Release 1 (11.1.1.5.0), "Getting Started Using the Oracle WebLogic Scripting Tool."