Sandbox after startup error
2
I have installed the AppCloudServices in my project using the documentation and the CloudProject and after I have added the StartAppCloudServices to my startup flow I'll get this error. Can anybody explain what goes wrong? Thanx 2014-07-23 12:53:33.884 INFO - Logging: Logging to file: /srv/cloud/slots/tr10096/deploy/data/log/logging.log, max size: 2048KiB, max rotation: 10 2014-07-23 12:53:33.928 INFO - Core: Mendix Runtime 5.4.1 (build 2029). Copyright © 2003-2014 Mendix bv. All rights reserved. 2014-07-23 12:53:34.739 INFO - XMPPConnector: appnode-langly-tr10096@xs4.mendixcloud.net connected. 2014-07-23 12:53:34.748 INFO - XMPPConnector: Registered 'cp@beta.mendixcloud.net/Smack' as cloud portal contact 2014-07-23 12:53:34.764 INFO - Logging: Logging to file: /var/log/appcontainers/tr10096/m2ee.log, max size: 2048KiB, max rotation: 10 2014-07-23 12:53:38.372 INFO - ConnectionBus: Database: PostgreSQL 9.3.4, name: 'dbnode-langly-db96' Driver: PostgreSQL Native Driver PostgreSQL 9.2 JDBC4 (build 1002) 2014-07-23 12:53:38.551 INFO - Core: Project company name is 'Mendix' 2014-07-23 12:53:38.551 INFO - Core: License expiration date is 'null' 2014-07-23 12:53:38.551 INFO - Core: License type is: 'Perpetual' 2014-07-23 12:53:39.165 INFO - Core: Running after-startup-action... 2014-07-23 12:53:39.184 INFO - AppCloudServices: Starting OpenId handler ... OpenIDReturnURL = https://claims2020.mendixcloud.com/openid/callback; OpenIdProvider: https://mxid2.mendixcloud.com/mxid2/discover 2014-07-23 12:53:39.285 CRITICAL - ActorSystem: Uncaught fatal error from thread [MxRuntimeSystem-akka.actor.action-dispatcher-7] shutting down ActorSystem [MxRuntimeSystem] 2014-07-23 12:53:39.285 CRITICAL - ActorSystem: java.lang.NoClassDefFoundError: org/w3c/dom/Document at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.openid4java.discovery.yadis.YadisResolver.<clinit>(YadisResolver.java:79) at org.openid4java.consumer.ConsumerManager.<init>(ConsumerManager.java:146) at appcloudservices.OpenIDHandler.reconnectToMxID(OpenIDHandler.java:123) at appcloudservices.OpenIDHandler.<init>(OpenIDHandler.java:115) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:31) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:20) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:205) at com.mendix.core.component.InternalCore.execute(SourceFile:259) at com.mendix.hs.execute(SourceFile:42) at com.mendix.ib.a(SourceFile:47) at com.mendix.ia.a(SourceFile:193) at com.mendix.ia.executeAction(SourceFile:148) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(SourceFile:17) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(SourceFile:148) at scala.util.Try$.apply(Try.scala:161) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(SourceFile:146) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) 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.ClassNotFoundException: org.w3c.dom.Document not found by project [86] at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.openid4java.discovery.yadis.YadisResolver.<clinit>(YadisResolver.java:79) at org.openid4java.consumer.ConsumerManager.<init>(ConsumerManager.java:146) at appcloudservices.OpenIDHandler.reconnectToMxID(OpenIDHandler.java:123) at appcloudservices.OpenIDHandler.<init>(OpenIDHandler.java:115) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:31) at appcloudservices.actions.StartSignOnServlet.executeAction(StartSignOnServlet.java:20) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:205) at com.mendix.core.component.InternalCore.execute(SourceFile:259) at com.mendix.hs.execute(SourceFile:42) at com.mendix.ib.a(SourceFile:47) at com.mendix.ia.a(SourceFile:193) at com.mendix.ia.executeAction(SourceFile:148) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.CustomActionMonitorImpl$$anonfun$run$1.apply(SourceFile:17) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(SourceFile:148) at scala.util.Try$.apply(Try.scala:161) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(SourceFile:146) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) 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) 2014-07-23 12:53:39.425 ERROR - Core: An exception occurred while running the after-startup-action. 2014-07-23 12:53:39.425 ERROR - Core: com.mendix.core.CoreException: com.mendix.core.CoreRuntimeException: akka.pattern.AskTimeoutException: Timed out at com.mendix.core.component.InternalCore.execute(SourceFile:271) Caused by: com.mendix.core.CoreRuntimeException: akka.pattern.AskTimeoutException: Timed out at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:216) Caused by: akka.pattern.AskTimeoutException: Timed out at akka.pattern.PromiseActorRef$$anonfun$1.apply$mcV$sp(AskSupport.scala:334) at akka.actor.Scheduler$$anon$11.run(Scheduler.scala:118) at akka.actor.LightArrayRevolverScheduler$TaskHolder.run(Scheduler.scala:464) at akka.actor.LightArrayRevolverScheduler$$anonfun$close$1.apply(Scheduler.scala:281) at akka.actor.LightArrayRevolverScheduler$$anonfun$close$1.apply(Scheduler.scala:280) at scala.collection.Iterator$class.foreach(Iterator.scala:727) at scala.collection.AbstractIterator.foreach(Iterator.scala:1157) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at akka.actor.LightArrayRevolverScheduler.close(Scheduler.scala:279) at akka.actor.ActorSystemImpl.stopScheduler(ActorSystem.scala:630) at akka.actor.ActorSystemImpl$$anonfun$start$1.apply$mcV$sp(ActorSystem.scala:582) at akka.actor.ActorSystemImpl$$anonfun$start$1.apply(ActorSystem.scala:582) at akka.actor.ActorSystemImpl$$anonfun$_start$1.apply(ActorSystem.scala:582) at akka.actor.ActorSystemImpl$$anon$3.run(ActorSystem.scala:596) at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$run$1.runNext$1(ActorSystem.scala:750) at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$run$1.apply$mcV$sp(ActorSystem.scala:753) at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$run$1.apply(ActorSystem.scala:746) at akka.actor.ActorSystemImpl$TerminationCallbacks$$anonfun$run$1.apply(ActorSystem.scala:746) at akka.util.ReentrantGuard.withGuard(LockUtil.scala:15) at akka.actor.ActorSystemImpl$TerminationCallbacks.run(ActorSystem.scala:746) at akka.actor.ActorSystemImpl$$anonfun$terminationCallbacks$1.apply(ActorSystem.scala:593) at akka.actor.ActorSystemImpl$$anonfun$terminationCallbacks$1.apply(ActorSystem.scala:593) at scala.concurrent.impl.CallbackRunnable.run(Promise.scala:29) 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:42) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) 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) 2014-07-23 12:53:39.439 INFO - Core: Mendix Runtime is shutting down now... 2014-07-23 12:53:39.442 INFO - Core: Mendix Runtime is now shut down.
asked
Marco Keijsers
1 answers
2
Hi Marco,
The source of your issue is the
Caused by: java.lang.ClassNotFoundException: org.w3c.dom.Document not found by project
The solution to this issue is documented here.
answered
Michel Weststrate