Deployment errors - An error occurred while initializing modules AND Starting MxRuntime failed

7
I am busy deploying our Mendix application (2.5.5.1) to a windows 2008 64 bit server. The Application and IIS are on the same instance. The database server is separate. The TCP/IP connection works as model is created. The service works also. I have followed the help guides, but can't get the application to run, as a follow 2 errors occur . the stack trace is: An error occurred while initializing modules java.lang.IllegalArgumentException: boolean value should be true or false at cQ.parseValueFromString(SourceFile:263) at com.mendix.core.conf.Configuration.getConstantValue(SourceFile:787) at kZ.<init>(SourceFile:15) at n.n(SourceFile:1117) at n.k(SourceFile:935) at n.j(SourceFile:764) at n.i(SourceFile:663) at n.h(SourceFile:581) at n.g(SourceFile:506) at n.f(SourceFile:431) at n.e(SourceFile:358) at n.d(SourceFile:286) at n.b(SourceFile:189) at n.a(SourceFile:122) at fQ.a(SourceFile:34) at dd.a(SourceFile:142) at dd.a(SourceFile:119) at w.a(SourceFile:267) at w.a(SourceFile:142) at gq.<init>(SourceFile:52) at com.mendix.core.MxRuntime.H(SourceFile:600) at com.mendix.core.MxRuntime.A(SourceFile:274) at com.mendix.core.MxRuntime.z(SourceFile:254) at com.mendix.core.MxRuntime.a(SourceFile:236) at ly.execute(SourceFile:54) at com.mendix.m2ee.server.handler.AdminHandler.handle(AdminHandler.java:84) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:550) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Unknown Source) AND the second stack trace is: An error occurred while executing action 'null'. com.mendix.m2ee.api.AdminException: Starting MxRuntime failed. at com.mendix.core.MxRuntime.z(SourceFile:259) Caused by: java.lang.IllegalArgumentException: Webservice must not be null at dI.<init>(SourceFile:20) at com.mendix.core.MxRuntime.J(SourceFile:706) at com.mendix.core.MxRuntime.A(SourceFile:311) at com.mendix.core.MxRuntime.z(SourceFile:254) at com.mendix.core.MxRuntime.a(SourceFile:236) at ly.execute(SourceFile:54) at com.mendix.m2ee.server.handler.AdminHandler.handle(AdminHandler.java:84) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:113) at org.eclipse.jetty.server.Server.handle(Server.java:334) at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:559) at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:992) at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:550) at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:203) at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:406) at org.eclipse.jetty.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:462) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:436) at java.lang.Thread.run(Unknown Source)
asked
1 answers
5

This looks like it's caused by missing application constants values. In the Modeller you define the values to use in that environment, but in Production you need to define the values in the Service Console.

Open the Mendix Service Console, change to the Application Constants page, and make sure you have provided appropriate values for any constants defined in your model.

answered