Document services not working | Community
Skip to main content
December 17, 2019
Solved

Document services not working

  • December 17, 2019
  • 5 replies
  • 6727 views

Hi community,

 

we need to setup AEM Forms 6.5 (OSGI) on a Windows Server 2016

 

Installation is as follows (https://docs.adobe.com/content/help/en/experience-manager-65/forms/install-aem-forms/osgi-installation/install-configure-document-services.html)

The user has administration permissions

 

1. AEM 6.5 running with Quickstart (tested already as a service, too): all bundles started

2. Installed SP3 and the related Forms for Windows (6.0.122)

3. Adjusted sling.properties with bouncy castle... -> everything is up and running fine (no custom bundle, just AEM with SP3 and Forms)

 

If I try to render a simple reference DoR (http://localhost:4502/aem/formdetails.html/content/dam/formsanddocuments/reference-dor-templates/split.xdp), I get the following error:

 

 

Internal Server Error Cannot serve request to /content/dam/formsanddocuments/reference-dor-templates/split.xdp/jcr:content in /libs/xfaforms/render/GET.jsp Exception: com.adobe.forms.service.LCFormsServiceException at com.adobe.forms.service.impl.LCFormsOsgiServiceImpl.render(LCFormsOsgiServiceImpl.scala:92) at com.adobe.forms.service.impl.LCFormsServiceImpl.render(LCFormsServiceImpl.java:68) ...

 

 

That happens every time I try to trigger a document process, sometimes there is another message, too:

 

com.adobe.service.ProcessResource Service XMLFormService: Process ProcessResource@3a4b75d6(name=XMLForm.exe,pid=0) terminated abnormally with error code -1073741701

 

 

While installing the forms package there is another error, related to the XMLForm.exe:

 

Caused by: java.io.IOException: Executable does not exist: D:\...\crx-quickstart\bedrock\svcnative\XMLFormService\bin\XMLForm.exe at com.adobe.service.ProcessResource.startProcess(ProcessResource.java:377) ... 66 common frames omitted

 

The file is located at the desired place, but it seems that AEM cannot start or has other problems.

 

Is there something missing in the server environment to start (or enable AEM to start) the XMLForm.exe? 

 

I re-created the whole installation several times, also with other combinations of SP and Forms, so a simple reinstall will definitely not fix the issue.

 

Best regards

Alex

 

 

 

 

 

 

 

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 Pulkit_Jain_

@alex_lo15 @richard_wegier 

Here is the documentation to be followed to mitigate this problem: https://docs.adobe.com/content/help/en/experience-manager-learn/forms/adaptive-forms/installing-aem-form-on-windows-tutorial-use.html

 

If you are installing AEM Forms 6.5, Please make sure you have installed the following 32 bit Microsoft Visual C++ redistributables.

5 replies

Pulkit_Jain_
Adobe Employee
Adobe Employee
December 17, 2019

@alex_lo15 

I see you have already logged a daycare ticket for this issue. We will review the logs and share our feedback over the ticket.

alex_lo15Author
December 17, 2019
Yes, thanks! I got access to the DayCare 2 hours ago, so I tried it in the morning on this channel!
Mayank_Gandhi
Adobe Employee
Adobe Employee
December 18, 2019

Can be an access related issue or missing c++ executable on the server machine. Can you doubles check these two?

alex_lo15Author
December 18, 2019

Thanks for your answer! I have administration permissions and also the AEM service is running with them. Can you give me a short insight what you mean with C++ executable?

 

We tried to run the XMLForm.exe from cmd and got the following missing dependencies:

omniDynamic411_vc10_rt.dll
omniORB411_vc10_rt.dll
omnithread33_vc10.rt.dll

 

Then we tried to install some Microsoft Visual C++ Redistributables, restarted and got the same error message for executing the .exe and also still the error while trying to render the xdp.

Any thoughts?

Mayank_Gandhi
Adobe Employee
Adobe Employee
December 18, 2019

Unable to paste the image, check the image here https://jsfiddle.net/co7arvd5/

alex_lo15Author
December 18, 2019
Thanks! We solved the issue by playing around today with a lot of combinations of the C++ redistributables. In the end we needed only 2010 and 2012 x86 version, any other combination triggered conflicts!
June 22, 2020

You need to install VC++ redistributables as mentioned in the documentation 

also do not double click the jar to start aem

June 22, 2020

Thank you very much for your response! As mentioned previously we are working with the JEE installation therefore we do not start it as a JAR file but a Windows Service (JBoss).

 

May I kindly ask you to drop the link to the documentation just to be sure I'm checking the correct one? Thank you very much in advance!

Pulkit_Jain_
Adobe Employee
Pulkit_Jain_Adobe EmployeeAccepted solution
Adobe Employee
June 22, 2020

@alex_lo15 @richard_wegier 

Here is the documentation to be followed to mitigate this problem: https://docs.adobe.com/content/help/en/experience-manager-learn/forms/adaptive-forms/installing-aem-form-on-windows-tutorial-use.html

 

If you are installing AEM Forms 6.5, Please make sure you have installed the following 32 bit Microsoft Visual C++ redistributables.