Configuration for GenerateDocument

1
Is there any configuration or setup required to use GenerateDocument on an internal server? For example, for Email and Deeplink to work, some info needs to be set up in the app. I have GenerateDocument working locally and on the Cloud but won't work on our servers.
asked
3 answers
1

Tracy,

I think this is the same question as you posted here: https://forum.mendix.com/questions/9186/Generate-pdf-document-on-server Try not to ask the same question twice. Edit your original question if you have new info (Check the edit button below your question). Furthermore try never to answer your own question but again edit your original question. And as you can see from your original question I am thinking in the same line as Eric. Check your model preferences versus the Java version on the cloud.

Regards,

Ronald

answered
0

2015-12-03 12:29:40.897 CRITICAL - ActorSystem: Uncaught fatal error from thread [MxRuntimeSystem-akka.actor.action-dispatcher-48] shutting down ActorSystem [MxRuntimeSystem] 2015-12-03 12:29:40.897 CRITICAL - ActorSystem: java.lang.NoClassDefFoundError: org/w3c/dom/ElementTraversal at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2279) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1501) 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(ClassLoader.java:358) at org.apache.xerces.jaxp.DocumentBuilderImpl.newDocument(Unknown Source) at com.mendix.documentexporter.documents.FOBasedDocument.<init>(FOBasedDocument.java:51) at com.mendix.documentexporter.documents.PDFDocument.<init>(PDFDocument.java:44) at com.mendix.documentexporter.DocumentGenerator.exportToInputStream(DocumentGenerator.java:99) at com.mendix.documentexporter.DocumentGenerator.exportToIMendixObject(DocumentGenerator.java:79) at com.mendix.documentexporter.actions.microflow.DocumentExportAction.execute(DocumentExportAction.scala:74) at com.mendix.documentexporter.actions.microflow.DocumentExportAction.execute(DocumentExportAction.scala:17) at com.mendix.modules.microflowengine.microflow.impl.MicroflowObject.execute(MicroflowObject.java:49) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAfterBreakingIfNecessary(MicroflowImpl.java:196) at com.mendix.modules.microflowengine.microflow.impl.MicroflowImpl.executeAction(MicroflowImpl.java:151) at com.mendix.systemwideinterfaces.core.UserAction.execute(UserAction.java:53) at com.mendix.core.actionmanagement.CoreAction.doCall(CoreAction.java:291) at com.mendix.core.actionmanagement.CoreAction.call(CoreAction.java:276) at com.mendix.core.actionmanagement.ActionManager$1.execute(ActionManager.java:204) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37) at com.mendix.core.actionmanagement.ActionManager.executeSync(ActionManager.java:199) at com.mendix.core.component.InternalCore.execute(InternalCore.java:264) at com.mendix.webui.actions.client.ExecuteAction.execute(ExecuteAction.java:135) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply$mcV$sp(ClientRequestHandler.scala:299) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:292) at com.mendix.webui.requesthandling.ClientRequestHandler$$anonfun$handleRequest$1.apply(ClientRequestHandler.scala:292) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2$$anon$1.execute(ActionDispatching.scala:151) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(Runner.java:37)

answered
0

Any chance you've got a Java version discrepancy? Perhaps you're running JDK 1.7 in the modeler and cloud but 1.8 on your server, or vice versa?

answered