9 Configuring Site Capture
After you configure Oracle WebCenter Sites: Site Capture Managed Servers, you can configure Site Capture with the Site Capture Configurator. You can also integrate Site Capture with the WebCenter Sites publishing process.
Configuring Site Capture with the Configurator
The Site Capture Configurator provides instructions to configure Sites Capture in interactive or silent mode, after you complete the prerequisite tasks.
Note:
If you have a non-SSL based installation, then you will not be able to see Site Capture icon when you login to Sites.
-
Create the necessary database schemas using the Repository Creation Utility, For more information see,Creating the Database Schemas.
-
Deploy at least one fully functional instance of WebCenter Sites.
-
Create Managed Servers for Site Capture using the WebLogic Configuration Wizard and the
For instructions, see Configuring the WebCenter Sites Domain.Oracle WebCenter Sites — Site Capture - 14.1.2.0.0 [wcsites]
template.
Note:
When sites capture is installed in cluster on SSl using OHS webserver and integrated with OAM, below configuration must be performed.SITE OHS
<IfModule weblogic_module>
</IfModule>
<IfModule weblogic_module>
WebLogicCluster site-capture-host-node1:site-capture-port-node1,site-capture-host-node2:site-capture-port-node2
MatchExpression *
</IfModule>
OAM OHS
<IfModule weblogic_module>
WebLogicHost load-balancer-host
WebLogicPort load-balancer-port
MatchExpression *
WLIOTimeoutSecs 1200
KeepAliveEnabled true
ConnectTimeoutSecs 60
ConnectRetrySecs 5
SecureProxy ON
WLProxySSL ON
WLProxySSLPassThrough ON
Debug ALL
</IfModule>
Running the Site Capture Configurator in Interactive Mode
To run the Configurator in interactive mode, do these steps:
-
Using the command line, navigate to the
ORACLE_HOME/wcsites/sitecapture/
directory. -
Run the Site Capture Configurator:
java -jar sites-sitecapture-configurator.jar -configPath DOMAIN_HOME/wcsites/sitecapture/config
. -
Follow the instructions displayed in the Configurator.
-
If the client is running Site Capture in an HTTPS environment, set the
cookie-secure
flag totrue
inweblogic.xml
. -
Start the Managed Server hosting this Site Capture instance.
Running the Site Capture Configurator in Silent Mode
To run the Configurator in silent mode, do these steps:
-
Edit the
DOMAIN_HOME/wcsites/sitecapture/config/wcs_sitecapture_properties_bootstrap.ini
file and complete the instructions. -
Use the command line to change to the
ORACLE_HOME/wcsites/sitecapture/
. directory. -
Execute
java -jar sites-sitecapture-configurator.jar -silent DOMAIN_HOME/wcsites/sitecapture/config
. -
Start the Site Capture Managed Server.
Completing the Configuration of Site Capture
-
Log in to WebCenter Sites.
-
Access the Admin interface, click the Admin Tab, and navigate to System Tools and then Property Management Tool.
-
Edit the
valid.urls
property, which accepts a comma-separated URLs. For Site Capture, addhttp://sitecapture-host:sitecapture-Port/__admin/*
. -
Start the WebCenter Sites Managed Server.
Completing Site Capture Cluster Configuration
DOMAIN_HOME/wcsites/sitecapture
directory from the primary node must be mounted and shared across all other nodes in the cluster. It should be a single copy of a folder used by all the nodes. This directory include the following directories:
-
oracle.wcsites.sitecapture.config
-
oracle.wcsites.sitecapture.crawler
These paths to new shared location in setStartupEnv.sh/.cmd
file.
Note:
If theDOMAIN_HOME/wcsites/sitecapture/config/wcs_sitecapture_properties_bootstrap.ini
file was manually edited to change the WebCenter Sites password (oracle.wcsites.app.password
) to a nonencrypted clear-text value, then the oracle.wcsites.sitecapture.password.replace
value must be set to true
.
If both SiteCapture and WCS share the same KeyStore, then set the oracle.wcsites.app.password=<saved in keystore> ororacle.wcsites.sitecapture.password.replace=true to avoid any error caused by already existing key.
For more information about configuring Site Capture, see Using the Site Capture Application in Administering Oracle WebCenter Sites.
Note:
Because changes you make to a WAR file are not retained during redeployment, WAR file changes need to be copied over after each redeployment of the web applications. It is generally recommended to deploy the static artifacts such as images and stylesheet files onto the web server.Integrating Site Capture with the WebCenter Sites Publishing Process
The completion of a RealTime publishing session can trigger Site Capture if it is integrated with the WebCenter Sites publishing process. The following procedure integrates the WebCenter Sites publishing system to communicate with your installed Site Capture application.
- On the WebCenter Sites source system, go to the
FW_PublishingEventRegistry
table and change the blocking value fromN
toY
for the listenercom.fatwire.cs.crawler.RemoteElementInvokingPublishingEventListener
. - On the WebCenter Sites target system, do these steps: