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.sh -c "\$AdminApp install /myApps/App1.ear {-appname appl1}" wsadmin.sh -c "\$AdminApp install /myApps//App2.ear {-appname appl2}" wsadmin.sh -c "\$AdminApp install /myApps//App3.ear {-appname appl3}"or
wsadmin.sh -c '$AdminApp install /myApps/App1.ear {-appname appl1}' wsadmin.sh -c '$AdminApp install /myApps/App2.ear {-appname appl2}' wsadmin.sh -c '$AdminApp install /myApps/App3.ear {-appname appl3}'
Or, for example, using Jacl, you can create the following file, appinst.jacl, that contains the commands:
$AdminApp install /myApps/App1.ear {-appname appl1} $AdminApp install /myApps/App2.ear {-appname appl2} $AdminApp install /myApps/App3.ear {-appname appl3}Then invoke this file using: wsadmin -f appinst.jacl