If the there is an Fredhopper error for fetching the Trigger Types from Fredhopper then ADF is working and you have an issue in the SmartTarget cartrdige which is added to ADF.
ADF config
In ADF's cd_ambient_conf.xml
you have enabled this cartrdige
<Cartridge File="smarttarget_cartridge_conf.xml" />
SmartTarget config
The SmartTarget cartridge uses in turn the SmartTartget configuration in smarttarget_conf.xml
. This configuration file specifies the Fredhopper endpoint.
There are several Fredhopper instances in this cofiguration file. Have a look at the endpoint in the IndexServer\Url
element, check if this Fredhopper instance is up and running.
<IndexServer>
<Url>http://localhost:8180/</Url>
<Authentication>
<Username>admin</Username>
<Password>...</Password>
</Authentication>
...
</IndexServer>
Fredhopper endpoint
Try http://localhost:8180/fredhopper/config/trigger-types
on the Fedhopper indexer instance to check if you have configured the right IndexServer URL, this should give you an XML document with the Trigger types like this:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<trigger-types xmlns="http://www.fredhopper.com/schema/knowledge-model/trigger/type/1.0" xmlns:ns2="http://www.fredhopper.com/schema/knowledge-model/trigger/operation/1.0" xmlns:ns3="http://www.fredhopper.com/schema/knowledge-model/trigger/basetype/1.0" xmlns:ns4="http://www.fredhopper.com/schema/knowledge-model/trigger/1.0">
<trigger-type basetype="number" url-param="sc_session_lifetime" name="Session - Length"/>
<trigger-type basetype="histogram" url-param="fh_histogram" name="fh_histogram"/>
<trigger-type basetype="text" url-param="st_region" name="SmartTarget Region">
<list-of-values>
...