AdminApp

 

 


Contents

  1. Overview
  2. Common Commands

 

See Also

  1. Reference
  2. App Install Script

 


Overview

Use AdminApp taskInfo to get task information from ear files.

Valid tasks include:

  1. MapRolesToUsers
  2. MapRunAsRolesToUsers
  3. CorrectUseSystemIdentity
  4. BindJndiForEJBNonMessageBinding
  5. BindJndiForEJBMessageBinding
  6. LateResponseHandlerTask
  7. MapEJBRefToEJB
  8. MapResRefToEJB
  9. CMMResRefBind
  10. MapResEnvRefToRes
  11. DataSourceFor10EJBModules
  12. DataSourceFor20EJBModules
  13. DataSourceFor10CMPBeans
  14. DataSourceFor20CMPBeans
  15. MapWebModToVH
  16. MapModulesToServers
  17. EnsureMethodProtectionFor10EJB
  18. EnsureMethodProtectionFor20EJB
  19. CorrectOracleIsolationLevel
  20. BackendIdSelection
  21. AppDeploymentOptions
  22. EJBDeployOptions
  23. GetServerName
  24. 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}


 

Home