ERROR: Executing start did not succeed

0
Hi guys, Mxruntime can't run.Please help me.Thank you in advance. m2ee (myapp): start INFO: Trying to start the MxRuntime ... Java HotSpot (TM) 64-Bit Server VM warning: ignoring option MaxPermSize = 256M; support was removed in 8.0 ERROR: Executing start did not succeed: result: 12, message: An exception occurred while running the after-startup-action. INFO: Waiting for the application to shutdown ... INFO: The application has been stopped successfully. 2016-07-25 15:03:17.103 INFO - Logging: Logging to file: /opt/mendix/log/chinarai.log, max size: 10240KiB, max rotation: 10 2016-07-25 15:03:17.110 INFO - Core: Mendix Runtime 6.3.1 (build 7603). Copyright © 2003-2016 Mendix bv. All rights reserved. 2016-07-25 15:03:26.595 INFO - Core: Storage service: Local file system storage, uploaded files path: /opt/mendix/application/data/files 2016-07-25 15:03:26.595 INFO - Core: Clustering is disabled 2016-07-25 15:03:26.624 INFO - ConnectionBus: Database: PostgreSQL 9.4.8, name: 'chinarai' Driver: PostgreSQL Native Driver PostgreSQL 9.4 JDBC4.1 (build 1206) 2016-07-25 15:03:26.779 WARNING - Core: The runtime has been started using a trial license, the framework will be terminated when the maximum time is exceeded! 2016-07-25 15:03:28.365 INFO - Core: Running after-startup-action... 2016-07-25 15:03:28.601 CRITICAL - ActorSystem: Uncaught fatal error from thread [MxRuntimeSystem-action-dispatcher-10] shutting down ActorSystem [MxRuntimeSystem] 2016-07-25 15:03:28.601 CRITICAL - ActorSystem: java.lang.ExceptionInInitializerError: null at appcloudservices.OpenIDHandler.<clinit>(OpenIDHandler.java:96) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:28) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:17) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174) at com.mendix.core.component.InternalCore.execute(InternalCore.java:377) at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:52) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:14) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:144) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:146) at scala.util.Try$.apply(Try.scala:192) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:140) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Caused by: java.lang.NullPointerException: null at appcloudservices.OpenIDUtils.<clinit>(OpenIDUtils.java:15) at appcloudservices.OpenIDHandler.<clinit>(OpenIDHandler.java:96) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:28) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:17) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:168) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:174) at com.mendix.core.component.InternalCore.execute(InternalCore.java:377) at com.mendix.modules.microflowengine.actions.actioncall.JavaAction.execute(JavaAction.scala:52) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:47) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:192) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:149) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:49) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:260) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:248) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(CustomMonitoredAction.scala:14) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:144) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:32) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(ActionDispatching.scala:146) at scala.util.Try$.apply(Try.scala:192) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(ActionDispatching.scala:140) at akka.actor.Actor$class.aroundReceive(Actor.scala:465) at com.mendix.core.session.Worker.aroundReceive(ActionDispatching.scala:136) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516) at akka.actor.ActorCell.invoke(ActorCell.scala:487) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:238) at akka.dispatch.Mailbox.run(Mailbox.scala:220) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 2016-07-25 15:03:28.645 ERROR - Core: An exception occurred while running the after-startup-action. 2016-07-25 15:03:28.645 ERROR - Core: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://MxRuntimeSystem/user/dispatchSupervisor#-74790800]] after [604800000 ms] at com.mendix.core.component.InternalCore.execute(InternalCore.java:352) Caused by: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://MxRuntimeSystem/user/dispatchSupervisor#-74790800]] after [604800000 ms] at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:178) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://MxRuntimeSystem/user/dispatchSupervisor#-74790800]] after [604800000 ms] at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:36) Caused by: akka.pattern.AskTimeoutException: Ask timed out on [Actor[akka://MxRuntimeSystem/user/dispatchSupervisor#-74790800]] after [604800000 ms] at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:333) at akka.actor.Scheduler$$anon$7.run(Scheduler.scala:117) at akka.actor.LightArrayRevolverScheduler$TaskHolder.run(Scheduler.scala:476) at akka.actor.LightArrayRevolverScheduler$$anonfun$close$1.apply(Scheduler.scala:282) at akka.actor.LightArrayRevolverScheduler$$anonfun$close$1.apply(Scheduler.scala:281) at scala.collection.Iterator$class.foreach(Iterator.scala:742) at scala.collection.AbstractIterator.foreach(Iterator.scala:1194) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at akka.actor.LightArrayRevolverScheduler.close(Scheduler.scala:280) at akka.actor.ActorSystemImpl.stopScheduler(ActorSystem.scala:687) at akka.actor.ActorSystemImpl$$anonfun$liftedTree2$1$1.apply$mcV$sp(ActorSystem.scala:616) at akka.actor.ActorSystemImpl$$anonfun$liftedTree2$1$1.apply(ActorSystem.scala:616) at akka.actor.ActorSystemImpl$$anonfun$liftedTree2$1$1.apply(ActorSystem.scala:616) at akka.actor.ActorSystemImpl$$anon$3.run(ActorSystem.scala:640) at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$run$1.runNext$1(ActorSystem.scala:807) at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$run$1.apply$mcV$sp(ActorSystem.scala:810) at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$run$1.apply(ActorSystem.scala:803) at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$run$1.apply(ActorSystem.scala:803) at akka.util.ReentrantGuard.withGuard(LockUtil.scala:15) at akka.actor.ActorSystemImpl$TerminationCallbacks.run(ActorSystem.scala:803) at akka.actor.ActorSystemImpl$$anonfun$terminationCallbacks$1.apply(ActorSystem.scala:637) at akka.actor.ActorSystemImpl$$anonfun$terminationCallbacks$1.apply(ActorSystem.scala:637) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:32) at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.processBatch$1(BatchingExecutor.scala:67) at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply$mcV$sp(BatchingExecutor.scala:82) at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59) at akka.dispatch.BatchingExecutor$Batch$$anonfun$run$1.apply(BatchingExecutor.scala:59) at scala.concurrent.BlockContext$.withBlockContext(BlockContext.scala:72) at akka.dispatch.BatchingExecutor$Batch.run(BatchingExecutor.scala:58) at akka.dispatch.TaskInvocation.run(AbstractDispatcher.scala:41) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:393) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) 2016-07-25 15:03:28.656 INFO - Core: Mendix Runtime is shutting down now... 2016-07-25 15:03:28.661 INFO - Core: Mendix Runtime is now shut down.
asked
3 answers
0

Try removing your after startup microflow from the project and run that manually after the runtime has started, as the error states something throws an error during after startup, which is pretty difficult to debug.

answered
0

It seems the problem is in the AppCloudServices:

Caused by: java.lang.NullPointerException: null at appcloudservices.OpenIDUtils.<clinit>(OpenIDUtils.java:15) at

which times out

com.mendix.systemwideinterfaces.MendixRuntimeException: akka.pattern.AskTimeoutException: Ask timed out on 
[Actor[akka://MxRuntimeSystem/user/dispatchSupervisor#-74790800]] after [604800000 ms] at

If you are running locally or on premise, you can remove this from the after start up flow. Alternatively, you might be blocking outgoing calls to the Mendix service, so you can try to allow such calls.

answered
0

Thx guys. It's running now

answered