Operating Systems: i5/OS
Personalize the table of contents and search results
Example: Obtaining option information for AdminApp object commands
Use the taskInfo command of the AdminApp object to obtain
information about the data that is needed for your application.
You need to provide data for rows or entries that are either missing information,
or require an update.
- You can use the options command to see the requirements for an
enterprise archive file (EAR) file if you construct installation command lines.
The taskInfo command provides detailed information for each task option
with a default binding applied to the result.
- The options for the AdminApp install command can be complex if
you specify various types of binding information, for example, Java Naming
and Directory Interface (JNDI) name, data sources for enterprise bean modules,
or virtual hosts for Web modules. An easy way to specify command-line installation
options is to use a feature of the installInteractive command that
generates the options for you. After you install the application interactively
once and specify all the updates that you need, look for message WASX7278I
in the wsadmin output log. The default output log for wsadmin is wsadmin.traceout.
You can cut and paste the data in this message into a script, and modify
it.
Related tasks
Scripting and command line reference material
Related Reference
Options for the AdminApp object install, installInteractive, edit,
editInteractive, update, and updateInteractive commands
Commands for the AdminApp object
Reference topic