Exception in post request. Error during document of record generation. | Community
Skip to main content
ayecona
Level 5
Aug 28, 2019 7:01 PM UTC
Solved

Exception in post request. Error during document of record generation.

I have these errors when submitting the form.

the forms is submitted invoking an AEM workflow

the workflow uses the send email component that is all. please let me know if you want to place the stack trace.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
workflowuserAccepted solution
Employee
Sep 10, 2019 2:15 PM UTC

The installation is not proper. The xml forms service which is needed for creating DoR is not starting

this could  happen when the visual c++ redistributbales are not installed

or server  started by double clicking the jar file

or you have not waited long enough to restart the server after installing the forms add on packages

21 replies

ayecona
ayeconaAuthor
Level 5
Aug 30, 2019 6:21 PM UTC

I got this error

c:\AdobeAEM\Author> java -d64 -Xmx2048M -jar cq-author-p4502.jar -gui

Unrecognized option: -d64

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

Translate
Employee
Aug 28, 2019 7:48 PM UTC

start with these parameters

                java -d64 -Xmx2048M -jar <you aem jar file> -gui

Translate
ayecona
ayeconaAuthor
Level 5
Aug 28, 2019 7:43 PM UTC

yes I do

Translate
Employee
Aug 28, 2019 7:42 PM UTC

Did you just double click the jar?

Translate
ayecona
ayeconaAuthor
Level 5
Aug 28, 2019 7:41 PM UTC

its a windows 2016 and we started the server through the

cq-author-p4502.jar

Translate
Employee
Aug 28, 2019 7:39 PM UTC

Is this on windows operating system?

if yes

how did you start the server?

Translate
Mayank_Gandhi
Employee
Aug 28, 2019 7:38 PM UTC

share the error.log snippet as well

Translate
ayecona
ayeconaAuthor
Level 5
Aug 28, 2019 7:36 PM UTC

when I click on generate preview...

I get this...

Translate
Mayank_Gandhi
Employee
Aug 28, 2019 7:16 PM UTC

As Girish mentioned, Check if you are able to generate DOR in Adaptive form directly.

Translate
Employee
Aug 28, 2019 7:10 PM UTC

Are you able to generate DoR from the Adaptive Form UI?

Translate