Starting freeapp results in Error Java subprocess terminated with errorcode 1

0
When starting one of my freeapps, it stops and returns an error, checking the errorlog I see the error: 2:31:24 PMAPP  ERROR Java subprocess terminated with errorcode 1 2:31:24 PMAPP  ERROR Starting the JVM process did not succeed... 2:31:24 PMAPP  ERROR Starting app container failed: Traceback (most recent call last):   Locally it runs fine. I did add several pages, but nothing extraordinary. To resolve this I: doublechecked the security for any incomplete settings. None left now. Still same problem switched off security entirely, same problem tried to locally run it, no problem.   The entire startup errorlog 2:31:16 PMSYSINFOStarting health monitoring of container 2:31:16 PMAPPINFOStarted Mendix Cloud Foundry Buildpack v3.4.0 [commit:82d2e13] 2:31:16 PMAPPINFOFixing up permissions of directory 'data' with mode 700 2:31:16 PMAPPINFOFixing up permissions of directory 'model' with mode 700 2:31:21 PMAPPWARNINGRuntime is being started in Development Mode. Set DEVELOPMENT_MODE to "false" (currently "true") to set it to production. 2:31:21 PMAPPINFOS3 config detected, activating external file store 2:31:21 PMAPPINFOSuccessfully updated backup service 2:31:21 PMAPPINFOUsing Java version: 2:31:21 PMAPPINFOopenjdk version "11.0.3" 2019-04-16 2:31:21 PMAPPINFOOpenJDK Runtime Environment AdoptOpenJDK (build 11.0.3+7) 2:31:21 PMAPPINFOOpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.3+7, mixed mode) 2:31:21 PMAPPINFOTrying to start the MxRuntime... 2:31:23 PMAPPINFOjava.lang.NumberFormatException: For input string: "." 2:31:23 PMAPPINFOat java.base/java.lang.NumberFormatException.forInputString(Unknown Source) 2:31:23 PMAPPINFOat java.base/java.lang.Integer.parseInt(Unknown Source) 2:31:23 PMAPPINFOat java.base/java.lang.Integer.valueOf(Unknown Source) 2:31:23 PMAPPINFOat com.mendix.m2ee.appcontainer.AppContainer.checkJDKVersion(AppContainer.java:106) 2:31:23 PMAPPINFOat com.mendix.m2ee.appcontainer.AppContainer.start(AppContainer.java:86) 2:31:23 PMAPPINFOat com.mendix.m2ee.appcontainer.AppContainer.handleEvent(AppContainer.java:378) 2:31:23 PMAPPINFOat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2:31:23 PMAPPINFOat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2:31:23 PMAPPINFOat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2:31:23 PMAPPINFOat java.base/java.lang.reflect.Method.invoke(Unknown Source) 2:31:23 PMAPPINFOat com.mendix.container.support.EventProcessorDelegate.$anonfun$sendEvent$3(EventProcessorDelegate.scala:19) 2:31:23 PMAPPINFOat scala.collection.Iterator.foreach(Iterator.scala:941) 2:31:23 PMAPPINFOat scala.collection.Iterator.foreach$(Iterator.scala:941) 2:31:23 PMAPPINFOat scala.collection.AbstractIterator.foreach(Iterator.scala:1429) 2:31:23 PMAPPINFOat scala.collection.IterableLike.foreach(IterableLike.scala:74) 2:31:23 PMAPPINFOat scala.collection.IterableLike.foreach$(IterableLike.scala:73) 2:31:23 PMAPPINFOat scala.collection.AbstractIterable.foreach(Iterable.scala:56) 2:31:23 PMAPPINFOat com.mendix.container.support.EventProcessorDelegate.sendEvent(EventProcessorDelegate.scala:16) 2:31:23 PMAPPINFOat com.mendix.container.support.EventProcessor.sendEvent(EventProcessor.scala:24) 2:31:23 PMAPPINFOat com.mendix.container.support.EventProcessor.startSending(EventProcessor.scala:32) 2:31:23 PMAPPINFOat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2:31:23 PMAPPINFOat java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2:31:23 PMAPPINFOat java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2:31:23 PMAPPINFOat java.base/java.lang.reflect.Method.invoke(Unknown Source) 2:31:23 PMAPPINFOat com.mendix.container.eventing.Eventing$.$anonfun$startSendingEvents$13(Eventing.scala:48) 2:31:23 PMAPPINFOat scala.util.Either.map(Either.scala:353) 2:31:23 PMAPPINFOat com.mendix.container.eventing.Eventing$.startSendingEvents(Eventing.scala:48) 2:31:23 PMAPPINFOat com.mendix.container.boot.Container$.$anonfun$doStart$11(Container.scala:138) 2:31:23 PMAPPINFOat scala.util.Either.flatMap(Either.scala:341) 2:31:23 PMAPPINFOat com.mendix.container.boot.Container$.$anonfun$doStart$8(Container.scala:136) 2:31:23 PMAPPINFOat scala.util.Either.flatMap(Either.scala:341) 2:31:23 PMAPPINFOat com.mendix.container.boot.Container$.doStart(Container.scala:131) 2:31:23 PMAPPINFOat com.mendix.container.boot.Container$.$anonfun$start$3(Container.scala:109) 2:31:23 PMAPPINFOat com.mendix.container.boot.Container$.time(Container.scala:181) 2:31:23 PMAPPINFOat com.mendix.container.boot.Container$.start(Container.scala:109) 2:31:23 PMAPPINFOat com.mendix.container.boot.Main$.$anonfun$new$1(Main.scala:11) 2:31:23 PMAPPINFOat scala.util.Either.flatMap(Either.scala:341) 2:31:23 PMAPPINFOat com.mendix.container.config.ProjectConfig$.run(ProjectConfig.scala:56) 2:31:23 PMAPPINFOat com.mendix.container.boot.Main$.delayedEndpoint$com$mendix$container$boot$Main$1(Main.scala:11) 2:31:23 PMAPPINFOat com.mendix.container.boot.Main$delayedInit$body.apply(Main.scala:9) 2:31:23 PMAPPINFOat scala.Function0.apply$mcV$sp(Function0.scala:39) 2:31:23 PMAPPINFOat scala.Function0.apply$mcV$sp$(Function0.scala:39) 2:31:23 PMAPPINFOat scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:17) 2:31:23 PMAPPINFOat scala.App.$anonfun$main$1$adapted(App.scala:80) 2:31:23 PMAPPINFOat scala.collection.immutable.List.foreach(List.scala:392) 2:31:23 PMAPPINFOat scala.App.main(App.scala:80) 2:31:23 PMAPPINFOat scala.App.main$(App.scala:78) 2:31:23 PMAPPINFOat com.mendix.container.boot.Main$.main(Main.scala:9) 2:31:23 PMAPPINFOat com.mendix.container.boot.Main.main(Main.scala) 2:31:24 PMAPPERRORJava subprocess terminated with errorcode 1 2:31:24 PMAPPERRORStarting the JVM process did not succeed... 2:31:24 PMAPPERRORStarting app container failed: Traceback (most recent call last): 2:31:24 PMAPPINFOFile "start.py", line 1320, in <module> 2:31:24 PMAPPINFOcomplete_start_procedure_safe_to_use_for_restart(m2ee) 2:31:24 PMAPPINFOFile "start.py", line 1278, in complete_start_procedure_safe_to_use_for_restart 2:31:24 PMAPPINFOstart_app(m2ee) 2:31:24 PMAPPINFOFile "start.py", line 1015, in start_app 2:31:24 PMAPPINFOif not m2ee.send_runtime_config(): 2:31:24 PMAPPINFOFile "lib/m2ee/core.py", line 269, in send_runtime_config 2:31:24 PMAPPINFOm2eeresponse = self.client.update_configuration(config) 2:31:24 PMAPPINFOFile "lib/m2ee/client.py", line 136, in update_configuration 2:31:24 PMAPPINFOreturn self.request("update_configuration", params) 2:31:24 PMAPPINFOFile "lib/m2ee/client.py", line 50, in request 2:31:24 PMAPPINFOheaders=self._headers) 2:31:24 PMAPPINFOFile "lib/httplib2/__init__.py", line 1322, in request 2:31:24 PMAPPINFO(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) 2:31:24 PMAPPINFOFile "lib/httplib2/__init__.py", line 1072, in _request 2:31:24 PMAPPINFO(response, content) = self._conn_request(conn, request_uri, method, body, headers) 2:31:24 PMAPPINFOFile "lib/httplib2/__init__.py", line 995, in _conn_request 2:31:24 PMAPPINFOconn.connect() 2:31:24 PMAPPINFOFile "/usr/lib/python3.4/http/client.py", line 863, in connect 2:31:24 PMAPPINFOself.timeout, self.source_address) 2:31:24 PMAPPINFOFile "/usr/lib/python3.4/socket.py", line 512, in create_connection 2:31:24 PMAPPINFOraise err 2:31:24 PMAPPINFOFile "/usr/lib/python3.4/socket.py", line 503, in create_connection 2:31:24 PMAPPINFOsock.connect(sa) 2:31:24 PMAPPINFOConnectionRefusedError: [Errno 111] Connection refused 2:31:24 PMAPPINFOstopping app... 2:31:24 PMAPPWARNINGMENDIX LOGGING: Mendix logfilter crashed with return code -15. This is nothing to worry about, we are restarting the logfilter now. 2:31:24 PMAPPINFOTraceback (most recent call last): 2:31:24 PMAPPINFOFile "start.py", line 1320, in <module> 2:31:24 PMAPPINFOcomplete_start_procedure_safe_to_use_for_restart(m2ee) 2:31:24 PMAPPINFOFile "start.py", line 1278, in complete_start_procedure_safe_to_use_for_restart 2:31:24 PMAPPINFOstart_app(m2ee) 2:31:24 PMAPPINFOFile "start.py", line 1015, in start_app 2:31:24 PMAPPINFOif not m2ee.send_runtime_config(): 2:31:24 PMAPPINFOFile "lib/m2ee/core.py", line 269, in send_runtime_config 2:31:24 PMAPPINFOm2eeresponse = self.client.update_configuration(config) 2:31:24 PMAPPINFOFile "lib/m2ee/client.py", line 136, in update_configuration 2:31:24 PMAPPINFOreturn self.request("update_configuration", params) 2:31:24 PMAPPINFOFile "lib/m2ee/client.py", line 50, in request 2:31:24 PMAPPINFOheaders=self._headers) 2:31:24 PMAPPINFOFile "lib/httplib2/__init__.py", line 1322, in request 2:31:24 PMAPPINFO(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) 2:31:24 PMAPPINFOFile "lib/httplib2/__init__.py", line 1072, in _request 2:31:24 PMAPPINFO(response, content) = self._conn_request(conn, request_uri, method, body, headers) 2:31:24 PMAPPINFOFile "lib/httplib2/__init__.py", line 995, in _conn_request 2:31:24 PMAPPINFOconn.connect() 2:31:24 PMAPPINFOFile "/usr/lib/python3.4/http/client.py", line 863, in connect 2:31:24 PMAPPINFOself.timeout, self.source_address) 2:31:24 PMAPPINFOFile "/usr/lib/python3.4/socket.py", line 512, in create_connection 2:31:24 PMAPPINFOraise err 2:31:24 PMAPPINFOFile "/usr/lib/python3.4/socket.py", line 503, in create_connection 2:31:24 PMAPPINFOsock.connect(sa) 2:31:24 PMAPPINFOConnectionRefusedError: [Errno 111] Connection refused 2:31:24 PMAPPINFOError in atexit._run_exitfuncs: 2:31:24 PMAPPINFOTraceback (most recent call last): 2:31:24 PMAPPINFOFile "start.py", line 1085, in terminate_process 2:31:24 PMAPPINFOos.killpg(this_process, signal.SIGTERM) 2:31:24 PMAPPINFOFile "start.py", line 1298, in sigterm_handler 2:31:24 PMAPPINFOsys.exit(0) 2:31:24 PMAPPINFOSystemExit: 0 2:33:04 PMSYSINFOUpdated app with guid a8fce473-4bbc-44ef-b29e-198eb24c5e6a ({"state"=>"STARTED"}) 2:35:11 PMSYSINFOUpdated app with guid a8fce473-4bbc-44ef-b29e-198eb24c5e6a ({"state"=>"STARTED"}) c
asked
1 answers
3

Hello Tim,

In the stacktrace I see `JDK Runtime Environment AdoptOpenJDK (build 11.0.3+7)` while you state that you are running Mendix 7.23. That does not match because Mendix 7 still requires Java 8 (https://docs.mendix.com/refguide7/system-requirements).

I think it is best if you raise a support ticket.

answered