Before you begin
Before starting this task, the wsadmin tool must be running. See the Starting the wsadmin scripting client article for more information.Why and when to perform this task
Use the AdminApp object listModules command to list the modules in an installed application. For example:
$AdminApp listModules DefaultApplication -server
print AdminApp.listModules('DefaultApplication', '-server')
$ | is a Jacl operator for substituting a variable name with its value |
is a Jython command | |
AdminApp | is an object that supports application object management |
listmodules | is an AdminApp command |
DefaultApplication | is the name of the application |
-server | is an optional option specified |
DefaultApplication#IncCMP11.jar+META-INF/ejb-jar.xml#WebSphere:cell=mycell,node=mynode,server=myserver DefaultApplication#DefaultWebApplication.war+WEB-INF/web.xml#WebSphere:cell=mycell,node=mynode,server=myserver
Related reference
Commands for the AdminApp object