Site Configuration

This section summarizes how to configure a webMathematica site. Most configuration information is held in the file MSPConfiguration.xml. The contents of this file are used to initialize the server and individual Mathematica kernels.

MSPConfiguration.xml

MSPConfiguration.xml is the central configuration file for webMathematica. A sample file is shown below.

This shows the configuration for a kernel pool called General. A kernel pool is a group of Mathematica kernels that can be specially configured and is documented in the Advanced Topics: Multiple Kernel Pools section. You need to have at least one pool; webMathematica comes with a pool called General configured by default.

If you want to change some configuration information, for example, adding some code for the kernel to run when it is launched, you could add this to the configuration file. If you put it inside the KernelPool section, then the change will only apply to that pool. An example is shown below.

Logging System

The logging system for webMathematica can be customized. This is described in the Logging section.

Security Configuration

The security system for webMathematica can be customized. This is described in the Security section.

X Server Configuration

Special configuration is often required to allow the front end to connect an X server. This is described in the Installation section under Configuring for the X Window System (Unix only). This is only an issue for running webMathematica under Unix.