{"id":1573,"date":"2010-03-19T09:49:24","date_gmt":"2010-03-19T13:49:24","guid":{"rendered":"http:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/"},"modified":"2015-12-03T09:02:35","modified_gmt":"2015-12-03T13:02:35","slug":"packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic","status":"publish","type":"post","link":"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/","title":{"rendered":"pack.sh &#038; unpack.sh command &#8211; Create Tempalets and Domains in WebLogic"},"content":{"rendered":"<p>If you are planning to configure <strong>High Availability<\/strong> (Active-Active cluster) in <strong>11g Fusion Middleware components<\/strong> (<strong>SOA, WebCenter<\/strong>) then its important\u00a0that you should\u00a0know <strong>pack<\/strong> and <strong>unpack<\/strong> command in <strong>WebLogic Server<\/strong>.<\/p>\n<p>If you are new to Oracle WebLogic Server Server then first read about <strong>Domain, Administration Server<\/strong> and <strong>Managed Server<\/strong> <a href=\"https:\/\/onlineappsdba.com\/index.php\/2008\/07\/24\/domain-administration-managed-server-cluster-in-oracle-weblogic\/\" target=\"_blank\">here<\/a><\/p>\n<p>.<\/p>\n<p><strong>Why you\u00a0should know about\u00a0<\/strong>pack.sh<strong> &amp; <\/strong>unpack.sh <strong>in Fusion Middleware (Weblogic) clustering (High Availability) ?<\/strong><br \/>\nAs part of Active-Active cluster &#8211;<br \/>\n<strong>1.<\/strong>You would install Fusion Middleware (WebLogic &amp; SOA\/WebCenter)\u00a0on <strong>Machine1<\/strong> and <strong>Machine2 .<br \/>\n<\/strong><span style=\"color: #ff0000;\">\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 For steps on How to install SOA Suite 11g on single node <\/span><a href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/08\/oracle-fusion-middleware-soa-suite-11g-r1-installation\/\" target=\"_blank\"><span style=\"color: #ff0000;\">click here<\/span><\/a><br \/>\n<strong>2.<\/strong>Create a domain (with WebLogic <strong>cluster<\/strong> and <strong>Machine<\/strong>) on <strong>Machine1<\/strong> using <strong>config.sh<\/strong> <a href=\"https:\/\/onlineappsdba.com\/index.php\/2008\/07\/28\/create-domain-in-oracle-weblogic\/\" target=\"_blank\">more here<\/a><br \/>\n<strong>3.<\/strong> Run <strong>pack.sh<\/strong> to bundle domain and templates from <strong>Machine1<\/strong> (This will create jar file)<br \/>\n<strong>4.<\/strong> Copy <strong>jar file<\/strong> (created by using pack.sh command) from <strong>Machine1<\/strong> to <strong>Machine2<\/strong><br \/>\n<strong>5.<\/strong> Use <strong>unpack.sh<\/strong> to create <strong>domain<\/strong> &amp; <strong>managed server<\/strong>\u00a0on <strong>Machine2<\/strong><\/p>\n<blockquote><p><span style=\"color: #ff0000;\">You would also need <strong>pack<\/strong> and <strong>unpack<\/strong> command to run a <strong>managed server<\/strong> on a machine that is remote from the <strong>administration server<\/strong> for the domain.<\/span><\/p><\/blockquote>\n<p>.<\/p>\n<p><strong>What is pack.sh &amp; unpack.sh command ?<br \/>\npack <\/strong>and <strong>unpack<\/strong> commands provide a simple, one-step method for creating domains and templates from the command line.<br \/>\nThese shell scripts are available in<strong>$MW_HOME\/wlserver_[ver]\/common\/bin<\/strong><\/p>\n<ul>\n<li>For more information on <strong>Directory structure<\/strong>in Fusion Middleware 11g click <a href=\"https:\/\/onlineappsdba.com\/index.php\/2009\/07\/28\/oracle-fusion-middleware-11g-concepts-for-apps-dbas\/\" target=\"_blank\">here<\/a><\/li>\n<li>For more information on <strong>pack<\/strong> &amp; <strong>unpack<\/strong> command check Oracle guide <a href=\"http:\/\/download.oracle.com\/docs\/cd\/E15523_01\/web.1111\/e14144\/intro.htm\" target=\"_blank\">here<\/a><\/li>\n<\/ul>\n<p>.<\/p>\n<p><strong><u>Syntax of the Pack Command<\/u><\/strong><\/p>\n<p><strong>pack<\/strong> <strong>-domain<\/strong>=path_of_domain <strong>-template<\/strong>=path_of_jara_file_to_create <strong>-template_name<\/strong>=&#8221;template_name&#8221; [-template_author=&#8221;author&#8221;][-template_desc=&#8221;description&#8221;] [-managed=true|false][-log=log_file] [-log_priority=log_priority]<\/p>\n<ul>\n<li>Default value for <strong>-managed<\/strong> is <strong>false<\/strong><\/li>\n<\/ul>\n<p>.<br \/>\n<strong><u>Syntax of the Unpack Command<br \/>\n<\/u><\/strong><br \/>\n<strong>unpack<\/strong> <strong>-template<\/strong>=path_of_jara_file <strong>-domain<\/strong>=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]<\/p>\n<p>&nbsp;<\/p>\n<div style=\"padding: 15px; margin-bottom: 15px; background: #ffffde; border: 1px solid #ddd; width: 85%;\" align=\"center\">\n<h2 align=\"left\">Learn Oracle Weblogic Server Administration<\/h2>\n<p>&nbsp;<\/p>\n<p>Get 100 USD OFF + 100% Money Back Guarantee<\/p>\n<p><a href=\"http:\/\/www.k21technologies.com\/oracle-weblogic-admin-training\" target=\"_blank\">Click here to get Early Bird Discounts<\/a><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>If you are planning to configure High Availability (Active-Active cluster) in 11g Fusion Middleware components (SOA, WebCenter) then its important\u00a0that [&hellip;]<\/p>\n","protected":false},"author":115,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[217],"tags":[],"class_list":["post-1573","post","type-post","status-publish","format-standard","hentry","category-weblogic"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.8 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>pack.sh &amp; unpack.sh command - Create Tempalets and Domains in WebLogic -<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"pack.sh &amp; unpack.sh command - Create Tempalets and Domains in WebLogic -\" \/>\n<meta property=\"og:description\" content=\"If you are planning to configure High Availability (Active-Active cluster) in 11g Fusion Middleware components (SOA, WebCenter) then its important\u00a0that [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/\" \/>\n<meta property=\"article:published_time\" content=\"2010-03-19T13:49:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-12-03T13:02:35+00:00\" \/>\n<meta name=\"author\" content=\"Masroof Ahmad\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Masroof Ahmad\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/\",\"url\":\"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/\",\"name\":\"pack.sh & unpack.sh command - Create Tempalets and Domains in WebLogic -\",\"isPartOf\":{\"@id\":\"https:\/\/onlineappsdba.com\/#website\"},\"datePublished\":\"2010-03-19T13:49:24+00:00\",\"dateModified\":\"2015-12-03T13:02:35+00:00\",\"author\":{\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineappsdba.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"pack.sh &#038; unpack.sh command &#8211; Create Tempalets and Domains in WebLogic\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineappsdba.com\/#website\",\"url\":\"https:\/\/onlineappsdba.com\/\",\"name\":\"\",\"description\":\"Oracle Implementation &amp; Training Experts\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineappsdba.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb\",\"name\":\"Masroof Ahmad\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g\",\"caption\":\"Masroof Ahmad\"},\"url\":\"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"pack.sh & unpack.sh command - Create Tempalets and Domains in WebLogic -","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/","og_locale":"en_US","og_type":"article","og_title":"pack.sh & unpack.sh command - Create Tempalets and Domains in WebLogic -","og_description":"If you are planning to configure High Availability (Active-Active cluster) in 11g Fusion Middleware components (SOA, WebCenter) then its important\u00a0that [&hellip;]","og_url":"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/","article_published_time":"2010-03-19T13:49:24+00:00","article_modified_time":"2015-12-03T13:02:35+00:00","author":"Masroof Ahmad","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Masroof Ahmad","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/","url":"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/","name":"pack.sh & unpack.sh command - Create Tempalets and Domains in WebLogic -","isPartOf":{"@id":"https:\/\/onlineappsdba.com\/#website"},"datePublished":"2010-03-19T13:49:24+00:00","dateModified":"2015-12-03T13:02:35+00:00","author":{"@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb"},"breadcrumb":{"@id":"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineappsdba.com\/index.php\/2010\/03\/19\/packsh-unpacksh-command-create-tempalets-and-domains-in-weblogic\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineappsdba.com\/"},{"@type":"ListItem","position":2,"name":"pack.sh &#038; unpack.sh command &#8211; Create Tempalets and Domains in WebLogic"}]},{"@type":"WebSite","@id":"https:\/\/onlineappsdba.com\/#website","url":"https:\/\/onlineappsdba.com\/","name":"","description":"Oracle Implementation &amp; Training Experts","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineappsdba.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/909a876ed58d400faf82caf81d61bfdb","name":"Masroof Ahmad","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/onlineappsdba.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/10f9db7bdbbd7f9ccfbe9b2d208e5978fc28315e9c704383e639a926ea0fce5f?s=96&d=mm&r=g","caption":"Masroof Ahmad"},"url":"https:\/\/onlineappsdba.com\/index.php\/author\/masroof\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1573","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/users\/115"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/comments?post=1573"}],"version-history":[{"count":0,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/posts\/1573\/revisions"}],"wp:attachment":[{"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/media?parent=1573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/categories?post=1573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineappsdba.com\/index.php\/wp-json\/wp\/v2\/tags?post=1573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}