CIM(Configuration and Installation Manger) Setup. Step -3 Ear Assembly and Deployment to server. (ATG 10.2)

After Setting Up the Databases and Creation of server instances. Next step would be creation Enterprise Archives (EAR) files with all the necessary modules and deploy it to servers.

We can do that Manually but CIM provides very easy way to do it.

If you haven't setup ATG Required Databases then please check the Step-1 (CIM(Configuration and Installation Manger) Setup. Step -1 DataBases Setup. (ATG 10.2)).
If you haven't created the ServerInstances then Please Check the Step-2 (CIM(Configuration and Installation Manger) Setup. Step -2 ServerInstance-Configuration. (ATG 10.2)).

Below are the Next series of steps.
======================================


C:\ATG10.2_New\ATG10.2\home\bin>cim.bat
Application Server: jboss
The following installed ATG components are being used to launch:
  ATGPlatform version 10.2 installed at C:\ATG10.2_New\ATG10.2


Nucleus running


     Oracle ATG Web Commerce Configuration Installation Manager



=======CIM MAIN MENU======================================
enter [h]elp, [q]uit to exit


Choose the task you want to perform:


  [1]  Database Configuration - Done
  [2]  Server Instance Configuration - Done
 *[3]  Application Assembly & Deployment
  [R]  Set the Administrator Password - Done
  [P]  Product Selection - Done (ATG Content Administration & Oracle ATG
Commerce Reference Store & ATG-Endeca Integration & ATG Site Administration)
  [A]  Select Application Server - Done (JBoss)
  [C]  Custom CIM Plugin Launcher

 >

-------DEPLOYMENT SERVER INSTANCE SELECTION-------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



 *[A]  amca - Publishing with a Server Lock Manager
  [P]  prodps1 - Production
  [D]  Done

 >
  (Searching for products... done.)

-------ENTER EAR FILE NAME(S)---------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



   Enter Ear File Name for Publishing with a Server Lock Manager
[[atg_publishing_lockserver.ear]] > amca.ear

-------SELECT JBOSS SERVER TO USE-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



 *[C]  CIM should create a new server for me.

 >

-------SELECT JBOSS SERVER TEMPLATE TO USE--------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



 *[D]  default

 >

   Enter Name For Jboss Server:  [[amca]] >

  >> Template set to default

  >> Server set to amca

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server amca


Top Level Module List:

DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin DCS-UI.SiteAdmin.Versioned
SiteAdmin.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned
Store.Storefront DAF.Endeca.Index.Versioned DCS.Endeca.Index.Versioned
DCS.Endeca.Index.SKUIndexing


 *[D]  Deploy Publishing with a Server Lock Manager amca.ear to JBoss
  [R]  Register Datasources on JBoss
  [A]  Add database driver to app server classpath
  [P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 > e

-------APPLICATION ASSEMBLY OPTIONS---------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



  Choose Application Assembly Options: (* = Currently selected )

  [1]  -pack
  [2]  -standalone
  [3]  -overwrite
  [4]  -collapse-class-path
  [5]  -jardirs
  [6]  -verbose
  [7]  -classesonly
  [8]  -displayname
  [9]  -liveconfig
  [10]  -add-ear-file
  [11]  -context-roots-file
  [12]  -dynamo-env-properties
  [13]  -exclude-acc-resources
  [14]  -nofix
  [15]  -prependJars
  [16]  -run-in-place
  [17]  -layer
  [18]  -distributable
  [D]  Done

Select zero or more > 2 9

  Choose Application Assembly Options: (* = Currently selected )

  [1]  -pack
 *[2]  -standalone
  [3]  -overwrite
  [4]  -collapse-class-path
  [5]  -jardirs
  [6]  -verbose
  [7]  -classesonly
  [8]  -displayname
 *[9]  -liveconfig
  [10]  -add-ear-file
  [11]  -context-roots-file
  [12]  -dynamo-env-properties
  [13]  -exclude-acc-resources
  [14]  -nofix
  [15]  -prependJars
  [16]  -run-in-place
  [17]  -layer
  [18]  -distributable
  [D]  Done

Select zero or more > D

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server amca -standalone -liveconfig


Top Level Module List:

DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin DCS-UI.SiteAdmin.Versioned
SiteAdmin.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned
Store.Storefront DAF.Endeca.Index.Versioned DCS.Endeca.Index.Versioned
DCS.Endeca.Index.SKUIndexing


 *[D]  Deploy Publishing with a Server Lock Manager amca.ear to JBoss
  [R]  Register Datasources on JBoss
  [A]  Add database driver to app server classpath
  [P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 >

-------DEPLOY PUBLISHING WITH A SERVER LOCK MANAGER TO JBOSS--------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Deploying to C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/


  Creating JBoss server instance amca. View log file at C:/ATG10.2_New/ATG10.2/
home/../CIM/ log/cim.log
  |. . . . . . . |

  >> Jboss App. Server Instance Created at: C:/ATG10.2_New/jboss-eap-5.1.2/
jboss-as/server/amca

  Executing runAssembler for amca. View log file at C:/ATG10.2_New/ATG10.2/
home/../CIM/ log/cim.log
  |. . . . . . . . . . . . . . . . . . . . . . . . |

  >> Ear created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/amca/deploy/
amca.ear

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server amca -standalone -liveconfig


Top Level Module List:

DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin DCS-UI.SiteAdmin.Versioned
SiteAdmin.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned
Store.Storefront DAF.Endeca.Index.Versioned DCS.Endeca.Index.Versioned
DCS.Endeca.Index.SKUIndexing


  [D]  Deploy Publishing with a Server Lock Manager amca.ear to JBoss - Done
 *[R]  Register Datasources on JBoss
  [A]  Add database driver to app server classpath
  [P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 >

-------REGISTER DATASOURCES ON JBOSS--------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



-------JBOSS REGISTER DATASOURCES - AMCA----------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Jboss Register Datasources - amca


  >> File successfully copied from C:/ATG10.2_New/ATG10.2/home/../CIM/plugins/
Base/filetemplate/jboss-open-ds.xml to C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/
server/amca/deploy/atg-ds.xml

  >> XML file created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/amca/
deploy/atg-ds.xml

  >> XML file created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/amca/
deploy/atg-ds.xml

  >> XML file created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/amca/
deploy/atg-ds.xml

  >> XML file created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/amca/
deploy/atg-ds.xml

  >> XML file created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/amca/
deploy/atg-ds.xml

  >> File written to C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/amca/
deploy/atg-ds.xml

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server amca -standalone -liveconfig


Top Level Module List:

DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin DCS-UI.SiteAdmin.Versioned
SiteAdmin.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned
Store.Storefront DAF.Endeca.Index.Versioned DCS.Endeca.Index.Versioned
DCS.Endeca.Index.SKUIndexing


  [D]  Deploy Publishing with a Server Lock Manager amca.ear to JBoss - Done
  [R]  Register Datasources on JBoss - Done
 *[A]  Add database driver to app server classpath
  [P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 >

-------JBOSS JDBC DRIVER JAR COPY-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


There are no jdbc drivers to copy to JBoss


 *[C]  Copy File
  [A]  Cancel

 >

  >> File successfully copied from C:/ATG10.2_New/mysql-5.5.30-winx64/driver/
mysql-connector-java-5.1.22-bin.jar to C:\ATG10.2_New\jboss-eap-5.1.2\jboss-as/
server/amca/lib/mysql-connector-java-5.1.22-bin.jar

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server amca -standalone -liveconfig


Top Level Module List:

DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin DCS-UI.SiteAdmin.Versioned
SiteAdmin.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned
Store.Storefront DAF.Endeca.Index.Versioned DCS.Endeca.Index.Versioned
DCS.Endeca.Index.SKUIndexing


  [D]  Deploy Publishing with a Server Lock Manager amca.ear to JBoss - Done
  [R]  Register Datasources on JBoss - Done
  [A]  Add database driver to app server classpath - Done
 *[P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 >

-------POST DEPLOYMENT OPTIONS--------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



 *[J]  JBoss JVM Optimization
  [D]  Done

 >

-------JBOSS JVM OPTIMIZATION---------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


JBoss JVM Optimization


 *[U]  Update JBoss run.conf.bat file
  [C]  Cancel

 >

  >> JAVA_OPTS for optimized JBoss JVM settings configured at : C:/ATG10.2_New/
jboss-eap-5.1.2/jboss-as/bin\run.conf.bat

-------POST DEPLOYMENT OPTIONS--------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



  [J]  JBoss JVM Optimization - Done
 *[D]  Done

 >

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server amca -standalone -liveconfig


Top Level Module List:

DCS-UI.Versioned BIZUI PubPortlet DafEar.Admin DCS-UI.SiteAdmin.Versioned
SiteAdmin.Versioned DCS.Versioned DCS-UI Store.EStore.Versioned
Store.Storefront DAF.Endeca.Index.Versioned DCS.Endeca.Index.Versioned
DCS.Endeca.Index.SKUIndexing


  [D]  Deploy Publishing with a Server Lock Manager amca.ear to JBoss - Done
  [R]  Register Datasources on JBoss - Done
  [A]  Add database driver to app server classpath - Done
  [P]  Post Deployment Actions on JBoss - Done
  [E]  Edit runAssembler arguments
 *[O]  Configure Another Server Instance

 >


-------DEPLOYMENT SERVER INSTANCE SELECTION-------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



  [A]  amca - Publishing with a Server Lock Manager - Done
 *[P]  prodps1 - Production
  [D]  Done

 >

-------ENTER EAR FILE NAME(S)---------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



   Enter Ear File Name for Production [[atg_production.ear]]
 > prodps1.ear

-------SELECT JBOSS SERVER TO USE-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



  [A]  amca
 *[C]  CIM should create a new server for me.

 >

-------SELECT JBOSS SERVER TEMPLATE TO USE--------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



 *[D]  default

 >

   Enter Name For Jboss Server:  [[prodps1]] >

  >> Template set to default

  >> Server set to prodps1

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server prodps1


Top Level Module List:

DafEar.Admin DPS DSS DCS.PublishingAgent DCS.AbandonedOrderServices
DAF.Endeca.Index DCS.Endeca.Index Store.Endeca.Index DAF.Endeca.Assembler
DCS.Endeca.Index.SKUIndexing Store.Storefront Store.Fulfillment
PublishingAgent


 *[D]  Deploy Production prodps1.ear to JBoss
  [R]  Register Datasources on JBoss
  [A]  Add database driver to app server classpath
  [P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 > E

-------APPLICATION ASSEMBLY OPTIONS---------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



  Choose Application Assembly Options: (* = Currently selected )

  [1]  -pack
  [2]  -standalone
  [3]  -overwrite
  [4]  -collapse-class-path
  [5]  -jardirs
  [6]  -verbose
  [7]  -classesonly
  [8]  -displayname
  [9]  -liveconfig
  [10]  -add-ear-file
  [11]  -context-roots-file
  [12]  -dynamo-env-properties
  [13]  -exclude-acc-resources
  [14]  -nofix
  [15]  -prependJars
  [16]  -run-in-place
  [17]  -layer
  [18]  -distributable
  [D]  Done

Select zero or more > 2 9

  Choose Application Assembly Options: (* = Currently selected )

  [1]  -pack
 *[2]  -standalone
  [3]  -overwrite
  [4]  -collapse-class-path
  [5]  -jardirs
  [6]  -verbose
  [7]  -classesonly
  [8]  -displayname
 *[9]  -liveconfig
  [10]  -add-ear-file
  [11]  -context-roots-file
  [12]  -dynamo-env-properties
  [13]  -exclude-acc-resources
  [14]  -nofix
  [15]  -prependJars
  [16]  -run-in-place
  [17]  -layer
  [18]  -distributable
  [D]  Done

Select zero or more > D

-------APPLICATION ASSEMBLY OPTION VALUES---------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server prodps1 -standalone -liveconfig


Top Level Module List:

DafEar.Admin DPS DSS DCS.PublishingAgent DCS.AbandonedOrderServices
DAF.Endeca.Index DCS.Endeca.Index Store.Endeca.Index DAF.Endeca.Assembler
DCS.Endeca.Index.SKUIndexing Store.Storefront Store.Fulfillment
PublishingAgent


 *[D]  Deploy Production prodps1.ear to JBoss
  [R]  Register Datasources on JBoss
  [A]  Add database driver to app server classpath
  [P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 >

-------DEPLOY PRODUCTION TO JBOSS-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Deploying to C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/


  Creating JBoss server instance prodps1. View log file at C:/ATG10.2_New/
ATG10.2/home/../CIM/ log/cim.log
  |. . . |

  >> Jboss App. Server Instance Created at: C:/ATG10.2_New/jboss-eap-5.1.2/
jboss-as/server/prodps1

  Executing runAssembler for prodps1. View log file at C:/ATG10.2_New/ATG10.2/
home/../CIM/ log/cim.log
  |. . . . . . . . . |

  >> Ear created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/prodps1/
deploy/prodps1.ear

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server prodps1 -standalone -liveconfig


Top Level Module List:

DafEar.Admin DPS DSS DCS.PublishingAgent DCS.AbandonedOrderServices
DAF.Endeca.Index DCS.Endeca.Index Store.Endeca.Index DAF.Endeca.Assembler
DCS.Endeca.Index.SKUIndexing Store.Storefront Store.Fulfillment
PublishingAgent


  [D]  Deploy Production prodps1.ear to JBoss - Done
 *[R]  Register Datasources on JBoss
  [A]  Add database driver to app server classpath
  [P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 >

-------REGISTER DATASOURCES ON JBOSS--------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



-------JBOSS REGISTER DATASOURCES - PRODPS1-------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Jboss Register Datasources - prodps1


  >> File successfully copied from C:/ATG10.2_New/ATG10.2/home/../CIM/plugins/
Base/filetemplate/jboss-open-ds.xml to C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/
server/prodps1/deploy/atg-ds.xml

  >> XML file created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/
prodps1/deploy/atg-ds.xml

  >> XML file created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/
prodps1/deploy/atg-ds.xml

  >> XML file created at C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/
prodps1/deploy/atg-ds.xml

  >> File written to C:/ATG10.2_New/jboss-eap-5.1.2/jboss-as/server/prodps1/
deploy/atg-ds.xml

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server prodps1 -standalone -liveconfig


Top Level Module List:

DafEar.Admin DPS DSS DCS.PublishingAgent DCS.AbandonedOrderServices
DAF.Endeca.Index DCS.Endeca.Index Store.Endeca.Index DAF.Endeca.Assembler
DCS.Endeca.Index.SKUIndexing Store.Storefront Store.Fulfillment
PublishingAgent


  [D]  Deploy Production prodps1.ear to JBoss - Done
  [R]  Register Datasources on JBoss - Done
 *[A]  Add database driver to app server classpath
  [P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 >

-------JBOSS JDBC DRIVER JAR COPY-----------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


There are no jdbc drivers to copy to JBoss


 *[C]  Copy File
  [A]  Cancel

 >

  >> File successfully copied from C:/ATG10.2_New/mysql-5.5.30-winx64/driver/
mysql-connector-java-5.1.22-bin.jar to C:\ATG10.2_New\jboss-eap-5.1.2\jboss-as/
server/prodps1/lib/mysql-connector-java-5.1.22-bin.jar

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server prodps1 -standalone -liveconfig


Top Level Module List:

DafEar.Admin DPS DSS DCS.PublishingAgent DCS.AbandonedOrderServices
DAF.Endeca.Index DCS.Endeca.Index Store.Endeca.Index DAF.Endeca.Assembler
DCS.Endeca.Index.SKUIndexing Store.Storefront Store.Fulfillment
PublishingAgent


  [D]  Deploy Production prodps1.ear to JBoss - Done
  [R]  Register Datasources on JBoss - Done
  [A]  Add database driver to app server classpath - Done
 *[P]  Post Deployment Actions on JBoss
  [E]  Edit runAssembler arguments
  [O]  Configure Another Server Instance

 >

-------POST DEPLOYMENT OPTIONS--------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



  [J]  JBoss JVM Optimization - Done
 *[D]  Done

 >

-------JBOSS DEPLOYMENT MENU----------------------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit


Current runAssembler arguments :

-server prodps1 -standalone -liveconfig


Top Level Module List:

DafEar.Admin DPS DSS DCS.PublishingAgent DCS.AbandonedOrderServices
DAF.Endeca.Index DCS.Endeca.Index Store.Endeca.Index DAF.Endeca.Assembler
DCS.Endeca.Index.SKUIndexing Store.Storefront Store.Fulfillment
PublishingAgent


  [D]  Deploy Production prodps1.ear to JBoss - Done
  [R]  Register Datasources on JBoss - Done
  [A]  Add database driver to app server classpath - Done
  [P]  Post Deployment Actions on JBoss - Done
  [E]  Edit runAssembler arguments
 *[O]  Configure Another Server Instance

 >

-------DEPLOYMENT SERVER INSTANCE SELECTION-------------------------------------
enter [h]elp, [m]ain menu, [q]uit to exit



  [A]  amca - Publishing with a Server Lock Manager - Done
  [P]  prodps1 - Production - Done
  [D]  Done

  >D

=======CIM MAIN MENU======================================
enter [h]elp, [q]uit to exit


Choose the task you want to perform:


  [1]  Database Configuration - Done
  [2]  Server Instance Configuration - Done
  [3]  Application Assembly & Deployment - Done
  [R]  Set the Administrator Password - Done
  [P]  Product Selection - Done (ATG Content Administration & Oracle ATG
Commerce Reference Store & ATG-Endeca Integration & ATG Site Administration)
  [A]  Select Application Server - Done (JBoss)
 *[C]  Custom CIM Plugin Launcher

 > q



    Thank you for using

    Oracle ATG Web Commerce Configuration Installation Manager

    Copyright (C) 1994-2013, Oracle and/or its affiliates All rights reserved


Nucleus shutting down
Nucleus shutdown complete

C:\ATG10.2_New\ATG10.2\home\bin>

Comments

Popular posts from this blog

ATG Database Tables

ATG BCC Users Roles

Resetting the Dynamo Admin password