web server - Borland Technical Publications

web server - Borland Technical Publications web server - Borland Technical Publications

techpubs.borland.com
from techpubs.borland.com More from this publisher
12.11.2014 Views

Managing and configuring the JSS Figure 6.2 JSS Management with Two Web Containers and a Centralized Backend Datastore Managing and configuring the JSS The JSS configuration is defined through its properties. BES supports two types of configurations; the default is to use a JDatastore, but BES supports any JDBC datasource. ■ ■ If JSS is configured to use a JDataStore file, the database tables are automatically created by JSS. If JSS is configured to use a JDBC datasource, three database tables needs to be pre-created in the backend database by your system administrator using the following SQL statements: CREATE TABLE "JSS_KEYS" ("STORAGE_NAME" STRING PRIMARY KEY, "KEY_BASE" BIGINT); CREATE TABLE "JSS_WEB" ("KEY" STRING PRIMARY KEY, "VALUE" BINARY, "EXPIRATION" BIGINT); CREATE TABLE "JSS_EJB" ("KEY" STRING PRIMARY KEY, "VALUE" BINARY, "EXPIRATION" BIGINT); The JSS can run as part of the Partition side-by-side with other Partition services. Chapter 6: Java Session Service (JSS) configuration 59

Managing and configuring the JSS Configuring the JSS Partition service As a “Partition service”, JSS configuration information is located in each Partition's data directory in the partition.xml file. By default, this file is located in the following directory: /var/domains/base/configurations//mos/ /adm/properties. For example, for a Partition named “MyPartition”, by default the JSS configuration information is located in: /var/domains/base/configurations//mos/ mypartition/adm/properties/partition.xml For more information, go to Chapter 30, “Partition XML reference.” Otherwise, for the location of a Partition data directory, go to the configuration.xml file located in: /var/domains/base/configurations// and search for the Partition Managed Object directory attribute:

Managing and configuring the JSS<br />

Figure 6.2<br />

JSS Management with Two Web Containers and a Centralized Backend Datastore<br />

Managing and configuring the JSS<br />

The JSS configuration is defined through its properties. BES supports two types of<br />

configurations; the default is to use a JDatastore, but BES supports any JDBC<br />

datasource.<br />

■<br />

■<br />

If JSS is configured to use a JDataStore file, the database tables are automatically<br />

created by JSS.<br />

If JSS is configured to use a JDBC datasource, three database tables needs to be<br />

pre-created in the backend database by your system administrator using the<br />

following SQL statements:<br />

CREATE TABLE "JSS_KEYS" ("STORAGE_NAME" STRING PRIMARY KEY, "KEY_BASE" BIGINT);<br />

CREATE TABLE "JSS_WEB" ("KEY" STRING PRIMARY KEY, "VALUE" BINARY, "EXPIRATION"<br />

BIGINT);<br />

CREATE TABLE "JSS_EJB" ("KEY" STRING PRIMARY KEY, "VALUE" BINARY, "EXPIRATION"<br />

BIGINT);<br />

The JSS can run as part of the Partition side-by-side with other Partition services.<br />

Chapter 6: Java Session Service (JSS) configuration 59

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!