Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Integration with Salesforce

Avatar

Level 4

Hi ,

I followed "https://dev.day.com/docs/en/cq/current/administering/integrating-with-third-party-services/integrati...".

Created the ConnectApp in SalesForce and successfully configured the AEM to integrate with Salesforce.

When trying to Exporting AEM users as Salesforce Leads. The work flow is getting failed with the below error. Please help me in solving this issue.

23.01.2014 18:49:11.762 *ERROR* [JobHandler: /etc/workflow/instances/2014-01-23/model_8802030806481:/home/users/geometrixx/zachary.w.mitchell@spambob.com/profile] com.adobe.granite.workflow.core.job.JobHandler Process execution resulted in an error com.adobe.granite.workflow.WorkflowException: Process execution resulted in an error
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:218)
    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)
    at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:378)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.adobe.granite.workflow.WorkflowException: Failed to execute process
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:108)
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:208)
    ... 5 more
Caused by: com.day.cq.workflow.WorkflowException: Exception while Publishing lead to Salesforce: Error while Executing POST/PUT Request to Salesforce.com:
    at com.adobe.cq.mcm.salesforce.SalesforceExportProcess.execute(SalesforceExportProcess.java:219)
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
    ... 6 more

 

Best Regards

Eakambaram Yadav

1 Accepted Solution

Avatar

Correct answer by
Level 6

The HTTP Proxy configurations are done in the Felix Console under Day Commons HTTP Client 3.1.

/Ove

View solution in original post

5 Replies

Avatar

Level 6

Server behind proxy?

Wrong proxy settings in CQ?

That error seems to be a connection error.

 

/Ove

Avatar

Level 4

Thank you Ove for the response. Any guidelines/links for solving the Wrong proxy settings in CQ?

 

Best Regards

Eakambaram Yadav

Avatar

Correct answer by
Level 6

The HTTP Proxy configurations are done in the Felix Console under Day Commons HTTP Client 3.1.

/Ove

Avatar

Level 4

Hi

I tried enabling the Enable HTTP Proxy in the Day Commons HTTP Client 3.1. But no luck.

Even tried the URL "http://dev.day.com/docs/en/cq/current/deploying/config-ssl.html".. But no luck.

Still getting the same error.

Able to connect to sales force from tools/Cloud Services/Salesforce. But getting the error when Exporting AEM users as Salesforce Leads.

24.01.2014 16:23:47.839 *ERROR* [JobHandler: /etc/workflow/instances/2014-01-24/model_20366862114373:/home/users/geometrixx-outdoors/aaron.mcdonald@mailinator.com/profile] com.adobe.cq.mcm.salesforce.SalesforceClient Error while Executing POST/PUT Request to Salesforce.com:  java.lang.IllegalArgumentException: host parameter is null
    at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:206)
    at org.apache.commons.httpclient.HttpConnection.<init>(HttpConnection.java:155)
    at org.apache.commons.httpclient.SimpleHttpConnectionManager.getConnectionWithTimeout(SimpleHttpConnectionManager.java:175)
    at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:153)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323)
    at com.adobe.cq.mcm.salesforce.SalesforceClient.doExecuteDataRequest(SalesforceClient.java:322)
    at com.adobe.cq.mcm.salesforce.SalesforceClient.executeDataRequest(SalesforceClient.java:276)
    at com.adobe.cq.mcm.salesforce.SalesforceClient.executeRequest(SalesforceClient.java:207)
    at com.adobe.cq.mcm.salesforce.SalesforceExportProcess.execute(SalesforceExportProcess.java:135)
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:208)
    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)
    at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:378)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
24.01.2014 16:23:47.840 *ERROR* [JobHandler: /etc/workflow/instances/2014-01-24/model_20366862114373:/home/users/geometrixx-outdoors/aaron.mcdonald@mailinator.com/profile] com.adobe.cq.mcm.salesforce.SalesforceExportProcess Exception while Publishing lead to Salesforce: Error while Executing POST/PUT Request to Salesforce.com:
24.01.2014 16:23:47.840 *ERROR* [JobHandler: /etc/workflow/instances/2014-01-24/model_20366862114373:/home/users/geometrixx-outdoors/aaron.mcdonald@mailinator.com/profile] com.day.cq.workflow.compatibility.CQWorkflowProcessRunner Process execution resulted in an error: Exception while Publishing lead to Salesforce: Error while Executing POST/PUT Request to Salesforce.com:  com.day.cq.workflow.WorkflowException: Exception while Publishing lead to Salesforce: Error while Executing POST/PUT Request to Salesforce.com:
    at com.adobe.cq.mcm.salesforce.SalesforceExportProcess.execute(SalesforceExportProcess.java:219)
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:208)
    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)
    at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:378)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
24.01.2014 16:23:47.840 *ERROR* [JobHandler: /etc/workflow/instances/2014-01-24/model_20366862114373:/home/users/geometrixx-outdoors/aaron.mcdonald@mailinator.com/profile] com.adobe.granite.workflow.core.job.JobHandler Process execution resulted in an error com.adobe.granite.workflow.WorkflowException: Process execution resulted in an error
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:218)
    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:139)
    at org.apache.sling.event.jobs.JobUtil$1.run(JobUtil.java:378)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: com.adobe.granite.workflow.WorkflowException: Failed to execute process
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:108)
    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:208)
    ... 5 more
Caused by: com.day.cq.workflow.WorkflowException: Exception while Publishing lead to Salesforce: Error while Executing POST/PUT Request to Salesforce.com:
    at com.adobe.cq.mcm.salesforce.SalesforceExportProcess.execute(SalesforceExportProcess.java:219)
    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
    ... 6 more