How to get the 3.1.1. runtime working on our own env?
How to get the 3.1.1. runtime working on our own env? Hi all, We have an integration environment, on which we installed version 2.5.6. of the runtime (linux(debian)) (worked OK in 2.5.6). Now we moved to version 3.1.1. so we want to have that runtime up-and-running on this server... I handed over the documentation and asked to install this 3.1.1. version The guy who installs it decided to install this version next to the 2.5.6 (like on the mendix-hosted-env's) He went through all steps, but could not start the runtime with a 3.1.1. model. I think the reason is that the m2ee we run is still the "old" m2ee instead of the 3.1.1. m2ee He indicated that we don't know how we can distinghuis between the 2.5.6. m2ee and the 3.1.1. m2ee The error we get is when we do m2ee start m2ee(LoggedInUsername): start INFO: Trying to start the MxRuntime... ERROR: An error occurred while reading the Application Model ERROR: An error occurred while reading the Application Model Caused by: An error occurred while storing column data for all existing tables in the SQLite database I don't see this in the documentation, so does someone have hints to get the 3.1.1. working? thanks! *Update 1: * - the problem was NOT the old m2ee tools - the problem was (probably) that we did set a value in .m2eerc(.yaml) for runtime_version: (it was set to 2.5.6). Now we left it empty and get this error message INFO: Trying to start the MxRuntime... Invalid JDK version 1.6.0_18. Please check https://world.mendix.com/display/refguide3/System+Requirements ERROR: Java subprocess terminated with errorcode 4 ERROR: Starting the JVM process did not succeed... m2ee(greint): We are updating this JDK and hope(/expect) it will work then!
To resolve the second above issue with the JDK, we have simply installed the Sun JDK, instead of the Open JDK. Don't let yourself be misled by the plethora of ways on Google you can apparently do this. We found this to be the easiest:
apt-get install sun-java6-jdk
And, to ensure that if there are multiple JDK's on your machine, select the right one using:
update-alternatives --config java
Or remove the OpenJDK:
apt-get remove openjdk-6-jdk
Of course based on the rights of your account on the machine, you may have to bump your rights using sudo.
On the partner portal you can download the 2.1 version of the mendix service, see also here