Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

AEM Forms DoR failing

Avatar

Avatar
Level 1
ertjie
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
ertjie
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
ertjie
Level 1

03-03-2021

Hi everyone

 

We are running AEM Forms OSGI deployment. Instance details are as follows:

AEM 6.5.6

Java 11

Forms package adobe-aemfd-linux-pkg-6.0.192

Server Red Hat Enterprise Linux Server release 7.9 (Maipo)

 

When we are trying to submit form to email a DoR we get the following errors in log: 

Service XMLFormService: Starting native process with command line "adobe/author/crx-quickstart/bedrock/svcnative/XMLFormService/bin/XMLForm.exe" -MyPath /appl/online/products/adobe/author/crx-quickstart/bedrock/svcnative/XMLFormService -IOR IOR:000000000000002249444C3A636F6D2F61646F62652F736572766963652F4D616E616765723A312E30000000000000010000000000000074000102000000000E31302E3233352E3131362E34380084BF00000019393734373432393233322F42522D32352F0100000000000000000000000000020000000000000008000000004A41430000000001000000200000000005010001000000010001000100010109000000020501000100010100   -AppServer Adobe-OSGi
04.03.2021 15:12:24.166 *ERROR* [POST /content/forms/af/test-forms/document-of-reference-test-form/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.forms.aem.impl.XFANativeServiceImpl Exception:
java.lang.IllegalStateException: Connection to failed service.
	at com.adobe.service.ResourcePooler.allocateResource(ResourcePooler.java:104)
	at com.adobe.service.ConnectionFactoryManagerPeer.getConnectionResourceFromPool(ConnectionFactoryManagerPeer.java:76)
	at com.adobe.service.ConnectionFactoryManagerPeerImpl.getConnection(ConnectionFactoryManagerPeerImpl.java:155)
	at com.adobe.service.impl.PlatformPeerImpl.lookup(PlatformPeerImpl.java:49) [adobe-aemds-core-bmc:3.0.66]

 

This is then followed by:

com.adobe.aemds.guide.addon.service.impl.GuidePDFSubmitHelperImpl Exception in getting Wrapped Parameter Map For Pdf Submit Error during document of record generation.
com.adobe.aemds.guide.addon.dor.DoRGenerationException: Error during document of record generation.
	at com.adobe.aemds.guide.addon.dor.service.impl.DoRServiceImpl.render(DoRServiceImpl.java:229) [com.adobe.aemds.guide.aemds-guide-addon-impl:6.0.198]
	at com.adobe.aemds.guide.addon.service.impl.GuidePDFSubmitHelperImpl.getWrappedParameterMapForPdfSubmit(GuidePDFSubmitHelperImpl.java:110) [com.adobe.aemds.guide.aemds-guide-addon-impl:6.0.198]
	at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doPostPrerequisites(GuideSubmitServlet.java:246) [com.adobe.aemds.guide.aemds-guide-core:6.0.198]
	at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doSubmit(GuideSubmitServlet.java:332) [com.adobe.aemds.guide.aemds-guide-core:6.0.198]
	at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doPost(GuideSubmitServlet.java:573) [com.adobe.aemds.guide.aemds-guide-core:6.0.198]
	at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:146) [org.apache.sling.api:2.20.0]

 

I am able to successfully perform the DoR email from form submit on my localhost, no issues. It is only on our hosted instances that it is failing. The DoR is automatically created from Adaptive Form. 

 

From other threads it appears to be missing libraries, but I am not clear on how to determine if this is in-fact the case and how to install those missing libraries. My suspicion is that XMLForm.exe is not started up properly, but how is then even started on Linux host? 

 

Any help or advice on how to remedy this would be appreciated. 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

165 likes

Total Posts

369 posts

Correct Reply

107 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile

Avatar
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

165 likes

Total Posts

369 posts

Correct Reply

107 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile
Kosta_Prokopiu1
Employee

04-03-2021

Hello,

I agree with your assessment that you are missing something on your hosted instances. It is difficult to diagnose such problems via the forum. Ultimately you should open a support ticket describing the issue.

https://experienceleague.adobe.com/docs/experience-manager-65/deploying/introduction/technical-requi...
Lists the technical requirements. Looks like you are ok there.
On https://experienceleague.adobe.com/docs/experience-manager-65/forms/install-aem-forms/osgi-installat... you find the UNIX libraries required in section "Extra requirements for UNIX-based operating system"

Do you have system admins for the hosted instances? They have the permissions and the knowledge how to check and install additional libraries.

Answers (0)