Friday, 19 July 2013

Creating New ATG Module Without eclipse Plugin



Step 1: Create a new Folder with your Project name. Say  “Test”
Step 2: In that folder Create 5 more folders. Folder names are given bellow. Use names without Quotes.
                2.1 “config” folder
                2.2 “src” folder
                2.3 “bin” folder
                2.4 “META-INF” folder
                2.5 “j2ee-apps” folder
Step 3: Create folder structure in “ j2ee-apps” as shown bellow
                j2ee-apps
                                |_______ test
                                                     |______ test.war------------ WEB-INF
                                                     |______ META-INF
                               
Step 4: Create index.jsp  in  Test\j2ee-apps\test\test.war  path
               
Step 5: Create a “MANIFEST.MF” file in “Test\META-INF”
               
Step 6: Create web.xml in “Test\j2ee-apps\test\test.war\WEB-INF”      
         
Step 7: Now we need to add taglibs for the JSP tags
                Better copy them from some other source into “Test\j2ee-apps\test\test.war\WEB-INF”
Step 8: Create “application.xml” in \Test\j2ee-apps\test\META-INF
               
Step 9: In “\Test\config\atg\dynamo\service\jdbc” Create “DirectJTDataSource.properties” file and point this file to new dataSource.
Step 10:  Run the Assembler for this Module, use:
runAssembler -m Test
Step 11: deploy the ear created into the weblogic Server you have already Configured.
Step 12: Configure Your DataSource in Weblogic.
Step 13: Access Your application
In my case it is:
http://localhost:7123/test

0 comments:

Post a Comment

 
;