You can list installed applications using the wsadmin tool
and scripting.
Before you begin
Before starting this task, the wsadmin tool must be running.
See the topic on starting the wsadmin scripting client.
Procedure
- Query the configuration and create a list of installed
applications, for example:
- Using Jacl:
$AdminApp list
- Using Jython:
print AdminApp.list()
Table 1. AdminApp list command description. Run the list command with no arguments.Element |
Description |
$ |
is a Jacl operator for substituting a variable
name with its value |
AdminApp |
is an object that supports application
object management |
list |
is an AdminApp command |
Example output:
DefaultApplication
SampleApp
app1serv2
- Query the configuration and create a list of installed
applications on a given target scope, for example:
- Using Jacl:
$AdminApp list WebSphere:cell=myCell,node=myNode,server=myServer
- Using Jython:
print AdminApp.list("WebSphere:cell=myCell,node=myNode,server=myServer")
Table 2. AdminApp list command with target description. Run the list command with an optional argument.Element |
Description |
$ |
is a Jacl operator for substituting a variable
name with its value |
AdminApp |
is an object that supports application
object management |
list |
is an AdminApp command |
WebSphere:cell=myCell,node=myNode,
server=myServer |
is an optional target scope |
Example output:
DefaultApplication
PlantsByWebSphere
SamplesGallery
ivtApp
query