ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzatz_5.4.0.1/51/admin/wsaappinst.htm

69 lines
3.1 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<LINK rel="stylesheet" type="text/css" href="../../../rzahg/ic.css">
<title>Install and uninstall applications with wsadmin</title>
</head>
<BODY>
<!-- Java sync-link -->
<SCRIPT LANGUAGE="Javascript" SRC="../../../rzahg/synch.js" TYPE="text/javascript"></SCRIPT>
<h3><a name="wsaappinst"></a>Install and uninstall applications with wsadmin</h3>
<p>You can use wsadmin to deploy applications into your application server. The wsadmin tool supports non-interactive installation, in which you run a single command that specifies the application to install, and interactive installation, in which you are prompted for information about the installation. You can also use wsadmin to uninstall applications from your application server.</p>
<ul>
<li><a href="#inst">Install applications with wsadmin</a></li>
<li><a href="#rem">Uninstall applications with wsadmin</a></li>
</ul>
<p><strong><a name="inst">Install applications with wsadmin</a></strong></p>
<p>To use the wsadmin tool to deploy applications into your application server, follow these steps:</p>
<ol>
<li><p>On the CL command line, run the STRQSH (Start Qshell) command.</p></li>
<li><p>Run the cd command to change to the directory that contains the wsadmin tool:</p>
<pre>cd /QIBM/ProdData/WebASE51/ASE/bin</pre></li>
<li><p><a href="wsarun.htm#start">Start wsadmin</a>.</p></li>
<li><p>At the wsadmin prompt, run one of these commands:</p>
<ul>
<li><p>This command uses the EAR file and the command option information to install the application:</p>
<pre>$AdminApp install <em>earfile</em> {-server <em>myAppSvr</em>}</pre>
<p>where <em>earfile</em> is the fully qualified path of the EAR file that you want to install and <em>myAppSvr</em> is the name of your application server instance.</p></li>
<li><p>This command starts an interactive installation that prompts you through a series of installation tasks:</p>
<pre>$AdminApp installInteractive <em>earfile</em></pre>
<p>where <em>earfile</em> is the fully qualified path of the EAR file that you want to install.</p></li>
</ul><p></p></li>
<li><p>Run this command to save your changes:</p>
<pre>$AdminConfig save</pre></li>
</ol>
<p><strong><a name="rem">Uninstall applications with wsadmin</a></strong></p>
<ol>
<li><p>On the CL command line, run the STRQSH (Start Qshell) command.</p></li>
<li><p>Run the cd command to change to the directory that contains the wsadmin tool:</p>
<pre>cd /QIBM/ProdData/WebASE51/ASE/bin</pre></li>
<li><p><a href="wsarun.htm#start">Start wsadmin</a>.</p></li>
<li><p>At the wsadmin prompt, run this command to uninstall an application:</p>
<pre>$AdminApp uninstall <em>myApp</em></pre>
<p>where <em>myApp</em> is the name of the application that you want to uninstall.</p>
<p><strong>Note:</strong> Specify the name of the application, not the name of the EAR or WAR file.</p></li>
<li><p>Run this command to save your changes:</p>
<pre>$AdminConfig save</pre></li>
</ol>
</body>
</html>