This page applies to Campaign Classic.
The following troubleshooting tips help solve the most common problems you may encounter when you integrate AEM with Adobe Campaign:
For both integrations, you can check whether HTTP-calls are sent (AEM > Adobe Campaign, Adobe Campaign > AEM):
error.logfor more information on this.
Check that you have configured the aemserver operator in Adobe Campaign.
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.
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">
In Adobe Campaign, ensure that you have no trailing slash (/) after the port number.
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 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”
label : [inclView.@label](mailto:inclView.@label) to
label : String([inclView.@label](mailto:inclView.@label))
Relaunch the server.
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.
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.
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.
With the following setup:
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:
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).
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.