These shell scripts are available in$MW_HOME/wlserver_[ver]/common/bin
1) Run pack.sh to bundle domain and templates from Machine1 (This will create jar file)
2) Copy jar file (created by using pack.sh command) from Machine1 to Machine2
3) Use unpack.sh to create domain & managed server on Machine2
This will provide a similar identical domain in Machine2.
Syntax of the Pack Command
pack -domain=path_of_domain -template=path_of_jara_file_to_create -template_name=”template_name” [-template_author=”author”][-template_desc=”description”] [-managed=true|false][-log=log_file] [-log_priority=log_priority]
- Default value for -managed is false
Syntax of the Unpack Command
unpack -template=path_of_jara_file -domain=path_of_domain_to_be_created [-user_name=username] [-password=password] [-app_dir=application_directory] [-java_home=java_home_directory] [-server_start_mode=dev|prod] [-log=log_file] [-log_priority=log_priority]
For more info
No comments:
Post a Comment