I just installed webMathematica on Linux Debian + Tomcat7 + Mathematica 9.0.

I'm getting this error web testing any example.

The error is also written in webMathematica.log

My MSPConfiguration file is :

<MSPConfiguration>
<KernelPool>
<KernelPoolName>General</KernelPoolName>
<KernelExecutable>/usr/local/Wolfram/Mathematica/9.0/Executables/MathKernel</KernelExecutable>
<KernelNumber>1</KernelNumber>
<URLPattern>/*</URLPattern>
</KernelPool>
</MSPConfiguration>


The kernel is running well individually, I can evaluate expressions as I want.

EDIT: I added a user tomcat which can run the kernel as well. I also added the path to mathpass and set the JLinkNativeLibraryDirectory tag.

EDIT: If I set any non existing directory in KernelExecutable tag, the error is the same.

• Kernel ID : 1
• State DESTROYED
• Tomcat user has permissions (sudo -u tomcat math works - How can I check ?) and I added both tag, restart tomcat and nothing changed. I have tried to put a bad kernelexecutable path, and the error is the same. – Crypto Nov 10 '14 at 8:44