*********************************************************
* Author: Trinadh Kavuri								*
* Instructions to Create weblogic Domain for EE Service * 
*														*
*														*
*********************************************************

Default weblogic user password used in these scripts is "weblogic123"
please change it to a new password while creating the domain. 


1. Set the following environment variables. 
	export BEA_HOME=/u01/app/bea
	export WL_HOME=/u01/app/bea/wlserver_10.3
	export EEDOMAIN_HOME=/u01/app/bea/domains/EES-PROD
    #Keep the above variable same as domainName as defined
    # in the CreateDomain.py. It will be
    #	EES-DEV for edev
    #	EES-PREPROD for preprod 
    #	EES-PROD etc

2. log off and login to the unix terminal to activate these env variables.


3. change directory the appropriate folder [dev , sqa etc..].

4. use this command in in the desired directory to remove 
   ^M chars in the UNIX scripts. It will clean all the 
   files in that directory.
[weblogic@DNS   app41 dev]dos2unix *

5. Open CreateDomain.py in vi and change the weblogic user password 
   the password for the dbconnection pool.
6. run script CreateDomain.sh and it creates the EEServiceDomain.
bash$./CreateDomain.sh

7. change directory to $EEDOMAIN_HOME/bin and run this command 
   to start the admin server.
[weblogic@DNS   app41 dev]./startWebLogic.sh

8. logon to the admin console to make sure all the servers/machines/
	clusters/pools are created.
	
9.Run the script SetUpNodeManager.sh on all the servers.

10.run this command to start the node manager all the servers. 
[weblogic@DNS   app41 dev]$ ./StartNodeManager.sh

10.change directory to $EEDOMAIN_HOME and create a directory "application"

11. Copy the war file to applications folder. 

12. change directory the appropriate folder under scripts to deploy the 
   war file using this command. 
[weblogic@DNS   app41 dev]$ ./Deploy.sh

13. Start the managed servers from the admin console.
	
14. If you have any issues with any step please repeat after fixing the 
	root cause. 		
