I am trying to invoke a forms workflow whenwe submit a adaptive form. I made the configurations as shown below
Perform the following steps to enable your AEM forms server to submit data to an AEM Forms on JEE server:
I am able to see the process in the drop down But when i submit the Form it is throwing an exception
Can any one suggest What else need to be done
Solved! Go to Solution.
Views
Replies
Total Likes
Our documentation here[0] implicitly assumes that the Developer must have:
- Changed the "Require callers to authenticate" to "No" for the service created for this application/process as below:
Adminui > Home > Services > Applications and Services > Services Management > "Your Application" > Security (other tabs are Pooling, Endpoint)> Require callers to authenticate- change to "No".
- Added the service (MyApplication/processes/NameOfProcess) to the list- Services Names, which should be invoked as system user by default in the "Livecycle Client SDK configuration" under configMgr.
[0] Configuring AEM Forms to submit form data to an AEM Forms on JEE process
Did you define the appropriate article bout parameters in your process?
Views
Replies
Total Likes
Yes i define dataxml and fileAttachmentsList. In the process also i used them as inputs. So iam able to see the process in submit action
Views
Replies
Total Likes
Have you whitelisted sun.util.com packages?
Views
Replies
Total Likes
I did it still i am seeing the same issue
Views
Replies
Total Likes
211074 LOG Making DSC call to system.service_registry.getHeadActiveConfiguration
231355 LOG Successfully Completed the DSC call to Server at http://wdvra98a0814.wellsfargo.com:8080
231359 TIMER_END{20288,DSC}
231540 TIMER_START{DSC}
231546 LOG Making DSC call to MyApplication2/Config_OSGi.invoke
255620 LOG Failed to complete the DSC call to Server at http://wdvra98a0814.wellsfargo.com:8080
255623 TIMER_END{24082,DSC}
Views
Replies
Total Likes
what is the security setting for the process that you are trying to invoke
for testing purposes can you remove the security on the process from admin UI
Views
Replies
Total Likes
I had setup the security option to NO
Views
Replies
Total Likes
for testing purposes can you try invoking the process from JSP page. The following code should get you started
String processName = "AemForms/Processes/GetData";
com.adobe.livecycle.dsc.clientsdk.ServiceClientFactoryProvider scfp = sling.getService(com.adobe.livecycle.dsc.clientsdk.ServiceClientFactoryProvider.class);
com.adobe.idp.dsc.clientsdk.ServiceClientFactory serviceClientFactory = scfp.getDefaultServiceClientFactory();
// this is for passing parameters to your workbench process
Map paramsMap = new HashMap();
paramsMap.put("name",request.getParameter("name"));
com.adobe.idp.dsc.InvocationRequest ir = serviceClientFactory.createInvocationRequest(processName,"invoke",paramsMap,true);
// in the above code we are invoking a short lived process, hence the last parameter is true
ir.setProperty(com.adobe.livecycle.dsc.clientsdk.InvocationProperties.INVOKER_TYPE,com.adobe.livecycle.dsc.clientsdk.InvocationProperties.INVOKER_TYPE_SYSTEM);
com.adobe.idp.dsc.InvocationResponse invocationResponse = serviceClientFactory.getServiceClient().invoke(ir);
String content = (String)invocationResponse.getOutputParameter("data"));
Views
Replies
Total Likes
I am not getting the point of JSP page. I am little new to this LC process
Views
Replies
Total Likes
Can you provide me a step by step process to try
Views
Replies
Total Likes
you can create custom submit and in the custom submit use the code that I gave you in the previous reply
Views
Replies
Total Likes
Let's start from scratch:
As you are able to see the process in the drodown it means settings are configured correctly. What was the result when you updated the security setting for the process. Did you set it to invoker and try?
Share server,access and error log snippet when you invoke the process.
Views
Replies
Total Likes
Yes Mayank
I have selected the Process name and submitted the Form.
In the Process i selected the security to be No and Invoker.
Still i am seeing the same issue
Will attach the Logs
Views
Replies
Total Likes
23.09.2019 10:42:29.231 *ERROR* [172.31.179.83 [1569249748966] POST /lc/content/forms/af/ops_test_1/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] libs.fd.afaddon.components.actions.lcprocess.post$POST$jsp There was issue in invoking the Forms and Document Workflow.
23.09.2019 10:42:29.233 *ERROR* [172.31.179.83 [1569249748966] POST /lc/content/forms/af/ops_test_1/jcr:content/guideContainer.af.submit.jsp HTTP/1.1] com.adobe.aemds.guide.servlet.GuideSubmitServlet Could not complete Submit Action due to Response already committed
java.lang.IllegalStateException: Response already committed
at org.apache.sling.engine.impl.request.SlingRequestDispatcher.forward(SlingRequestDispatcher.java:127)
at com.day.cq.wcm.core.impl.WCMComponentFilter$ForwardRequestDispatcher.forward(WCMComponentFilter.java:503)
at com.adobe.aemds.guide.servlet.GuideSubmitServlet.sendErrorBackToClient(GuideSubmitServlet.java:601)
at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doSubmit(GuideSubmitServlet.java:366)
at com.adobe.aemds.guide.servlet.GuideSubmitServlet.doPost(GuideSubmitServlet.java:561)
at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.java:146)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:342)
at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.java:374)
at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:552)
at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:44)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:77)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilterWithErrorHandling(WCMDebugFilter.java:192)
at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:159)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:375)
at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:190)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.core.impl.PageLockFilter.doFilter(PageLockFilter.java:91)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.personalization.impl.TargetComponentFilter.doFilter(TargetComponentFilter.java:96)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:282)
at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:71)
at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:109)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.cq.social.ugcbase.security.impl.SaferSlingPostServlet.doFilter(SaferSlingPostServlet.java:126)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.dam.core.impl.assetlinkshare.AdhocAssetShareAuthHandler.doFilter(AdhocAssetShareAuthHandler.java:437)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:73)
at com.day.cq.dam.core.impl.servlet.ActivityRecordHandler.doFilter(ActivityRecordHandler.java:154)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.cq.dam.cfm.impl.servlets.CompatFilter.doFilter(CompatFilter.java:81)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.granite.rest.impl.servlet.ApiResourceFilter.doFilter(ApiResourceFilter.java:70)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.granite.requests.logging.impl.RequestLoggerImpl.doFilter(RequestLoggerImpl.java:134)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.granite.rest.assets.impl.AssetContentDispositionFilter.doFilter(AssetContentDispositionFilter.java:96)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.granite.csrf.impl.CSRFFilter.doFilter(CSRFFilter.java:217)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl.doFilter(AuthoringUIModeServiceImpl.java:367)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:248)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.aemforms.setvalue.core.filters.LoggingFilter.doFilter(LoggingFilter.java:56)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.livecycle.process.reporting.servlet.filter.ProcessReportingResourceResolverFilter.doFilter(ProcessReportingResourceResolverFilter.java:70)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.livecycle.lccomponent.util.LcComponentResourceResolverFilter.doFilter(LcComponentResourceResolverFilter.java:54)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.livecycle.content.appcontext.impl.AppContextFilter.doFilter(AppContextFilter.java:69)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:107)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.livecycle.dsc.clientsdk.internal.ResourceResolverHolderFilter.doFilter(ResourceResolverHolderFilter.java:37)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.cq.social.commons.cors.CORSAuthenticationFilter.doFilter(CORSAuthenticationFilter.java:91)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:221)
at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:138)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:76)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.foundation.forms.FormsHandlingServletHelper.handleFilter(FormsHandlingServletHelper.java:221)
at com.adobe.cq.wcm.core.components.internal.servlets.CoreFormHandlingServlet.doFilter(CoreFormHandlingServlet.java:131)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.fd.core.security.internal.CurrentUserServiceImpl.doFilter(CurrentUserServiceImpl.java:114)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.cq.history.impl.HistoryRequestFilter.doFilter(HistoryRequestFilter.java:122)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.cq.mcm.campaign.servlets.CampaignCopyTracker.doFilter(CampaignCopyTracker.java:100)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:81)
at com.adobe.granite.httpcache.impl.InnerCacheFilter.doFilter(InnerCacheFilter.java:60)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at org.apache.sling.security.impl.ContentDispositionFilter.doFilter(ContentDispositionFilter.java:152)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:73)
at com.adobe.granite.resourceresolverhelper.impl.ResourceResolverHelperImpl.doFilter(ResourceResolverHelperImpl.java:83)
at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:68)
at org.apache.sling.engine.impl.SlingRequestProcessorImpl.doProcessRequest(SlingRequestProcessorImpl.java:151)
at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:234)
at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:120)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:86)
at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:308)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:96)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:328)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:131)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
at org.apache.sling.featureflags.impl.FeatureManager.doFilter(FeatureManager.java:116)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:72)
at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:135)
at org.apache.felix.http.base.internal.dispatch.InvocationChain.doFilter(InvocationChain.java:81)
at org.apache.felix.http.base.internal.dispatch.Dispatcher$1.doFilter(Dispatcher.java:146)
at org.apache.felix.http.base.internal.whiteboard.WhiteboardManager.invokePreprocessors(WhiteboardManager.java:1000)
at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:91)
at org.apache.felix.http.base.internal.dispatch.DispatcherServlet.service(DispatcherServlet.java:49)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.felix.http.bridge.internal.BridgeActivator$1.service(BridgeActivator.java:86)
at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:123)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate.java:286)
at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:174)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:231)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:149)
at org.jboss.as.web.security.SubjectInfoSetupValve.invoke(SubjectInfoSetupValve.java:34)
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:169)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:102)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:656)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:926)
at java.lang.Thread.run(Thread.java:748)
Views
Replies
Total Likes
Please confirm AEM forms version with CFP?
Views
Replies
Total Likes
PDF Generator | 6.3.0 | AEMForms-6.3.0-0028;AEMForms-6.3.0-0036 |
Barcoded Forms | 6.3.0 | N/A |
Acrobat Reader DC Extensions | 6.3.0 | AEMForms-6.3.0-0028;AEMForms-6.3.0-0036 |
Document Security | 6.3.0 | AEMForms-6.3.0-0028;AEMForms-6.3.0-0036 |
Forms workflow | 6.3.0 | AEMForms-6.3.0-0028;AEMForms-6.3.0-0036 |
Digital Signatures | 6.3.0 | AEMForms-6.3.0-0028;AEMForms-6.3.0-0036 |
PDF Forms | 6.3.0 | AEMForms-6.3.0-0028;AEMForms-6.3.0-0036 |
Output | 6.3.0 | AEMForms-6.3.0-0028;AEMForms-6.3.0-0036 |
Content Repository | 6.3.0 | N/A |
Views
Replies
Total Likes
Version 6.3.0, GMService Pack Version: N/APatch Version: AEMForms-6.3.0-0036
Views
Replies
Total Likes
suggest you log a support ticket to get this resolved.
Views
Replies
Total Likes
I also did that
Adobe CQ Ticket : 192560 - There was issue in invoking the Forms and Document Workflow. -- **Do not reply**
Views
Replies
Total Likes
Our documentation here[0] implicitly assumes that the Developer must have:
- Changed the "Require callers to authenticate" to "No" for the service created for this application/process as below:
Adminui > Home > Services > Applications and Services > Services Management > "Your Application" > Security (other tabs are Pooling, Endpoint)> Require callers to authenticate- change to "No".
- Added the service (MyApplication/processes/NameOfProcess) to the list- Services Names, which should be invoked as system user by default in the "Livecycle Client SDK configuration" under configMgr.
[0] Configuring AEM Forms to submit form data to an AEM Forms on JEE process
Views
Likes
Replies