This section will briefly describe the initialization process for Mathematica
kernels as they are launched by webMathematica
and how it can be specially configured.
kernel is launched and initialized as follows.
The Mathematica $Path
is set so that code inside webMathematica
can be loaded.
application is loaded
The security system is loaded
The image system is set up
The memory constraint parameters are set
The logging, message, and print systems are set
Kernel initialization code is evaluated
Kernel initialization code is set with the KernelInitializeCode
configuration parameter, which is set in MSPConfiguration.xml.
A sample setting follows.
setting is passed to the Mathematica
kernel for evaluation as a last step of initialization. It can contain extra commands for loading special packages.