Troubleshooting your Adobe Campaign Integration
- Topics:
- Administering
CREATED FOR:
- Admin
The following troubleshooting tips help solve the most common problems you may encounter when you integrate AEM with Adobe Campaign:
General Troubleshooting Tips
For both integrations, you can check whether HTTP-calls are sent (AEM > Adobe Campaign, Adobe Campaign > AEM):
- When integrations are failing, make sure that these calls arrive on the other end (to avoid firewall/SSL issues).
- For AEM functionality, you will see that json calls are requested from the AEM author interface; these should not result in an HTTP-500 error. If you see HTTP-500 errors, check the
error.log
for more information on this. - Raising the debug level for campaign-classes in AEM also helps to troubleshoot issues.
If the connection fails
Check that you have configured the aemserver operator in Adobe Campaign.
If images do not appear in the Adobe Campaign console
Check the HTML source and validate that you can open the URL from the client machine. If the URL has localhost:4503 in it, then change the configuration of Day CQ Link Externalizer on your author instance to point to a publish instance that can be reached from the Adobe Campaign console machine.
See Configuring the Externalizer.
If you cannot connect from AEM to Adobe Campaign
Look for the following error message in Adobe Campaign:
No datasource defined in the instance 'default'.
Make sure the DNS alias used to access the server is correct (for example, avoid hard-coded IP addresses). (iRc=16384)
To fix this issue, change the following in $CAMPAIGN_HOME/conf/config-<instance-name>.xml:
<dataStore hosts="*" lang="en_GB">
If no data displays in the Adobe Campaign dialog
In Adobe Campaign, ensure that you have no trailing slash (/) after the port number.
If you get a warning about your setlocale
If you are starting the Apache HTTPD service and see the error "Warning: setlocale: LC_CTYPE cannot change locale"
make sure that you have your en_CA.ISO-8859-15 locale installed on your system.
You can check whether it is installed by using local -a
. If it is not installed you can patch /usr/local/neolane/nl6/env.sh script and change the locale to an installed one.
If you get an error while compiling script ‘get_nms_amcGetSeedMetaData_jssp’
If you see the following error message in the AEM log file:
com.day.cq.mcm.campaign.impl.CampaignConnectorImpl Internal Adobe Campaign error: response body is Error while compiling script 'get_nms_amcGetSeedMetaData_jssp' line 45: String.prototype.toJSON called on incompatible XML.
Use the following workaround:
-
Open file $CAMPAIGN_HOME/datakit/nms/fra/js/amcIntegration.js
-
Modify line 467 of method “amcGetSeedMetaData”
-
Change
label : [inclView.@label](mailto:inclView.@label)
tolabel : String([inclView.@label](mailto:inclView.@label))
-
Save.
-
Relaunch the server.
If Adobe Campaign displays an error when clicking the Synchronize button
If when clicking the Synchronize button in Adobe Campaign Classic, you see the following error:
Error while executing the method ‘aemListContent' of service [nms:delivery](https://nmsdelivery/)
To fix this issue, make sure the AEM connection-url configured in the External Accounts is reachable from the machine.
A switch from localhost to an IP-address solved this issue.
If you get a ‘Cannot parse XTK Date+Time ‘undefined’’ error
After clicking Synchronize, you get an error that a script on the pages has occured: Cannot parse XTK Date+Time ‘undefined’: not a valid XTK value.
This happens if there is still outdated Adobe Campaign information on the AEM instance. Solve this issue by removing all campaign integration configurations that are on AEM and rebuilding them. Then, create a new template.
If a connection to SSL displays an error when setting up the cloud service
In the error.log of AEM, if you see the following:
javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
at sun.security.ssl.ClientHandshaker.handshakeAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.recvAlert(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.writeRecord(Unknown Source)
at sun.security.ssl.AppOutputStream.write(Unknown Source)
Please raise a ticket with the Adobe Campaign support team.
If you see http instead of an expected https links in the synchronization dialog
With the following setup:
- Hosted Adobe Campaign using https for communication with AEM Author
- Reverse proxy terminating SSL
- On premise AEM Author instance
When trying to synchronize content in Adobe Campaign delivery, AEM returns a list of newsletters. However, the urls to the newsletters in the list are http addresses. When selecting one of the items in the list an error occurs.
To solve this issue:
- The dispatcher or reverse proxy needs to be configured to pass the original protocol as a header.
- The Apache Felix Http Service SSL Filter in the OSGi configuration (https://<host>:<port>/system/console/configMgr) needs to be configured to the respective header settings. See https://felix.apache.org/documentation/subprojects/apache-felix-http-service.html#using-the-ssl-filter
If the custom template I created cannot be selected in Page Properties
When creating a mail template for Adobe Campaign, you must include the property acMapping with the value mapRecipient in the jcr:content node of the template, or you will not be able to select the Adobe Campaign template in Page Properties of AEM (field is disabled).
If you get the error “com.day.cq.mcm.campaign.servlets.util.ParameterMapper” in your logs
When using your custom template, you get the error “com.day.cq.mcm.campaign.servlets.util.ParameterMapper” in your logs. In this event, be sure to install Featurepack 6576 from Package Share. This is an issue where if the acMapping property is set to a value other than recipient.firstName, a blank value is created on the Adobe Campaign Manager side.
Experience Manager
- Administering User Guide overview
- Sites Features
- Website Administration
- Reusing Content: Multi Site Manager and Live Copy
- Live Copy Overview Console
- Configuring Live Copy Synchronization
- Creating and Synchronizing Live Copies
- MSM Rollout Conflicts
- MSM Best Practices
- Translating Content for Multilingual Sites
- Managing Translation Projects
- Identifying Content to Translate
- Preparing Content for Translation
- Creating a Language Root Using the Classic UI
- Connecting to Microsoft Translator
- Configuring the Translation Integration Framework
- Language Copy Wizard
- Translation Enhancements
- Translation Best Practices
- Configurations and the Configuration Browser
- AEM FAQs
- Operations
- Dashboards
- Operations Dashboard
- Backup and Restore
- Data Store Garbage Collection
- Monitoring Server Resources Using the JMX Console
- Working with Logs
- Configure the Rich Text Editor
- Configure the Video component
- The Bulk Editor
- Configuring Email Notification
- Configuring RTE for Producing Accessible Sites
- The Link Checker
- Troubleshooting AEM
- Audit Log Maintenance in AEM 6
- Editor
- Managing Access to Workflows
- Using cURL with AEM
- Configuring Undo for Page Editing
- Proxy Server Tool (proxy.jar)
- Configuring for AEM Apps
- Administering Workflows
- Configuring Search Forms
- Tools Consoles
- Reporting
- Administering Workflow Instances
- Configuring Layout Container and Layout Mode
- Enabling Access to Classic UI
- Starting Workflows
- Configure the Rich Text Editor plug-ins
- Admin Consoles
- Security
- User Administration and Security
- User, Group and Access Rights Administration
- Security Checklist
- OWASP Top 10
- Running AEM in Production Ready Mode
- Identity Management
- Adobe IMS Authentication and Admin Console Support for AEM Managed Services
- Creating a Closed User Group
- Mitigating serialization issues in AEM
- User Synchronization
- Encapsulated Token Support
- Single Sign On
- How to Audit User Management Operations in AEM
- SSL By Default
- SAML 2.0 Authentication Handler
- Closed User Groups in AEM
- Granite Operations - User and Group Administration
- Enabling CRXDE Lite in AEM
- Configuring LDAP with AEM 6
- Configure the Admin Password on Installation
- Service Users in AEM
- Encryption Support for Configuration Properties
- Handling GDPR Requests for the AEM Foundation
- Content Disposition Filter
- Personalization
- eCommerce
- Integration
- Integrating with Third-Party Services
- Integrating with Salesforce
- Integrating with Adobe Target
- Integrating with Adobe Analytics
- Connecting to Adobe Analytics and Creating Frameworks
- Configuring Link Tracking for Adobe Analytics
- Mapping Component Data with Adobe Analytics Properties
- Configuring Video Tracking for Adobe Analytics
- HTTP2 Delivery of Content FAQ
- Troubleshooting your Adobe Campaign Integration
- SharePoint Connector Licenses, Copyright Notices, and Disclaimers
- SharePoint Connector
- DHTML Viewer End-of-Life FAQs
- Integrating with Adobe Campaign Classic
- Related Community Articles
- Integrating with Adobe Campaign Standard
- Flash Viewers End-of-Life Notice
- Integrating with Adobe Creative Cloud
- Integrating with Adobe Dynamic Tag Management
- Opting Into Adobe Analytics and Adobe Target
- AEM Portals and Portlets
- Integrating with Dynamic Media Classic
- Troubleshooting Integration Issues
- Integrating with BrightEdge Content Optimizer
- Best Practices for Email Templates
- Catalog Producer
- Integrating with Silverpop Engage
- Integrating with Adobe Campaign
- Integrating with ExactTarget
- Analytics with External Providers
- Integrating with the Adobe Marketing Cloud
- Manually Configuring the Integration with Adobe Target
- Prerequisites for Integrating with Adobe Target
- Adobe Classifications
- Solutions Integration
- Target Integration with Experience Fragments
- Best Practices
- Content Management