WebSphere Application Server - Express, Version 6.0.x     Operating Systems: AIX, HP-UX, Linux, Solaris, Windows

Listing the modules in an installed application with scripting

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:

  • Using Jacl:
    $AdminApp listModules DefaultApplication -server
  • Using Jython:
    print AdminApp.listModules('DefaultApplication', '-server')
where:
$ 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



Sub-topics
Example: Listing the modules in an application server

Related reference
Commands for the AdminApp object

Task topic    

Terms of Use | Feedback

Last updated: Jun 8, 2005 12:45:23 PM EDT
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/txml_listmodule.html

© Copyright IBM Corporation 2004, 2005. All Rights Reserved.
This information center is powered by Eclipse technology. (http://www.eclipse.org)