AdminApp
Contents
See Also
Overview
Use AdminApp taskInfo to get task information from ear files.
Valid tasks include:
- MapRolesToUsers
- MapRunAsRolesToUsers
- CorrectUseSystemIdentity
- BindJndiForEJBNonMessageBinding
- BindJndiForEJBMessageBinding
- LateResponseHandlerTask
- MapEJBRefToEJB
- MapResRefToEJB
- CMMResRefBind
- MapResEnvRefToRes
- DataSourceFor10EJBModules
- DataSourceFor20EJBModules
- DataSourceFor10CMPBeans
- DataSourceFor20CMPBeans
- MapWebModToVH
- MapModulesToServers
- EnsureMethodProtectionFor10EJB
- EnsureMethodProtectionFor20EJB
- CorrectOracleIsolationLevel
- BackendIdSelection
- AppDeploymentOptions
- EJBDeployOptions
- GetServerName
- WSDeployOptions
Common Commands
List all applications
set xlist [$AdminApp list]
puts $xlist
List AdminApp options
set xhelp [$Help AdminApp]
puts $xhelp
List AdminConfig options
set xhelp [$Help AdminConfig]
puts $xhelp
List AdminControl options
set xhelp [$Help AdminControl]
puts $xhelp
List configuration objects
set xconfig [$AdminConfig list Server]
puts $xconfig
List all available JDBC templates
set ojdbc [$AdminConfig listTemplates JDBCProvider]
puts $ojdbc
List Oracle JDBC templates
set xoracle [$AdminConfig listTemplates JDBCProvider Oracle]
puts $xoracle
set xoracle1 [lindex $xoracle 0]
set xoracle2 [$AdminConfig show $xoracle1]
puts $xoracle2
List Server templates
set servert [$AdminConfig listTemplates Server]
puts $servert
List options for an ear file
set xoptions [$AdminApp options /usr/local/wsdev3/acme.ear]
puts $xoptions
Get description of an option
set xoptions [$AdminApp help optionname]
puts $xoptions
Install applicaiton
$AdminApp install /path/to/app/appname {-server server3}