Getting “No Data Access Object for AudienceManagerProfile” when I make any OE API calls.
In the cd_core log I can see:
2012-05-13 11:59:30,520 DEBUG StorageManagerFactory - Default storage provider has caching set to: false
2012-05-13 11:59:30,520 DEBUG StorageManagerFactory - Loaded following dao Properties[publication=0, typeMapping=AudienceManagerProfile, storageId=profiledb, cached=false] for publication/typeMapping/itemExtension: 0 / AudienceManagerProfile / null
2012-05-13 11:59:30,520 DEBUG StorageManagerFactory - Loading a non cached DAO for publicationId/typeMapping/itemExtension: 0 / AudienceManagerProfile / null
2012-05-13 11:59:30,535 ERROR Contact - Unable get contact for requested Identification fields
java.sql.SQLException: No Data Access Object for AudienceManagerProfile
I’ve checked my cd_storage_conf.xml file and it looks correct (I compared it to Nuno’s working version from the forum).
Further up in the log it says:
2012-05-13 11:59:29,724 INFO StorageManagerFactory - Checking if product Tridion CD Storage is enabled....
2012-05-13 11:59:29,724 INFO StorageManagerFactory - Tridion CD Storage is running in limited mode
“Limited mode” sounds bad!
Is this the root cause of the problem or unrelated?
Cheers
If the broker runs in limited mode, it means that it couldn’t find a license for the ‘full’ broker. So either it can’t find the license file, or the license file doesn’t contain a broker license.
When this happens the broker will fall back to using its built-in ItemType mappings, which means it will only support storing them to file system.
It is typically best to point the
cd_storage_conf.xmlto the correct location of your license file. You won’t depend on built-in search paths that way and the broker will start using the mappings you’ve configured.