MACROMEDIA COLDFUSION MX-CLUSTERCATS User Manual Page 86

  • Download
  • Add to my manuals
  • Print
  • Page
    / 156
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 85
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.
Page view 85
1 2 ... 81 82 83 84 85 86 87 88 89 90 91 ... 155 156

Comments to this Manuals

No comments