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

For example, several Oracle ATG Web Commerce 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 <ATG10dir>/home/localconfig/atg/dynamo/service/jdbc/.

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


Copyright © 1997, 2012 Oracle and/or its affiliates. All rights reserved.

Legal Notices