ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring ATG plugin with Eclipse – Deploying and running an ATG application
Windows 64 bit OS ATG Oracle12/MySQL DB/MS SQL jdk1.7.0_65 (64 bit) Weblogic12 64 bit RAM Min 4GB Get Latest J2ee Eclipse Copy ATGTraining.zip and extract in your C:\ ATG Installation
ATG File Organization
The home directory
ATG Aplication Overview
Steps for ATG Setup(1) 1.ATG Required Database to run 1.Create new DB schema(Ex: MYSHOP/MYSHOP) 2.Setup ENV variables like in the above slide. 1.DYNAMO_ROOT=C:\ATGTraining\ATG DYNAMO_HOME=%DYNAMO_ROOT%\home 3.JAVA_HOME=C:\ATGTraining\Java\jdk1.7.0_65 3.Execute the below sql statements for newly create Schema 1.${ATG_HOME}\DAS\sql\install\oracle\das_ddl.sql 2.${ATG_HOME}\DPS\sql\install\oracle\dps_ddl.sql 3.${ATG_HOME}\DSS\sql\install\oracle\dss_ddl.sql 4.${ATG_HOME}\DCS\sql\install\oracle\dcs_ddl.sql Note :Make sure no db errors
Steps for ATG Setup(2) 4.Install ATG-Plugin – Eclipse Help Install New Software – Click an Add – Click on Archive – Give ATGUpdateSite.jar – Click on Ok – Once complete restart the eclipse
Creating New Module Once step 4 completed ATG plug-in get installed Create new atg module using eclipse with ATGSample name Give the below names – J2ee name : atgsample-jee – Web name : atgsample-web – Context path : atgsamples
New Module Creation
New Module Structure
DB Configuration
Ear Creating and Testing application Create ear file using the below command ${ATG_HOME}\home\bin> runAssembler.bat ATGSample.ear -m DafEar.Admin ATGSample Start the server Deploy new ear file Browse: And you should see test page properly.
Application Status
Browsing Test Page