List the modules in an installed application with scripting


 

+

Search Tips   |   Advanced Search

 

Use wsadmin with AdminApp listModules to list the modules in an installed application.

Jacl...

$AdminApp listModules SamplesGallery -server

Jython...

print AdminApp.listModules('SamplesGallery', '-server')

Example output...

SamplesGallery#IncCMP11.jar+META-INF/ejb-jar.xml#WebSphere:cell=mycell,node=mynode,server=myserver
SamplesGallery#DefaultWebApplication.war+WEB-INF/web.xml#WebSphere:cell=mycell,node=mynode,server=myserver


Example: Listing the modules in an appserver

 

Related

Commands for the AdminApp object