atg environment setup in this session you will learn – setting up atg environment – creating new...
TRANSCRIPT
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• ATG10.0.2• 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 run1. Create new DB schema(Ex: MYSHOP/MYSHOP)
2. Setup ENV variables like in the above slide.1. DYNAMO_ROOT=C:\ATGTraining\ATG10.0.22. DYNAMO_HOME=%DYNAMO_ROOT%\home3. JAVA_HOME=C:\ATGTraining\Java\jdk1.7.0_65
3. Execute the below sql statements for newly create Schema1. ${ATG_HOME}\DAS\sql\install\oracle\das_ddl.sql2. ${ATG_HOME}\DPS\sql\install\oracle\dps_ddl.sql3. ${ATG_HOME}\DSS\sql\install\oracle\dss_ddl.sql4. ${ATG_HOME}\DCS\sql\install\oracle\dcs_ddl.sqlNote :Make sure no db errors
Steps for ATG Setup(2)
4. Install ATG-Plugin– EclipseHelpInstall 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:http://localhost:7001/atgsamples/index.jsp
And you should see test page properly.
Application Status
Browsing Test Page