URLPattern


the pattern to map URLs to a kernel pool

DetailsDetails

  • URLPattern is a configuration setting that specifies the pattern of URLs that will use a particular kernel pool. 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.

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

A sample setting for a kernel pool is shown below. This shows that the URLPattern will use this pool for any URL that has Compute after the web application base. For example, the url http://webMathematica/Compute/special/tool.jsp will use this kernel pool.

<KernelPool>
<KernelPoolName>General</KernelPoolName>
<URLPattern>/Compute</URLPattern>
<KernelNumber>2</KernelNumber>
</KernelPool>