clientRAR 工具
客户机资源适配器安装工具使用命令行语法在客户机中安装资源适配器。
如果此工具用于添加或删除服务器上的资源适配器,那么仅客户可以使用资源适配器。如果使用 wsadmin 工具或管理控制台将资源适配器安装在服务器上,那么不要使用 clientRAR 工具将它移除。只有使用 clientRAR 工具安装的资源适配器才应该通过使用 clientRAR 工具来移除。
clientRAR 工具的命令行调用语法如下所示:
clientRAR [-help | -?] [-CRDcom.ibm.ws.client.installedConnectors=<dir>] <task> <archive>
where
-help, -?
Print the usage information.
-CRDcom.ibm.ws.client.installedConnectors
The directory where resource adapters are installed.
This will override the system property of the same name
(com.ibm.ws.client.installedConnectors).
<task>
The task to perform: add - install, delete - uninstall.
<archive>
if task=add then this is the fully qualified name of the resource adapter archive file.
If task=delete then this is the filename of the resource adapter archive to be uninstalled.
下列示例说明了正确的语法。
在 Windows 操作系统上:
![[AIX]](../images/aixlogo.gif)
![[Linux]](../images/linux.gif)
![[HP-UX]](../images/hpux.gif)
在 UNIX 和 Linux 操作系统上:
![[Windows]](../images/windows.gif)
- clientRAR add c:\rars\myrar.rar
- clientRAR delete myrar.rar
![[AIX]](../images/aixlogo.gif)
![[Linux]](../images/linux.gif)
![[HP-UX]](../images/hpux.gif)
![[Solaris]](../images/solaris.gif)
- ./clientRAR add /usr/rars/myrar.rar
- ./clientRAR delete myrar.rar