76
Chapter 4 Configuring Clusters
Using JDBC for session swapping
To use JDBC for session swapping, the JRun server's
local.properties
file should
contain the following properties:
session.persistence.service=jdbc
session.persistence.jdbc.class=allaire.jrun.session.JDBCSessionStorage
session.persistence.jdbc.JDBCDriver=sun.jdbc.odbc.JdbcOdbcDriver
session.persistence.jdbc.JDBCConnectionURL=jdbc:odbc:JRunSessions
session.persistence.jdbc.JDBCSessionTable=sessions
session.persistence.jdbc.JDBCSessionIDColumn=id
session.persistence.jdbc.JDBCSessionDataColumn=data
JDBC swapping requires that you have a valid JDBC driver that can successfully connect
to the database. You must create a table in your database with an id column and a data
column. This example uses a table named sessions, an IDColumn named id, and a
DataColumn named data. Define the id column as varchar(255) and the data column as
binary data.
Содержание ClusterCATS
Страница 1: ...macromedia Using ClusterCATS ...
Страница 56: ...46 Chapter 3 Installing ClusterCATS ...
Страница 118: ...108 Chapter 4 Configuring Clusters ...
Страница 156: ...146 Index ...