Sunday, October 20, 2013

ATG Developer Setup with Web logic & Oracle:


ATG Developer Setup with Web logic & Oracle:

1.       Install Weblogic Server

2.       Install Oracle Database

3.       Create new schema

4.       Execute the below scripts in the DAS, DPS, DSS, DCS order.

5.       Ex : The below are sql script from ATG installation directory.
a.       C:\ATG\ATG10.0.2\DAS\sql\install\oracle\das_ddl.sql
b.      C:\ATG\ATG10.0.2\DPS\sql\install\oracle\dps_ddl.sql
c.       C:\ATG\ATG10.0.2\DSS\sql\install\oracle\dss_ddl.sql
d.      C:\ATG\ATG10.0.2\DCS\sql\install\oracle\dcs_ddl.sql
e.      C:\ATG\ATG10.0.2\B2BCommerce\sql\install\oracle\b2bcommerce_ddl.sql

6.       Copy protocal.jar  from
C:\ATG\ATG10.0.2\DAS\lib\
to 
C:\Oracle\Middleware\user_projects\domains\atg_domain\

7.       Append the protocol jar in server class path.
Location: C:\Oracle\Middleware\user_projects\domains\atg_domain
Open startWebLogic.cmd and update as below.

set CLASSPATH=%CLASSPATH%;C:\Oracle\Middleware\user_projects\domains\atg_domain\protocol.jar;

8.       Configure local database for ATG samples.
a.       Location : C:\ATG\ATG10.0.2\home\localconfig

b.      Create new component /atg/dynamo/service/jdbc/FakeXADataSource.properties
URL=jdbc:oracle:thin:@localhost:1521:XE
driver=oracle.jdbc.driver.OracleDriver
password=test
user=test

c.       Create new component /atg/dynamo/service/jdbc/JTDataSource.properties
$class=atg.service.jdbc.MonitoredDataSource
dataSource=/atg/dynamo/service/jdbc/FakeXADataSource

9.       Build the ear file using the below command

 C:\ATG\ATG10.0.2\\home\bin>runAssembler.bat  output-ear-file-name  -m dynamo-module-list

Example:
C:\ : C:\ATG\ATG10.0.2\home\bin>runAssembler.bat  ATGSamples.ear  -m DafEar.Admin ATGSamples

      10.   Start the server and deploy and monitor logs

 

No comments:

Post a Comment

Please leave your suggestion here