To configure the Oracle Commerce Platform to use data sources for WebSphere or WebLogic, override the default configuration of each data source, replacing it with a pointer to a WebSphere or WebLogic data source.

For example, several repositories use as their default data source the component /atg/dynamo/service/jdbc/JTDataSource, which is of class atg.service.jdbc.MonitoredDataSource. Rather than reconfiguring the repositories individually, replace the JTDataSource with a component of class atg.nucleus.JNDIReference, so that the “data source” that the repositories now point to is just a JNDI reference to a WebSphere or WebLogic data source. To do this, you create a JTDataSource.properties file that contains these lines:

$class=atg.nucleus.JNDIReference
JNDIName=java:comp/env/jdbc/ATGDatasource

where ATGDatasource is the JNDI name of the WebSphere or WebLogic data source. Put this file in <ATG11dir>/home/localconfig/atg/dynamo/service/jdbc/.

Note: The Configuration and Installation Manager (CIM) utility makes these configurations for you. See Configuration and Installation Manager (CIM).


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices