One possible reason for Search failure is an incorrectly configured data source. To examine your data source configuration, you can use Dynamo Administration (see the ATG Installation and Configuration Guide for information on this tool) to view each ATG instance in which the DAF.Search module is running. Check the configuration of the /atg/search/service/SearchJTDataSource component.

  • If SearchJTDataSource is a GenericReference, find the value of its componentPath property by clicking View Service Configuration, and resolve that component.

  • If SearchJTDataSource uses a DirectJTDataSource, find the JNDIName property of the DirectJTDataSource :

    /atg/dynamo/service/jdbc/JTDataSource.properties:
    dataSource=/atg/dynamo/service/jdbc/DirectJTDataSource

    /atg/dynamo/service/jdbc/DirectJTDataSource.properties:
    $class=atg.nucleus.JNDIReference
    JNDIName=java:/ATGSolidDS

    Then make sure the corresponding application server’s data source is configured properly. For example, on JBoss, you can find this is in <JBdir>/server/server-name/deploy/atg-xxxx-ds.xml:

<local-tx-datasource>
  <!-- This value matches JNDIName in DirectJTDataSource -->
  <jndi-name>ATGSolidDS</jndi-name>
  <!-- Make sure this URL points to the correct db+schema -->
  <connection-url>jdbc:solid://localhost:1313</connection-url>
  <!-- The login and password -->
  <user-name>admin</user-name>
  <password>admin</password>
</local-tx-datasource>
$JBOSS_DIR/server/<server-name>/deploy/atg-xxxx-ds.xml
<local-tx-datasource>
  <!-- This value matches JNDIName in DirectJTDataSource -->
  <jndi-name>ATGSolidDS</jndi-name>
  <!-- Make sure this URL points to the correct db+schema -->
  <connection-url>jdbc:solid://localhost:1313</connection-url>
  <!-- The login and password -->
  <user-name>admin</user-name>
  <password>admin</password>
</local-tx-datasource>
 
loading table of contents...