After you configure the Oracle WebCenter Sites Managed Servers, you can configure a WebCenter Sites instance by completing the browser-based WebCenter Sites Configurator. WebCenter Sites runtime consists of WebCenter Sites and CAS web applications (WAR files) and the following components shared across cluster members: a config
directory, a data
directory, and a database instance.
The following topics describe how to configure WebCenter Sites:
Parent topic: Configuring WebCenter Sites Components
Several prerequisite tasks must be done before you use the WebCenter Sites Configurator. These tasks include granting permissions for OPSS access, modifying cache files, creating database schemas, configuring a WebCenter Sites domain, and setting property values for your environment.
The WebCenter Sites Configurator populates the database with tables and data necessary for WebCenter Sites to function. The Configurator also creates the necessary user accounts and sets the required permissions on the database objects.
Note:
If you are configuring WebCenter Sites over a slow network, increase the setting of the StuckThreadMaxTime
property to 1000 seconds per thread before starting the WebCenter Sites Configurator. The default value is 600 seconds.
In certain environments that potentially have network-related issues, the sample sites import process could take more than 600 seconds per thread during the WebCenter Sites configuration setup process. This can cause the import process or install to fail, and multiple exceptions in the log file. Oracle recommends increasing the setting to 1000 seconds to complete a successful installation of the sample sites.
To change the value of StuckThreadMaxTime
, in the WebLogic Server Administration Console for the domain, go to Servers -> wcsites_server1 -> Configuration -> Tuning.
Note:
The default location forcas.log
is DOMAIN_HOME/servers/wcsites_server1/logs/
.CLASSPATH
environment variable:
ORACLE_HOME\wcsites\webcentersites\sites-home\lib\* ORACLE_HOME\oracle_common\modules\clients\*
For information about how to configure additional cluster nodes, see Setting Up a Cluster.
For information about how to configure an external LDAP authentication provider, see Switching to Authentication Against an LDAP Directory.
For information about how to configure Oracle Access Manager integration, see Switching to Authentication Against Oracle Access Manager.
For information about how to use the WebCenter Sites Configuration Import/Export Utility, see Using the Property Management Tool in Property Files Reference for Oracle WebCenter Sites.
It is recommend to not include any implementation specific customizations to Sites WAR file as the changes will be overwritten during patching process and is redeployed.
The WebCenter Sites web application is shipped as a WAR file. The web application is deployed during Config Wizard process initially and can be redeployed multiple times during the application lifecycle. It is recommend to not include any implementation specific customizations to Sites WAR file as the changes will be overwritten during patching process and is redeployed.
Extending the WebLogic Server Shared Libraries framework, Sites provides extend.sites.webapp-lib.war
as a shared library, located under ORACLE_HOME/wcsites/webcentersites/sites-home/
directory. Any implementation specific customizations such as static web resources or Java libraries can be included in this WAR file. This shared library gets deployed during application lifecycle and shares the same context root as sites (/sites/). The contents of this shared library will not be overwritten during patching process.
Note:
It is generally recommended to deploy the static artifacts such as images and stylesheet files onto the web server.REST-avisports is a sample website that demonstrates client-side website development using the WebCenter Sites Aggregate REST API.
Before you configure and deploy the REST-avisports Sample Site, make sure these tasks are done:
Install WebCenter Sites with avisports sample site.
Start the WebCenter Sites Managed Servers and verify that they are running successfully.
sites-restavisports.war
file in the ORACLE_HOME/wcsites/webcentersites/sites-home
directory.js/appconfig.js
file and provide this WebCenter Sites information:
SITES_HOST_NAME = sites-host
SITES_PORT = sites-port
(for example: 7003
)SITES_CONTEXT = sites context-root
(for example, sites
)sites-restavisports.war
can be deployed on any of the following servers:
When WebCenter Sites is running, you can access the REST-avisports sample site at this URL:
http://<restavisports-host-name>:<restavisports-deployed-port>/<restavisports-app-context-path>