Friday 26 February 2016

Pack and unpack

WLS_HOME  is an environment variable maps to your “wlserver<version>” directory 


Dir:
opt/middleware/bea10.3/wlserver_10.3/

Execute Following command:

$WL_HOME/common/bin dir 

pack.sh  –managed=true –domain=<domain name> -template=<domain_name.jar> -template_name=”<description>”

pack.sh  –managed=true –domain=mydomain -template=mydomain.jar -template_name=”mydomain template”
Now copy the jar file into another machine 

Unpacking :
command under $WL_HOME/common/bin location
unpack.sh –domain=<domain name> -template=<jar file name>
unpack.sh –domain=mydomain  -template=mydomain.jar


Default  template:
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]
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]


No comments:

Post a Comment