Exception in post request. Error during document of record generation. | Community
Skip to main content
ayecona
Level 5
August 28, 2019
Solved

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

  • August 28, 2019
  • 20 replies
  • 19870 views

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.
Best answer by workflowuser

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

20 replies

Adobe Employee
August 28, 2019

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

Mayank_Gandhi
Adobe Employee
Adobe Employee
August 28, 2019

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

ayecona
ayeconaAuthor
Level 5
August 28, 2019

when I click on generate preview...

I get this...

Mayank_Gandhi
Adobe Employee
Adobe Employee
August 28, 2019

share the error.log snippet as well

Adobe Employee
August 28, 2019

Is this on windows operating system?

if yes

how did you start the server?

ayecona
ayeconaAuthor
Level 5
August 28, 2019

its a windows 2016 and we started the server through the

cq-author-p4502.jar

Adobe Employee
August 28, 2019

Did you just double click the jar?

ayecona
ayeconaAuthor
Level 5
August 28, 2019

yes I do

Adobe Employee
August 28, 2019

start with these parameters

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

ayecona
ayeconaAuthor
Level 5
August 30, 2019

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.