Error trying to start on-premise app: local variable proc referenced before assignment

Hello, I'm trying to start an on-premise app (on a Linux server), but I get the following error: m2ee(mxlaba): start INFO: Trying to start the MxRuntime... Traceback (most recent call last): File "/usr/bin/m2ee", line 1071, in <module> cli.cmdloop() File "/usr/lib64/python2.6/", line 142, in cmdloop stop = self.onecmd(line) File "/usr/lib64/python2.6/", line 219, in onecmd return func(arg) File "/usr/bin/m2ee", line 69, in do_start self._start() File "/usr/bin/m2ee", line 133, in _start if not self.m2ee.start_appcontainer(): File "/usr/share/m2ee-tools/m2ee/", line 86, in start_appcontainer if not self.runner.start(): File "/usr/share/m2ee-tools/m2ee/", line 155, in start self._pid = UnboundLocalError: local variable 'proc' referenced before assignment ERROR: Starting the JVM process did not succeed... Does anyone have any idea what the problem could be?   We're using Mx 6.7.1, and m2ee version   Thanks!
1 answers

Solved. The problem was we had configured a custom java bin directory in the yaml file, but this was configured incorrectly.

More info: