ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new...

14
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

Transcript of ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new...

Page 1: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

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

Page 2: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

• 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

Page 3: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

ATG File Organization

Page 4: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

The home directory

Page 5: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

ATG Aplication Overview

Page 6: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

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

Page 7: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

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

Page 8: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

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

Page 9: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

New Module Creation

Page 10: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

New Module Structure

Page 11: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

DB Configuration

Page 12: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

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.

Page 13: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

Application Status

Page 14: ATG Environment Setup In this session you will learn – Setting Up ATG environment – Creating new ATG application – Configuring Data Source – Configuring.

Browsing Test Page