Site Capture can run as a single application or in a clustered installation.
This chapter contains the following topics:
In this chapter, you will configure an application server to support Site Capture running as a single instance or in cluster mode.
Note :
Before proceeding with the configuration steps, note that the Site Capture application must run on context root/
to support previewing of archives. (Site Capture serves pages from within archives, which can have any context root.)Complete one of the following procedures:
If you are creating a clustered installation, complete the following steps on all cluster members.
Open server.xml
in <apache-tomcat-6.0.29 directory>\conf
and do the following:
Replace port 8080
with the Site Capture port (on which the application server is listening):
Note:
For clustered installations, specify a unique port number for each cluster member.<Connector port=
"8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" />
Configure the data source for Site Capture.
Note:
For clustered installations, configure the same data source on each cluster member.Refer to Table 22-1 for information about configuring the driver class name and URL for your selected driver.
Below is a sample DB2 configuration:
<Context path="" docBase="ROOT" debug="5" reloadable="true" crossContext="true"> <Resource name="scDataSource" auth="Container" type="javax.sql.DataSource" url="jdbc:db2://<hostname>:<port>/CLUSTDB" driverClassName="com.ibm.db2.jcc.DB2Driver" username="xxxxx" password="xxxxxxx" maxActive="20" maxIdle="10" maxWait="-1" /> </Context>
Table 22-1 Database Driver Parameters
Database Driver | Parameter | Value |
---|---|---|
SQL Server |
DriverClass |
|
SQL Server |
Required |
|
SQL Server |
URL |
For example: |
DB2 |
DriverClass |
|
DB2 |
Required |
|
DB2 |
URL |
For example: |
Oracle |
DriverClass |
|
Oracle |
Required |
|
Oracle |
URL |
For example: |
Copy the required database driver jar file to <apache-tomcat-6.0.29 directory>\lib
.
Once you have completed configuring the application server(s), continue to Chapter 23, "Procedures for Installing Site Capture."
If you are creating a clustered installation, complete the following steps on all cluster members.
Create a domain in WebLogic and configure the administrator user name and password for the domain.
Start the WebLogic Admin Server from the command prompt:
Windows: startweblogic.cmd
UNIX: ./startweblogic.sh
Log in to the console.
Create a managed server <managed_server_name>
in the domain you just created.
Note:
For clustered installations, specify a unique port number for each cluster member.Create a data source and map it to the managed server <managed_ server_name>
.
Note:
For clustered installations, configure the same data source on each cluster member.Once you have completed configuring the application server(s), continue to Chapter 23, "Procedures for Installing Site Capture."
If you are creating a clustered installation, complete the following steps on all cluster members.
Create a WebSphere application server instance.
Note:
For clustered installations, specify a unique port number for each cluster member.Create a data source for the newly created server instance.
Note:
For clustered installations, configure the same data source on each cluster member.Copy the required database driver into <websphere_install_dir>/websphere/AppServer/universalDriver/lib
. (refer to Table 22-1 for the required driver).
Log in to the WebSphere console and do the following:
Add the user name and password of the database by creating an alias (go to Security, select Global security, then Java Authentication and Authorization Service, and then select J2C authentication data).
Create a JDBC provider and data source (go to Resources, and then select JDBC).
Once you have completed configuring the application server(s), continue to Chapter 23, "Procedures for Installing Site Capture."