3

From my web 8 CLI - enabled web application I get the following error when trying to load in an Audience Manager contact:

Unable to find Audience Manager target with Name: '3'.

In my Discovery Service cd_storage_conf.xml there is the following:

<Role Name="AudienceManagerCapability">
    <Targets Name="AudienceManagerTargets">
        <Target Name="3" Url="http://myserver:8091/audiencemanager.svc" Active="True" />
    </Targets>
</Role>

Where the 3 matches the id of the Sync Target URI created in the CMS (as explained in the docs)

It seems like it is able to find the target in the discovery config (hence the error message containing the target id), but what is it then using this id for further? Surely it is enough to then just know the audience manager service endpoint. Also, what if there are multiple targets, how does Tridion known which target to use for a given context? I miss the bigger picture here - is there somewhere in the docs where it explains how this all fits together in the web 8 architecture?

UPDATE:

So I fixed the error - it seems that whoever last updated the config did not run an update

java -jar discovery-registration.jar update

I'm still not 100% sure how it all fits together, but the main thing for now is that it works.

1 Answer 1

2

It will look up the data for the Synchronization Target with ID 3 in the Discovery service. You don't appear to have that data, which probably means that you set up the Synchronization Target before the CD environment. Unfortunately, the product isn't very good at handling that scenario (i.e. there are no events in Topology Manager you can hook into to handle changes), so you'll have to fix this issue manually.

Usually just editing the Synchronization Target and saving it will do the trick (e.g. change the Description). That will save the URLs and such to the CD environment, provided that the environment is not disabled in Topology Manager. After that, AM should be able to resolve the target.

1
  • Unfortunately that doesn't seem to help... even after restarting all the microservices. Is there somewhere or how in a database/powershell commandlet somewhere I can check that everything is configured OK?
    – Will Price
    Commented Sep 27, 2016 at 11:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.