Listing the modules in an installed application using wsadmin scripting

Use the AdminApp object listModules command to list the modules in an installed application.

About this task

You can run the listModules command to see what modules are in an installed application.

Procedure

  1. Start the wsadmin scripting tool.
  2. Display the application modules.
    Using Jacl:
    $AdminApp listModules DefaultApplication -server
    Using Jython:
    print AdminApp.listModules('DefaultApplication', '-server')
    Table 1. listmodules command elements. Run the listmodules command to list application modules.
    $ is a Jacl operator for substituting a variable name with its value
    print 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
    Example output:
    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



In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic    

Terms of Use | Feedback

Last updated: Oct 22, 2010 12:21:29 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=compass&product=was-nd-zos&topic=txml_listmodule
File name: txml_listmodule.html