Date Created: Tue 21-Dec-2010

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/



How to find help for Jython in wsadmin

wsadmin>print AdminApp.help()

By running the command above, you can see that the help message below is produced. And by reading the help you can find this line

information about each of these commands is available by using the
"help" command of AdminApp and supplying the name of the command
as an argument.


Running the following command: print AdminApp.help('install') you will get specific help on the install command of AdminApp.
======================

WASX7095I: The AdminApp object allows application objects to be manipulated
-- this includes installing, uninstalling, editing, and listing. Most
of the commands supported by AdminApp operate in two modes: the default
mode is one in which AdminApp communicates with the WebSphere server to
accomplish its tasks. A local mode is also possible, in which no
server communication takes place. The local mode operation is invoked
by bringing up the scripting client with no server connected using the
command line "-conntype NONE" option tor setting the
"com.ibm.ws.scripting.connectionType=NONE" property in the
wsadmin.properties.

The following commands are supported by AdminApp; more detailed
information about each of these commands is available by using the
"help" command of AdminApp and supplying the name of the command
as an argument.

deleteUserAndGroupEntries
Deletes all the user/group information for all the roles and
all the user name/password information for RunAs roles for a
given application
edit Edits the properties of an application
editInteractive Edits the properties of an application interactively
export Exports application to a file
exportDDL Exports DDL from application to a directory
exportFile Exports content of a single file from an application to a file
getDeployStatus Returns the combined Deployment status of the application
help Shows help information
install Installs an application, given a file name and an option string
installInteractive
Installs an application in interactive mode, given a file name
and an option string
isAppReady Checks whether the application is ready to be run
list Lists all installed applications
listModules Lists the modules in a specified application
options Shows the options available, for a given file, application,
or in general
publishWSDL Publishs WSDL files for a given application
searchJNDIReferences
Lists application that refers to the given JNDIName on a given
node
taskInfo Shows detailed information pertaining to a given install task
for a given file
uninstall Uninstalls an application, given an application name and
an option string
update Updates an installed application
updateAccessIDs Updates the user/group binding information with accessID
from user registry for a given application
updateInteractive Updates an installed application interactively
view Views an application or module, given an application or
module name


===================== AdminApp.install ======================

WASX7096I: Method: install

Arguments: filename, options

Description: Installs the application in the file specified by
"filename" using the options specified by "options". All required
information must be supplied in the options string; no prompting is
performed.

The AdminApp "options" command may be used to get a list of all
possible options for a given ear file. The AdminApp "help" command
may be used to get more information about each particular option.


===================== AdminApp.options() =====================

wsadmin>print AdminApp.options()
WASX7105I: The following install options are valid for any ear file:

preCompileJSPs
nopreCompileJSPs
distributeApp
nodistributeApp
useMetaDataFromBinary
nouseMetaDataFromBinary
deployejb
nodeployejb
createMBeansForResources
nocreateMBeansForResources
reloadEnabled
noreloadEnabled
deployws
nodeployws
processEmbeddedConfig
noprocessEmbeddedConfig
allowDispatchRemoteInclude
noallowDispatchRemoteInclude
allowServiceRemoteInclude
noallowServiceRemoteInclude
useAutoLink
nouseAutoLink
enableClientModule
noenableClientModule
usedefaultbindings
nousedefaultbindings
defaultbinding.force
allowPermInFilterPolicy
noallowPermInFilterPolicy
verbose
update
update.ignore.old
update.ignore.new
installed.ear.destination
appname
reloadInterval
validateinstall
filepermission
buildVersion
blaname
asyncRequestDispatchType
clientMode
deployejb.rmic
deployejb.dbtype
deployejb.dbschema
deployejb.classpath
deployejb.dbaccesstype
deployejb.sqljclasspath
deployejb.complianceLevel
deployws.classpath
deployws.jardirs
defaultbinding.datasource.jndi
defaultbinding.datasource.username
defaultbinding.datasource.password
defaultbinding.cf.jndi
defaultbinding.cf.resauth
defaultbinding.ejbjndi.prefix
defaultbinding.virtual.host
defaultbinding.strategy.file
target
server
cell
cluster
contextroot
custom

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


  • Linked In
  • Twitter
  • About Me
  • My Blog
  • Contact Me

Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories