Mx for private cloud - Environment production licence - App does not start
0
Hi, I’m using Mendix for Private Cloud (Openshift 3). I try to deploy an application with a production licence. But my app crash at startup. - The namespace has a valid licence - The security is set to production in the application - The security test indicate ‘Complete’ with the green dot - The deployed package works like a charm when I set the environment’s purpose to ‘Development’ But when I set the purpose to Production and I enter the licence received from Mendix support the application is unable to start correctly. The 2 logs below show that as soon as the application is available it shuts down immediately. I asked Mendix support, but they redirected me to this forum. Does anyone have an idea? Thanks Patrick Log 1: 2022-02-18 13:57:35.965 WARNING - Core: The runtime has been started using a trial license, the framework will be terminated when the maximum time is exceeded! 2022-02-18 13:57:36.316 INFO - M2EE: Added admin request handler '/prometheus' with servlet class 'com.mendix.metrics.prometheus.PrometheusServlet' 2022-02-18 13:57:37.174 INFO - M2EE: Initializing runtime... 2022-02-18 13:57:37.179 INFO - Core: Mendix Runtime 9.6.2.30227 (build 30227). Copyright © 2003-2021 Mendix bv. All rights reserved. 2022-02-18 13:57:37.188 INFO - M2EE: Initialized runtime. 2022-02-18 13:57:37.188 INFO - M2EE: Creating Runtime server... 2022-02-18 13:57:37.407 INFO - M2EE: Runtime server started. 2022-02-18 13:57:37.410 INFO - Configuration: Updating configuration... 2022-02-18 13:57:38.566 INFO - Metrics: Started metrics on Micrometer 2022-02-18 13:57:38.907 INFO - Services: Adding 2 authority certificate(s) 2022-02-18 13:57:38.913 INFO - Configuration: Configuration updated. 2022-02-18 13:57:40.159 INFO - Core: Added 2 authority certificate(s). 2022-02-18 13:57:40.184 INFO - Core: Certificates were imported successfully to '/opt/mendix/app/model/resources/keystore'. 2022-02-18 13:57:40.186 INFO - Core: Initializing InternalCore and Modules... 2022-02-18 13:57:42.387 INFO - Core: Initialized InternalCore and Modules. 2022-02-18 13:57:42.387 INFO - Core: Initializing ConnectionBus... 2022-02-18 13:57:42.984 INFO - Core: Initialized ConnectionBus. 2022-02-18 13:57:43.062 INFO - ConnectionBus: Database: PostgreSQL 14.1 (Debian 14.1-1.pgdg110+1), name: 'jdbc:postgresql://*****************?sslmode=prefer' Driver: PostgreSQL JDBC Driver 42.2.23 2022-02-18 13:57:43.064 INFO - Core: Waiting for configured storage service: com.mendix.storage.localfilesystem 2022-02-18 13:57:43.065 INFO - Core: Storage service: Local file system storage, uploaded files path: /opt/mendix/app/data/files 2022-02-18 13:57:43.073 INFO - Core: Configured storage service started. 2022-02-18 13:57:44.640 INFO - Core: Initializing license... 2022-02-18 13:57:48.580 INFO - LicenseService: Mendix subscription usage successfully submitted 2022-02-18 13:57:50.486 INFO - Core: Initialized license. 2022-02-18 13:57:51.355 INFO - TaskQueue: Initializing task queue manager with configuration: System.MendixWorkflows-WorkflowExecution(4ad7b924-81ba-4121-80d3-61a0c81e7785) -> parallelism: 5, System.MendixWorkflows-DefaultTaskExecution(0c3dc2a6-c99b-43f3-872e-e5cc51f8fcc3) -> parallelism: 3. 2022-02-18 13:57:51.359 INFO - TaskQueue: Initializing task queue 'System.MendixWorkflows-WorkflowExecution'. 2022-02-18 13:57:51.359 INFO - TaskQueue: Initializing task queue 'System.MendixWorkflows-DefaultTaskExecution'. 2022-02-18 13:57:51.370 INFO - Workflow Engine: Initializing Workflow Engine... 2022-02-18 13:57:51.423 INFO - Workflow Engine: Workflow Engine is initialized. 2022-02-18 13:57:51.437 INFO - ActionManager: ActionFactory: NOT scheduling OIDC.CleanupOldAuthAttempts (disabled in configuration) 2022-02-18 13:57:51.437 INFO - ActionManager: ActionFactory: NOT scheduling BdrBlModule.UPD_ProjectMunicipality (disabled in configuration) 2022-02-18 13:57:51.437 INFO - ActionManager: ActionFactory: NOT scheduling BdrBlModule.UPD_BlRfSector (disabled in configuration) 2022-02-18 13:57:51.437 INFO - ActionManager: ActionFactory: NOT scheduling BdrBlModule.UPD_BuildingMunicipality (disabled in configuration) 2022-02-18 13:57:51.437 INFO - ActionManager: ActionFactory: NOT scheduling BdrBlModule.UPD_ImmeubleMunicipality (disabled in configuration) 2022-02-18 13:57:51.479 INFO - Connector: Added request handler '' with class 'com.mendix.webui.requesthandling.ResourceRequestHandler' 2022-02-18 13:57:51.541 INFO - Connector: Added request handler 'xas/' with class 'com.mendix.webui.requesthandling.ClientRequestHandler' 2022-02-18 13:57:51.557 INFO - Connector: Added request handler 'file' with class 'com.mendix.webui.requesthandling.FileRequestHandler' 2022-02-18 13:57:51.558 INFO - Connector: Added request handler 'p/' with class 'com.mendix.webui.requesthandling.PageUrlRequestHandler' 2022-02-18 13:57:51.559 INFO - Connector: Added request handler 'manifest.webmanifest' with class 'com.mendix.webui.requesthandling.WebAppManifestHandler' 2022-02-18 13:57:51.789 INFO - Connector: Added request handler 'api-doc/' with class 'com.mendix.integration.requesthandlers.ProcessorRequestHandler' 2022-02-18 13:57:51.790 INFO - Connector: Added request handler 'oauth/' with class 'com.mendix.integration.requesthandlers.RestRequestHandler' 2022-02-18 13:57:51.790 INFO - Connector: Added request handler 'rest-doc/' with class 'com.mendix.integration.requesthandlers.ProcessorRequestHandler' 2022-02-18 13:57:51.796 INFO - Core: Mendix Runtime successfully started, the application is now available. 2022-02-18 13:57:52.191 INFO - Core: Mendix Runtime is shutting down now... 2022-02-18 13:57:52.261 INFO - TaskQueue: Shutting down task queue 'System.MendixWorkflows-WorkflowExecution'. 2022-02-18 13:57:52.261 INFO - TaskQueue: Shutting down task queue 'System.MendixWorkflows-DefaultTaskExecution'. 2022-02-18 13:57:52.261 INFO - TaskQueue: Rescheduling running tasks for expired XAS instance 'a6d661ae-1380-493d-82e9-5f62fa348f60'. 2022-02-18 13:57:52.477 INFO - Core: Mendix Runtime is now shut down. Log 2: 2022-02-18 13:58:02.318 WARNING - Core: The runtime has been started using a trial license, the framework will be terminated when the maximum time is exceeded! 2022-02-18 13:58:02.585 INFO - M2EE: Added admin request handler '/prometheus' with servlet class 'com.mendix.metrics.prometheus.PrometheusServlet' 2022-02-18 13:58:03.625 INFO - M2EE: Initializing runtime... 2022-02-18 13:58:03.656 INFO - Core: Mendix Runtime 9.6.2.30227 (build 30227). Copyright © 2003-2021 Mendix bv. All rights reserved. 2022-02-18 13:58:03.664 INFO - M2EE: Initialized runtime. 2022-02-18 13:58:03.664 INFO - M2EE: Creating Runtime server... 2022-02-18 13:58:03.861 INFO - M2EE: Runtime server started. 2022-02-18 13:58:03.864 INFO - Configuration: Updating configuration... 2022-02-18 13:58:04.758 INFO - Metrics: Started metrics on Micrometer 2022-02-18 13:58:04.983 INFO - Services: Adding 2 authority certificate(s) 2022-02-18 13:58:04.987 INFO - Configuration: Configuration updated. 2022-02-18 13:58:06.196 INFO - Core: Added 2 authority certificate(s). 2022-02-18 13:58:06.271 INFO - Core: Certificates were imported successfully to '/opt/mendix/app/model/resources/keystore'. 2022-02-18 13:58:06.274 INFO - Core: Initializing InternalCore and Modules... 2022-02-18 13:58:08.690 INFO - Core: Initialized InternalCore and Modules. 2022-02-18 13:58:08.690 INFO - Core: Initializing ConnectionBus... 2022-02-18 13:58:09.368 INFO - Core: Initialized ConnectionBus. 2022-02-18 13:58:09.386 INFO - ConnectionBus: Database: PostgreSQL 14.1 (Debian 14.1-1.pgdg110+1), name: 'jdbc:postgresql://***************************?sslmode=prefer' Driver: PostgreSQL JDBC Driver 42.2.23 2022-02-18 13:58:09.387 INFO - Core: Waiting for configured storage service: com.mendix.storage.localfilesystem 2022-02-18 13:58:09.388 INFO - Core: Storage service: Local file system storage, uploaded files path: /opt/mendix/app/data/files 2022-02-18 13:58:09.392 INFO - Core: Configured storage service started. 2022-02-18 13:58:10.937 INFO - Core: Initializing license... 2022-02-18 13:58:14.572 INFO - LicenseService: Mendix subscription usage successfully submitted 2022-02-18 13:58:15.986 INFO - Core: Initialized license. 2022-02-18 13:58:17.015 INFO - TaskQueue: Initializing task queue manager with configuration: System.MendixWorkflows-WorkflowExecution(4ad7b924-81ba-4121-80d3-61a0c81e7785) -> parallelism: 5, System.MendixWorkflows-DefaultTaskExecution(0c3dc2a6-c99b-43f3-872e-e5cc51f8fcc3) -> parallelism: 3. 2022-02-18 13:58:17.018 INFO - TaskQueue: Initializing task queue 'System.MendixWorkflows-WorkflowExecution'. 2022-02-18 13:58:17.018 INFO - TaskQueue: Initializing task queue 'System.MendixWorkflows-DefaultTaskExecution'. 2022-02-18 13:58:17.069 INFO - Workflow Engine: Initializing Workflow Engine... 2022-02-18 13:58:17.187 INFO - Workflow Engine: Workflow Engine is initialized. 2022-02-18 13:58:17.221 INFO - ActionManager: ActionFactory: NOT scheduling OIDC.CleanupOldAuthAttempts (disabled in configuration) 2022-02-18 13:58:17.221 INFO - ActionManager: ActionFactory: NOT scheduling BdrBlModule.UPD_ProjectMunicipality (disabled in configuration) 2022-02-18 13:58:17.221 INFO - ActionManager: ActionFactory: NOT scheduling BdrBlModule.UPD_BlRfSector (disabled in configuration) 2022-02-18 13:58:17.221 INFO - ActionManager: ActionFactory: NOT scheduling BdrBlModule.UPD_BuildingMunicipality (disabled in configuration) 2022-02-18 13:58:17.221 INFO - ActionManager: ActionFactory: NOT scheduling BdrBlModule.UPD_ImmeubleMunicipality (disabled in configuration) 2022-02-18 13:58:17.256 INFO - Connector: Added request handler '' with class 'com.mendix.webui.requesthandling.ResourceRequestHandler' 2022-02-18 13:58:17.389 INFO - Connector: Added request handler 'xas/' with class 'com.mendix.webui.requesthandling.ClientRequestHandler' 2022-02-18 13:58:17.401 INFO - Connector: Added request handler 'file' with class 'com.mendix.webui.requesthandling.FileRequestHandler' 2022-02-18 13:58:17.402 INFO - Connector: Added request handler 'p/' with class 'com.mendix.webui.requesthandling.PageUrlRequestHandler' 2022-02-18 13:58:17.404 INFO - Connector: Added request handler 'manifest.webmanifest' with class 'com.mendix.webui.requesthandling.WebAppManifestHandler' 2022-02-18 13:58:17.608 INFO - Connector: Added request handler 'api-doc/' with class 'com.mendix.integration.requesthandlers.ProcessorRequestHandler' 2022-02-18 13:58:17.655 INFO - Connector: Added request handler 'oauth/' with class 'com.mendix.integration.requesthandlers.RestRequestHandler' 2022-02-18 13:58:17.655 INFO - Connector: Added request handler 'rest-doc/' with class 'com.mendix.integration.requesthandlers.ProcessorRequestHandler' 2022-02-18 13:58:17.668 INFO - Core: Mendix Runtime successfully started, the application is now available. 2022-02-18 13:58:17.993 INFO - Core: Mendix Runtime is shutting down now... 2022-02-18 13:58:17.999 INFO - TaskQueue: Shutting down task queue 'System.MendixWorkflows-WorkflowExecution'. 2022-02-18 13:58:17.999 INFO - TaskQueue: Shutting down task queue 'System.MendixWorkflows-DefaultTaskExecution'. 2022-02-18 13:58:17.999 INFO - TaskQueue: Rescheduling running tasks for expired XAS instance '3be7d77b-225b-48bb-9c79-89bcf881b92e'. 2022-02-18 13:58:18.074 ERROR - Connector: com.mendix.systemwideinterfaces.MendixRuntimeException: org.eclipse.jetty.io.EofException at com.mendix.util.classloading.Runner.withContextClassLoader(Runner.java:23) Caused by: org.eclipse.jetty.io.EofException: null at org.eclipse.jetty.server.HttpConnection$SendCallback.reset(HttpConnection.java:730) at org.eclipse.jetty.server.HttpConnection$SendCallback.access$300(HttpConnection.java:689) at org.eclipse.jetty.server.HttpConnection.send(HttpConnection.java:548) at org.eclipse.jetty.server.HttpChannel.sendResponse(HttpChannel.java:910) at org.eclipse.jetty.server.HttpChannel.write(HttpChannel.java:987) at org.eclipse.jetty.server.HttpOutput.channelWrite(HttpOutput.java:285) at org.eclipse.jetty.server.HttpOutput.close(HttpOutput.java:638) at scala.util.Using$Releasable$AutoCloseableIsReleasable$.release(Using.scala:391) at scala.util.Using$Releasable$AutoCloseableIsReleasable$.release(Using.scala:390) at scala.util.Using$.resources(Using.scala:267) at com.mendix.webui.requesthandling.ResourceRequestHandler.processRequest(ResourceRequestHandler.scala:33) at com.mendix.externalinterface.connector.RequestHandler.doProcessRequest(RequestHandler.java:35) at com.mendix.external.connector.MxRuntimeConnector.lambda$processRequest$0(MxRuntimeConnector.java:74) at com.mendix.util.classloading.Runner.withContextClassLoader(Runner.java:19) at com.mendix.external.connector.MxRuntimeConnector.processRequest(MxRuntimeConnector.java:73) at com.mendix.basis.impl.MxRuntimeImplBase.processRequest(MxRuntimeImplBase.java:838) at com.mendix.m2ee.appcontainer.server.handler.RuntimeServlet.service(RuntimeServlet.scala:25) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1626) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:388) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:633) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:380) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.base/java.lang.Thread.run(Thread.java:829) 2022-02-18 13:58:18.196 INFO - Core: Mendix Runtime is now shut down.
asked
Patrick Lathion
1 answers
2
To answer to my own question in case someone reach it...
The problem was due to an invalid password for the MxAdmin account.
The password did not respect the requirements (length, upper/lower-case letters, ...)
answered
Patrick Lathion