Spherus.biz Home          
WebSphere Application Server wsadmin.sh AdminConfig
AdminConfig is used to configure the environments. Configuration of JDBC and JMS resources are typical AdminConfig functions.

Some of the more usefull functions are:

  • create
  • getid
  • getObjectName
  • list
  • modify
  • remove
  • save
  • help
To execute the commands use the following:

JACL

 
$AdminConfig <command>
 

Jython

 
AdminConfig.<command>()
 

An example of creating a JDBC datasource:

JACL

 
set jdbc1 [$AdminConfig getid /JDBCProvider:jdbc1/]
$AdminConfig create DataSource $jdbc1 {{name ds1}}
 

Jython

 
jdbc1 = AdminConfig.getid('/JDBCProvider:jdbc1/')
print AdminConfig.create('DataSource', jdbc1, '[[name ds1]]')
 

For more details please refer to the IBM WebSphere Application Server InfoCentre