Nounou93 / matlabcontrol

Automatically exported from code.google.com/p/matlabcontrol
0 stars 0 forks source link

Cannot connect to a Matlab instance frmo within Tomcat #11

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I'm using matlabcontrol 4.0.0, Matlab r2010a on Debian Squeeze.
I'm using MatlabControl from outside MATLAB. The client class is a class 
running inside a Tomcat 6.0 (the one in the Debian repository!).

At the attempt of calling the MATLAB instance, no error is catched, but the 
connection time out!

This problem happens only if Tomcat is running as a service. If Tomcat is 
launched from the shell everything works fine.

Thinking it was a security problem, I tried to grant all security permissions 
to the web application but nothing changed.
I thought it could be related to the PATH environment variable, but the PATH 
variable maps the MATLAB codebase location and nothing good happened.
Files permissions are OK.

Am I forgetting something?

Thanx

Rudy

Original issue reported on code.google.com by rudy.bec...@gmail.com on 30 Nov 2012 at 1:31