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
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.
However, if you want to make the change apply to any pool then you can put the code outside all the pools. This is shown in the following.
If you are not sure what to do, then add the changes inside the pool definition.
The different configuration parameters are shown in the tables below.
Front end configuration.
Kernel pool configuration.
General site configuration.
The logging system for webMathematica
can be customized. This is described in the Logging
The security system for webMathematica
can be customized. This is described in the Security
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