2

The context is that I have a script that automates the update or deployment of applications on WAS 6.1 servers from a DMGR. This script use a setting file that contains the application name, the server cell, node and name. I don't want to make manually a file for every application. I searched IBM for a way to get all these informations and can't find how.

http://pic.dhe.ibm.com/infocenter/wasinfo/v8r0/index.jsp?topic=%2Fcom.ibm.websphere.base.doc%2Finfo%2Faes%2Fae%2Ftxml_listapp.html

I know how to list apps on a server but I need to link all those infos together.

$AdminApp list (any options would give me info I need?)

Franko
  • 131
  • 1
  • 10

1 Answers1

2

Use the scriptLibrary included in WAS version 8:

AdminApplication.listApplications()

Returns: List of the available application names in the respective cell.

trikelef
  • 2,192
  • 1
  • 22
  • 39