The following performance tips are for the wsadmin tool:
Note: On a Unix operating system, if you use the wsadmin -c option to invoke a command that includes a dollar sign character ($), the command line attempts to substitute a variable. To avoid this problem, escape the dollar sign character with a backslash character (\). For example: wsadmin -c "\$AdminApp install ...".
The following example executes multiple application installation commands from a batch file:
Using Jacl:
wsadmin -c "$AdminApp install c:\\myApps\\App1.ear {-appname appl1}" wsadmin -c "$AdminApp install c:\\myApps\\App2.ear {-appname appl2}" wsadmin -c "$AdminApp install c:\\myApps\\App3.ear {-appname appl3}"
Or, for example, using Jacl, you can create the following file, appinst.jacl, that contains the commands:
$AdminApp install c:\\myApps\\App1.ear {-appname appl1} $AdminApp install c:\\myApps\\App2.ear {-appname appl2} $AdminApp install c:\\myApps\\App3.ear {-appname appl3}Then invoke this file using: wsadmin -f appinst.jacl