Recovering an Undeployed Application

18-24 Oracle Fusion Middleware Administrators Guide pack.sh -domain=MW_HOMEuser_projectsdomainsdomain_name -template=scratchtemp.jar -template_name=test_install -template_author=myname -log=scratchlogsmy.log -managed=true Specifying the -managed=true option packs up only the Managed Servers. If you want to pack the entire domain, omit this option. b. Unpack the domain template jar file on Host C, using the unpack utility: unpack.sh -template=scratchaime1ms.jar -domain=MW_HOMEuser_projectsdomainsdomain_name -log=scratchlogsnew.log -log_priority=info If you are recovering to a different domain home, use the -app_dir switch in the unpack command. 4. Ensure that the application artifacts are accessible from the Managed Server host. That is, if the application artifacts are not on the same server as the Managed Server, they must be in a location accessible by the Managed Server. 5. Start Node Manager on Host C, if it is not started: java weblogic.WLST wls:offline startNodeManager 6. Using WLST, connect to the Administration Server and then enroll Node Manager running in the new host with the Administration Server: connectusername,password,http:host:port nmEnrollMW_HOMEuser_projectsdomainsdomain_name, MW_HOMEwlserver_ncommonnodemanager 7. Change the Managed Server configuration to point to the new host: a. In the WebLogic Server Administration Console, create a machine, which is a logical representation of the computer that hosts one or more WebLogic Servers, and point it to the new host. From the Home page, select Machines. Then, click New. Follow the directions in the Administration Console help. If you identify the Listen Address by IP address, you must disable Host Name Verification on the Administration Servers that access Node Manager. For more information and instructions, see Using Hostname Verification in Oracle Fusion Middleware Securing Oracle WebLogic Server. b. Change the Managed Server configuration to point to the new machine. From the left pane of the Console, expand Environment and then Servers. Then, select the name of the server. Select the Configuration tab, then the General Note: ■ For applications that are deployed in nostage and external_stage mode, copy the application artifacts from the Administration Server host directory. ■ For applications that are deployed in stage mode, the Administration server copies the application bits to the staged directories on the Managed Server hosts. See Oracle Fusion Middleware Deploying Applications to Oracle WebLogic Server for information about deploying applications.