_asadmin 47.7 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
#compdef asadmin
#autoload

local -a _1st_arguments
_1st_arguments=(
    "add-library:adds one or more library JAR files to GlassFish Server"
    "add-resources:creates the resources specified in an XML file"
    "apply-http-lb-changes:applies load balancer configuration changes to the load balancer"
    "backup-domain:performs a backup on the domain"
    "change-admin-password:changes the administrator password"
    "change-master-broker:changes the master broker in a Message Queue cluster providing JMS services for a GlassFish Server cluster."
    "change-master-password:changes the master password"
    "collect-log-files:creates a ZIP archive of all available log files"
    "configure-jms-cluster:configures the Message Queue cluster providing JMS services to a GlassFish Server cluster"
    "configure-lb-weight:sets load balancing weights for clustered instances"
    "configure-ldap-for-admin:configures the authentication realm named admin-realm for the given LDAP"
    "copy-config:copies an existing named configuration to create another configuration"
    "create-admin-object:adds the administered object with the specified JNDI name for a resource adapter"
    "create-application-ref:creates a reference to an application"
    "create-audit-module:adds an audit module"
    "create-auth-realm:adds the named authentication realm"
    "create-cluster:creates a GlassFish Server cluster"
    "create-connector-connection-pool:adds a connection pool with the specified connection pool name"
    "create-connector-resource:registers the connector resource with the specified JNDI name"
    "create-connector-security-map:creates a security map for the specified connector connection pool"
    "create-connector-work-security-map:creates a work security map for the specified resource adapter"
    "create-custom-resource:creates a custom resource"
    "create-domain:creates a domain"
    "create-file-user:creates a new file user"
    "create-http:sets HTTP parameters for a protocol"
    "create-http-health-checker:creates a health-checker for a specified load balancer configuration"
    "create-http-lb:creates a load balancer"
    "create-http-lb-config:creates a configuration for the load balancer"
    "create-http-lb-ref:adds an existing cluster or server instance to an existing load balancer configuration or load balancer"
    "create-http-listener:adds a new HTTP network listener socket"
    "create-http-redirect:adds a new HTTP redirect"
    "create-iiop-listener:adds an IIOP listener"
    "create-instance:creates a GlassFish Server instance"
    "create-jacc-provider:enables administrators to create a JACC provider that can be used by third-party authorization modules for applications running in GlassFish Server"
    "create-javamail-resource:creates a JavaMail session resource"
    "create-jdbc-connection-pool:registers a JDBC connection pool"
    "create-jdbc-resource:creates a JDBC resource with the specified JNDI name"
    "create-jms-host:creates a JMS host"
    "create-jms-resource:creates a JMS resource"
    "create-jmsdest:creates a JMS physical destination"
    "create-jndi-resource:registers a JNDI resource"
    "create-jvm-options:creates options for the Java application launcher"
    "create-lifecycle-module:creates a lifecycle module"
    "create-local-instance:creates a GlassFish Server instance on the host where the subcommand is run"
    "create-message-security-provider:enables administrators to create a message security provider, which specifies how SOAP messages will be secured."
    "create-network-listener:adds a new network listener socket"
    "create-node-config:creates a node that is not enabled for remote communication"
    "create-node-dcom:creates a node that is enabled for com munication over DCOM"
    "create-node-ssh:creates a node that is enabled for communication over SSH"
    "create-password-alias:creates a password alias"
    "create-profiler:creates the profiler element"
    "create-protocol:adds a new protocol"
    "create-protocol-filter:adds a new protocol filter"
    "create-protocol-finder:adds a new protocol finder"
    "create-resource-adapter-config:creates the configuration information for the connector module"
    "create-resource-ref:creates a reference to a resource"
    "create-service:configures the starting of a DAS or a GlassFish Server instance on an unattended boot"
    "create-ssl:creates and configures the SSL element in the selected HTTP listener, IIOP listener, or IIOP service"
    "create-system-properties:adds one or more system property elements that can be referenced elsewhere in the configuration."
    "create-threadpool:adds a thread pool"
    "create-transport:adds a new transport"
    "create-virtual-server:creates the named virtual server"
    "delete-admin-object:removes the administered object with the specified JNDI name."
    "delete-application-ref:removes a reference to an applica tion"
    "delete-audit-module:removes the named audit-module"
    "delete-auth-realm:removes the named authentication realm"
    "delete-cluster:deletes a GlassFish Server cluster"
    "delete-config:deletes an existing named configuration"
    "delete-connector-connection-pool:removes the specified connector connection pool"
    "delete-connector-resource:removes the connector resource with the specified JNDI name"
    "delete-connector-security-map:deletes a security map for the specified connector connection pool"
    "delete-connector-work-security-map:deletes a work security map for the specified resource adapter"
    "delete-custom-resource:removes a custom resource"
    "delete-domain:deletes a domain"
    "delete-file-user:removes the named file user"
    "delete-http:removes HTTP parameters from a protocol"
    "delete-http-health-checker:deletes the health-checker for a specified load balancer configuration"
    "delete-http-lb:deletes a load balancer"
    "delete-http-lb-config:deletes a load balancer configuration"
    "delete-http-lb-ref:deletes the cluster or server instance from a load balancer"
    "delete-http-listener:removes a network listener"
    "delete-http-redirect:removes an HTTP redirect"
    "delete-iiop-listener:removes an IIOP listener"
    "delete-instance:deletes a GlassFish Server instance"
    "delete-jacc-provider:enables administrators to delete JACC providers defined for a domain"
    "delete-javamail-resource:removes a JavaMail session resource"
    "delete-jdbc-connection-pool:removes the specified JDBC connection pool"
    "delete-jdbc-resource:removes a JDBC resource with the specified JNDI name"
    "delete-jms-host:removes a JMS host"
    "delete-jms-resource:removes a JMS resource"
    "delete-jmsdest:removes a JMS physical destination"
    "delete-jndi-resource:removes a JNDI resource"
    "delete-jvm-options:removes one or more options for the Java application launcher"
    "delete-lifecycle-module:removes the lifecycle module"
    "delete-local-instance:deletes a GlassFish Server instance on the machine where the subcommand is run"
    "delete-log-levels:"
    "delete-message-security-provider:enables administrators to delete a message security provider"
    "delete-network-listener:removes a network listener"
    "delete-node-config:deletes a node that is not enabled for remote communication"
    "delete-node-dcom:deletes a node that is enabled for communication over DCOM"
    "delete-node-ssh:deletes a node that is enabled for communication over SSH"
    "delete-password-alias:deletes a password alias"
    "delete-profiler:removes the profiler element"
    "delete-protocol:removes a protocol"
    "delete-protocol-filter:removes a protocol filter"
    "delete-protocol-finder:removes a protocol finder"
    "delete-resource-adapter-config:deletes the resource adapter configuration"
    "delete-resource-ref:removes a reference to a resource"
    "delete-ssl:deletes the SSL element in the selected HTTP listener, IIOP listener, or IIOP service"
    "delete-system-property:removes a system property of the domain, configuration, cluster, or server instance, one at a time"
    "delete-threadpool:removes a thread pool"
    "delete-transport:removes a transport"
    "delete-virtual-server:removes a virtual server"
    "deploy:deploys the specified component"
    "deploydir:deploys an exploded format of application archive"
    "environment variable"
    "disable:disables the component"
    "disable-http-lb-application:disables an application managed by a load balancer"
    "disable-http-lb-server:disables a sever or cluster managed by a load balancer"
    "disable-monitoring:disables monitoring for the server or for specific monitorable modules"
    "disable-secure-admin:disables secure admin if it is already enabled."
    "disable-secure-admin-internal-user:Instructs the GlassFish Server DAS and instances to not use the specified admin user to authenticate with each other and to authorize admin operations."
    "disable-secure-admin-principal:disables the certificate for authorizing access in secure administration."
    "enable:enables the component"
    "enable-http-lb-application:enables a previously-disabled application managed by a load balancer"
    "enable-http-lb-server:enables a previously disabled sever or cluster managed by a load balancer"
    "enable-monitoring:enables monitoring for the server or for specific monitorable modules"
    "enable-secure-admin:enables secure admin (if it is not already enabled), optionally changing the alias used for DAS-to-instance admin messages or the alias used for instance-to-DAS admin messages."
    "enable-secure-admin-internal-user:Instructs the GlassFish Server DAS and instances to use the specified admin user and the password associated with the password alias to authenticate with each other and to authorize admin operations."
    "enable-secure-admin-principal:Instructs GlassFish Server, when secure admin is enabled, to accept admin requests from clients identified by the specified SSL certificate."
    "export:marks a variable name for automatic export to the environment of subsequent commands in multimode"
    "export-http-lb-config:exports the load balancer configuration or load balancer to a file"
    "export-sync-bundle:exports the configuration data of a cluster or standalone instance to an archive file"
    "flush-connection-pool:reintializes all connections established in the specified connection pool"
    "flush-jmsdest:purges messages in a JMS destination."
    "freeze-transaction-service:freezes the transaction subsystem"
    "generate-domain-schema:"
    "generate-jvm-report:shows the JVM machine statistics for a given target instance"
    "get:gets the values of configurable or monitorable attributes"
    "get-client-stubs:retrieves the application JAR files needed to launch the application client."
    "get-health:provides information on the cluster health"
    "asadmin:utility for performing administrative tasks for Oracle GlassFish Server"
    "import-sync-bundle:imports the configuration data of a clustered instance or standalone instance from an archive file"
    "install-node:installs GlassFish Server software on specified SSH-enabled hosts"
    "install-node-dcom:installs GlassFish Server software on specified DCOM-enabled hosts"
    "install-node-ssh:installs GlassFish Server software on specified SSH-enabled hosts"
    "jms-ping:checks if the JMS service is up and running"
    "list:lists configurable or monitorable elements"
    "list-admin-objects:gets all the administered objects"
    "list-application-refs:lists the existing application references"
    "list-applications:lists deployed applications"
    "list-audit-modules:gets all audit modules and displays them"
    "list-auth-realms:lists the authentication realms"
    "list-backups:lists all backups"
    "list-clusters:lists existing clusters in a domain"
    "list-commands:lists available commands"
    "list-components:lists deployed components"
    "list-configs:lists named configurations"
    "list-connector-connection-pools:lists the existing connector connection pools"
    "list-connector-resources:lists all connector resources"
    "list-connector-security-maps:lists the security maps belonging to the specified connector connection pool"
    "list-connector-work-security-maps:lists the work security maps belonging to the specified resource adapter"
    "list-containers:lists application containers"
    "list-custom-resources:gets all custom resources"
    "list-domains:lists the domains in the specified directory"
    "list-file-groups:lists file groups"
    "list-file-users:lists the file users"
    "list-http-lb-configs:lists load balancer configurations"
    "list-http-lbs:lists load balancers"
    "list-http-listeners:lists the existing network listeners"
    "list-iiop-listeners:lists the existing IIOP listeners"
    "list-instances:lists GlassFish Server instances in a domain"
    "list-jacc-providers:enables administrators to list JACC providers defined for a domain"
    "list-javamail-resources:lists the existing JavaMail session resources"
    "list-jdbc-connection-pools:lists all JDBC connection pools"
    "list-jdbc-resources:lists all JDBC resources"
    "list-jms-hosts:lists the existing JMS hosts"
    "list-jms-resources:lists the JMS resources"
    "list-jmsdest:lists the existing JMS physical destinations"
    "list-jndi-entries:browses and queries the JNDI tree"
    "list-jndi-resources:lists all existing JNDI resources"
    "list-jvm-options:lists options for the Java application launcher"
    "list-libraries:lists library JAR files on GlassFish Server"
    "list-lifecycle-modules:lists the lifecycle modules"
    "list-log-attributes:lists all logging attributes defined for a specified target in a domain"
    "list-log-levels:lists the loggers and their log levels"
    "list-message-security-providers:lists all security message providers for the given message layer"
    "list-modules:lists GlassFish Server modules"
    "list-network-listeners:lists the existing network listeners"
    "list-nodes:lists all GlassFish Server nodes in a domain"
    "list-nodes-config:lists all GlassFish Server nodes that do not support remote communication in a domain"
    "list-nodes-dcom:lists all GlassFish Server nodes that support communication over DCOM in a domain"
    "list-nodes-ssh:lists all GlassFish Server nodes that support communication over SSH in a domain"
    "list-password-aliases:lists all password aliases"
    "list-persistence-types:lists registered persistence types for HTTP sessions and SFSB instances"
    "list-protocol-filters:lists the existing protocol filters"
    "list-protocol-finders:lists the existing protocol finders"
    "list-protocols:lists the existing protocols"
    "list-resource-adapter-configs:lists the names of the current resource adapter configurations"
    "list-resource-refs:lists existing resource references"
    "list-secure-admin-internal-users:lists the user names that the GlassFish Server DAS and instances use to authenticate with each other and to authorize admin operations."
    "list-secure-admin-principals:lists the certificates for which GlassFish Server accepts admin requests from clients."
    "list-sub-components:lists EJB or servlet components in a deployed module or module of a deployed application"
    "list-supported-cipher-suites:enables administrators to list the cipher suites that are supported and available to a specified GlassFish Server target"
    "list-system-properties:lists the system properties of the domain, configuration, cluster, or server instance"
    "list-threadpools:lists all the thread pools"
    "list-timers:lists all of the persistent timers owned by server instance(s)"
    "list-transports:lists the existing transports"
    "list-virtual-servers:lists the existing virtual servers"
    "list-web-context-param:lists servlet contextinitialization parameters of a deployed web application or module"
    "list-web-env-entry:lists environment entries for a deployed web application or module"
    "login:logs you into a domain"
    "migrate-timers:moves EJB timers when a clustered instance was stopped or has crashed"
    "monitor:displays monitoring data for commonly used components and services"
    "multimode:allows multiple subcommands to be run while preserving environment settings and remaining in the asadmin utility"
    "ping-connection-pool:tests if a connection pool is usable"
    "ping-node-dcom:tests if a node that is enabled for communication over DCOM is usable"
    "ping-node-ssh:tests if a node that is enabled for communication over SSH is usable"
    "recover-transactions:manually recovers pending transactions"
    "redeploy:redeploys the specified component"
    "remove-library:removes one or more library JAR files from GlassFish Server"
    "restart-domain:restarts the DAS of the specified domain"
    "restart-instance:restarts a running GlassFish Server instance"
    "restart-local-instance:restarts a running GlassFish Server instance on the host where the subcommand is run"
    "restore-domain:restores files from backup"
    "rollback-transaction:rolls back the named transaction"
    "rotate-log:rotates the log file"
    "set:sets the values of configurable attributes"
    "set-log-attributes:sets the logging attributes for one or more loggers"
    "set-log-levels:sets the log level for one or more loggers"
    "set-web-context-param:sets a servlet context initialization parameter of a deployed web application or module"
    "set-web-env-entry:sets an environment entry for a deployed web application or module"
    "setup-ssh:sets up an SSH key on specified hosts"
    "show-component-status:displays the status of the deployed component"
    "start-cluster:starts a cluster"
    "start-database:starts the Java DB"
    "start-domain:starts the DAS of the specified domain"
    "start-instance:starts a GlassFish Server instance"
    "start-local-instance:starts a GlassFish Server instance on the host where the subcommand is run"
    "stop-cluster:stops a GlassFish Server cluster"
    "stop-database:stops the Java DB"
    "stop-domain:stops the Domain Administration Server of the specified domain"
    "stop-instance:stops a running GlassFish Server instance"
    "stop-local-instance:stops a GlassFish Server instance on the machine where the subcommand is run"
    "undeploy:removes a deployed component"
    "unfreeze-transaction-service:resumes all suspended transactions"
    "uninstall-node:uninstalls GlassFish Server software from specified hosts"
    "uninstall-node-dcom:uninstalls GlassFish Server software from specified DCOM-enabled hosts"
    "uninstall-node-ssh:uninstalls GlassFish Server software from specified SSH-enabled hosts"
    "unset:removes one or more variables from the multimode environment"
    "unset-web-context-param:unsets a servlet context initialization parameter of a deployed web application or module"
    "unset-web-env-entry:unsets an environment entry for a deployed web application or module"
    "update-connector-security-map:modifies a security map for the specified connector connection pool"
    "update-connector-work-security-map:modifies a work security map for the specified resource adapter"
    "update-file-user:updates a current file user as specified"
    "update-node-config:updates the configuration data of anode"
    "update-node-dcom:updates the configuration data of a node"
    "update-node-ssh:updates the configuration data of a node"
    "update-password-alias:updates a password alias"
    "uptime:returns the length of time that the DAS has been running"
    "validate-dcom:tests the connection over DCOM to a remote host"
    "validate-multicast:validates that multicast transport is available for clusters"
    "verify-domain-xml:verifies the content of the domain.xml file"
    "version:displays version information forGlassFish Server"
)

_arguments '*:: :->command'

if (( CURRENT == 1 )); then
fred-o's avatar
fred-o committed
275
    _describe -t commands "asadmin command" _1st_arguments
276
277
278
279
280
    return
fi

local -a _command_args
case "$words[1]" in
281
	add-library)
282
		_command_args=('*:directory:_files' '--type+:type:(common ext app)')
283
284
	;;
	add-resources)
285
		_command_args=('*:directory:_files' '--target+:')
286
287
	;;
	apply-http-lb-changes)
fred-o's avatar
fred-o committed
288
		_command_args=('--ping+:')
289
290
	;;
	backup-domain)
fred-o's avatar
fred-o committed
291
		_command_args=('--backupconfig+:' '--backupdir+:' '--description+:' '--domaindir+:' '--long+:long:(true false)')
292
293
	;;
	change-admin-password)
fred-o's avatar
fred-o committed
294
		_command_args=('--domain_name+:' '--domaindir+:')
295
296
	;;
	change-master-password)
fred-o's avatar
fred-o committed
297
		_command_args=('--domaindir+:' '--nodedir+:' '--savemasterpassword+:savemasterpassword:(true false)')
298
299
	;;
	collect-log-files)
fred-o's avatar
fred-o committed
300
		_command_args=('--retrieve+:retrieve:(true false)' '--target+:')
301
302
	;;
	configure-jms-cluster)
fred-o's avatar
fred-o committed
303
		_command_args=('--clustertype+:' '--configstoretype+:' '--dburl+:' '--dbuser+:' '--dbvendor+:' '--jmsdbpassword+:' '--messagestoretype+:' '--property+:')
304
305
	;;
	configure-lb-weight)
fred-o's avatar
fred-o committed
306
		_command_args=('--cluster+:')
307
308
	;;
	configure-ldap-for-admin)
fred-o's avatar
fred-o committed
309
		_command_args=('--basedn+:' '--ldap-group+:' '--target+:' '--url+:')
310
311
	;;
	copy-config)
fred-o's avatar
fred-o committed
312
		_command_args=('--systemproperties+:')
313
314
	;;
	create-admin-object)
fred-o's avatar
fred-o committed
315
		_command_args=('--classname+:' '--description+:' '--enabled+:enabled:(true false)' '--property+:' '--raname+:' '--restype+:' '--target+:')
316
317
	;;
	create-application-ref)
fred-o's avatar
fred-o committed
318
		_command_args=('--enabled+:enabled:(true false)' '--lbenabled+:lbenabled:(true false)' '--target+:' '--virtualservers+:')
319
320
	;;
	create-audit-module)
fred-o's avatar
fred-o committed
321
		_command_args=('--classname+:' '--property+:' '--target+:')
322
323
	;;
	create-auth-realm)
fred-o's avatar
fred-o committed
324
		_command_args=('--classname+:' '--property+:' '--target+:')
325
326
	;;
	create-connector-connection-pool)
fred-o's avatar
fred-o committed
327
		_command_args=('--associatewiththread+:associatewiththread:(true false)' '--connectiondefinition+:' '--creationretryattempts+:' '--creationretryinterval+:' '--description+:' '--failconnection+:failconnection:(true false)' '--idletimeout+:' '--isconnectvalidatereq+:isconnectvalidatereq:(true false)' '--lazyconnectionassociation+:lazyconnectionassociation:(true false)' '--lazyconnectionenlistment+:lazyconnectionenlistment:(true false)' '--leakreclaim+:leakreclaim:(true false)' '--leaktimeout+:' '--matchconnections+:matchconnections:(true false)' '--maxconnectionusagecount+:' '--maxpoolsize+:' '--maxwait+:' '--ping+:ping:(true false)' '--pooling+:pooling:(true false)' '--poolresize+:' '--property+:' '--raname+:' '--steadypoolsize+:' '--target+:' '--transactionsupport+:transactionsupport:(XATransaction LocalTransaction NoTransaction)' '--validateatmostonceperiod+:')
328
329
	;;
	create-connector-resource)
fred-o's avatar
fred-o committed
330
		_command_args=('--description+:' '--enabled+:enabled:(true false)' '--objecttype+:' '--poolname+:' '--property+:' '--target+:')
331
332
	;;
	create-connector-security-map)
fred-o's avatar
fred-o committed
333
		_command_args=('--mappedpassword+:' '--mappedusername+:' '--poolname+:' '--principals+:' '--target+:' '--usergroups+:')
334
335
	;;
	create-connector-work-security-map)
fred-o's avatar
fred-o committed
336
		_command_args=('--description+:' '--groupsmap+:' '--principalsmap+:' '--raname+:')
337
338
	;;
	create-custom-resource)
fred-o's avatar
fred-o committed
339
		_command_args=('--description+:' '--enabled+:enabled:(true false)' '--factoryclass+:' '--property+:' '--restype+:' '--target+:')
340
341
	;;
	create-domain)
fred-o's avatar
fred-o committed
342
		_command_args=('--adminport+:' '--checkports+:checkports:(true false)' '--domaindir+:' '--domainproperties+:' '--instanceport+:' '--keytooloptions+:' '--nopassword+:nopassword:(true false)' '--portbase+:' '--profile+:' '--savelogin+:savelogin:(true false)' '--savemasterpassword+:savemasterpassword:(true false)' '--template+:' '--usemasterpassword+:usemasterpassword:(true false)')
343
344
	;;
	create-file-user)
fred-o's avatar
fred-o committed
345
		_command_args=('--authrealmname+:' '--groups+:' '--target+:' '--userpassword+:')
346
347
	;;
	create-http)
fred-o's avatar
fred-o committed
348
		_command_args=('--default-virtual-server+:' '--dns-lookup-enabled+:dns-lookup-enabled:(true false)' '--max-connection+:' '--request-timeout-seconds+:' '--servername+:' '--target+:' '--timeout-seconds+:' '--xpowered+:xpowered:(true false)')
349
350
	;;
	create-http-health-checker)
fred-o's avatar
fred-o committed
351
		_command_args=('--config+:' '--interval+:' '--timeout+:' '--url+:')
352
353
	;;
	create-http-lb)
fred-o's avatar
fred-o committed
354
		_command_args=('--autoapplyenabled+:autoapplyenabled:(true false)' '--devicehost+:' '--deviceport+:' '--healthcheckerinterval+:' '--healthcheckertimeout+:' '--healthcheckerurl+:' '--httpsrouting+:httpsrouting:(true false)' '--lbenableallapplications+:' '--lbenableallinstances+:' '--lbpolicy+:' '--lbpolicymodule+:' '--lbweight+:' '--monitor+:monitor:(true false)' '--property+:' '--reloadinterval+:' '--responsetimeout+:' '--routecookie+:routecookie:(true false)' '--sslproxyhost+:' '--sslproxyport+:' '--target+:')
355
356
	;;
	create-http-lb-ref)
fred-o's avatar
fred-o committed
357
		_command_args=('--config+:' '--healthcheckerinterval+:' '--healthcheckertimeout+:' '--healthcheckerurl+:' '--lbenableallapplications+:' '--lbenableallinstances+:' '--lbname+:' '--lbpolicy+:' '--lbpolicymodule+:' '--lbweight+:')
358
359
	;;
	create-http-listener)
fred-o's avatar
fred-o committed
360
		_command_args=('--acceptorthreads+:' '--default-virtual-server+:' '--defaultvs+:' '--enabled+:enabled:(true false)' '--listeneraddress+:' '--listenerport+:' '--redirectport+:' '--secure+:secure:(true false)' '--securityenabled+:securityenabled:(true false)' '--servername+:' '--target+:' '--xpowered+:xpowered:(true false)')
361
362
	;;
	create-http-redirect)
fred-o's avatar
fred-o committed
363
		_command_args=('--redirect-port+:' '--secure-redirect+:' '--target+:')
364
365
	;;
	create-iiop-listener)
fred-o's avatar
fred-o committed
366
		_command_args=('--enabled+:enabled:(true false)' '--iiopport+:' '--listeneraddress+:' '--property+:' '--securityenabled+:securityenabled:(true false)' '--target+:')
367
368
	;;
	create-instance)
fred-o's avatar
fred-o committed
369
		_command_args=('--checkports+:checkports:(true false)' '--cluster+:' '--config+:' '--lbenabled+:lbenabled:(true false)' '--node+:' '--portbase+:' '--systemproperties+:' '--terse+:terse:(true false)')
370
371
	;;
	create-jacc-provider)
fred-o's avatar
fred-o committed
372
		_command_args=('--policyconfigfactoryclass+:' '--policyproviderclass+:' '--property+:' '--target+:')
373
374
	;;
	create-javamail-resource)
fred-o's avatar
fred-o committed
375
		_command_args=('--debug+:debug:(true false)' '--description+:' '--enabled+:enabled:(true false)' '--fromaddress+:' '--mailhost+:' '--mailuser+:' '--property+:' '--storeprotocol+:' '--storeprotocolclass+:' '--target+:' '--transprotocol+:' '--transprotocolclass+:')
376
377
	;;
	create-jdbc-connection-pool)
fred-o's avatar
fred-o committed
378
		_command_args=('--allownoncomponentcallers+:allownoncomponentcallers:(true false)' '--associatewiththread+:associatewiththread:(true false)' '--creationretryattempts+:' '--creationretryinterval+:' '--datasourceclassname+:' '--description+:' '--driverclassname+:' '--failconnection+:failconnection:(true false)' '--idletimeout+:' '--initsql+:' '--isconnectvalidatereq+:isconnectvalidatereq:(true false)' '--isisolationguaranteed+:isisolationguaranteed:(true false)' '--isolationlevel+:' '--lazyconnectionassociation+:lazyconnectionassociation:(true false)' '--lazyconnectionenlistment+:lazyconnectionenlistment:(true false)' '--leakreclaim+:leakreclaim:(true false)' '--leaktimeout+:' '--matchconnections+:matchconnections:(true false)' '--maxconnectionusagecount+:' '--maxpoolsize+:' '--maxwait+:' '--nontransactionalconnections+:nontransactionalconnections:(true false)' '--ping+:ping:(true false)' '--pooling+:pooling:(true false)' '--poolresize+:' '--property+:' '--restype+:restype:(javax.sql.DataSource javax.sql.XADataSource javax.sql.ConnectionPoolDataSource java.sql.Driver)' '--sqltracelisteners+:' '--statementcachesize+:' '--statementleakreclaim+:statementleakreclaim:(true false)' '--statementleaktimeout+:' '--statementtimeout+:' '--steadypoolsize+:' '--target+:' '--validateatmostonceperiod+:' '--validationclassname+:' '--validationmethod+:validationmethod:(auto-commit meta-data table custom-validation)' '--validationtable+:' '--wrapjdbcobjects+:wrapjdbcobjects:(true false)')
379
380
	;;
	create-jdbc-resource)
fred-o's avatar
fred-o committed
381
		_command_args=('--connectionpoolid+:' '--description+:' '--enabled+:enabled:(true false)' '--property+:' '--target+:')
382
383
	;;
	create-jms-host)
fred-o's avatar
fred-o committed
384
		_command_args=('--mqhost+:' '--mqpassword+:' '--mqport+:' '--mquser+:' '--property+:' '--target+:')
385
386
	;;
	create-jms-resource)
fred-o's avatar
fred-o committed
387
		_command_args=('--description+:' '--enabled+:enabled:(true false)' '--property+:' '--restype+:' '--target+:')
388
389
	;;
	create-jmsdest)
fred-o's avatar
fred-o committed
390
		_command_args=('--desttype+:' '--property+:' '--target+:')
391
392
	;;
	create-jndi-resource)
fred-o's avatar
fred-o committed
393
		_command_args=('--description+:' '--enabled+:enabled:(true false)' '--factoryclass+:' '--jndilookupname+:' '--property+:' '--restype+:' '--target+:')
394
395
	;;
	create-jvm-options)
fred-o's avatar
fred-o committed
396
		_command_args=('--profiler+:profiler:(true false)' '--target+:')
397
398
	;;
	create-lifecycle-module)
fred-o's avatar
fred-o committed
399
		_command_args=('--classname+:' '--classpath+:' '--description+:' '--enabled+:enabled:(true false)' '--failurefatal+:failurefatal:(true false)' '--loadorder+:' '--property+:' '--target+:')
400
401
	;;
	create-local-instance)
fred-o's avatar
fred-o committed
402
		_command_args=('--checkports+:checkports:(true false)' '--cluster+:' '--config+:' '--lbenabled+:lbenabled:(true false)' '--node+:' '--nodedir+:' '--portbase+:' '--savemasterpassword+:savemasterpassword:(true false)' '--systemproperties+:' '--usemasterpassword+:usemasterpassword:(true false)')
403
404
	;;
	create-message-security-provider)
fred-o's avatar
fred-o committed
405
		_command_args=('--classname+:' '--isdefaultprovider+:isdefaultprovider:(true false)' '--layer+:layer:(SOAP HttpServlet)' '--property+:' '--providertype+:providertype:(client server client-server)' '--requestauthrecipient+:' '--requestauthsource+:' '--responseauthrecipient+:' '--responseauthsource+:' '--target+:')
406
407
	;;
	create-network-listener)
fred-o's avatar
fred-o committed
408
		_command_args=('--address+:' '--enabled+:enabled:(true false)' '--jkenabled+:jkenabled:(true false)' '--listenerport+:' '--protocol+:' '--target+:' '--threadpool+:' '--transport+:')
409
410
	;;
	create-node-config)
fred-o's avatar
fred-o committed
411
		_command_args=('--installdir+:' '--nodedir+:' '--nodehost+:')
412
413
	;;
	create-node-dcom)
fred-o's avatar
fred-o committed
414
		_command_args=('--archive+:' '--force+:force:(true false)' '--install+:install:(true false)' '--installdir+:' '--nodedir+:' '--nodehost+:' '--windowsdomain+:' '--windowspassword+:' '--windowsuser+:')
415
416
	;;
	create-node-ssh)
fred-o's avatar
fred-o committed
417
		_command_args=('--archive+:' '--force+:force:(true false)' '--install+:install:(true false)' '--installdir+:' '--nodedir+:' '--nodehost+:' '--sshkeyfile+:' '--sshkeypassphrase+:' '--sshpassword+:' '--sshport+:' '--sshuser+:')
418
419
	;;
	create-password-alias)
fred-o's avatar
fred-o committed
420
		_command_args=('--aliaspassword+:')
421
422
	;;
	create-profiler)
fred-o's avatar
fred-o committed
423
		_command_args=('--classpath+:' '--enabled+:enabled:(true false)' '--nativelibrarypath+:' '--property+:' '--target+:')
424
425
	;;
	create-protocol)
fred-o's avatar
fred-o committed
426
		_command_args=('--securityenabled+:securityenabled:(true false)' '--target+:')
427
428
	;;
	create-protocol-filter)
fred-o's avatar
fred-o committed
429
		_command_args=('--classname+:' '--protocol+:' '--target+:')
430
431
	;;
	create-protocol-finder)
fred-o's avatar
fred-o committed
432
		_command_args=('--classname+:' '--protocol+:' '--target+:' '--targetprotocol+:')
433
434
	;;
	create-resource-adapter-config)
fred-o's avatar
fred-o committed
435
		_command_args=('--objecttype+:' '--property+:' '--target+:' '--threadpoolid+:')
436
437
	;;
	create-resource-ref)
fred-o's avatar
fred-o committed
438
		_command_args=('--enabled+:enabled:(true false)' '--target+:')
439
440
	;;
	create-service)
441
		_command_args=('--domaindir+:domaindir:directory:_files' '--dry-run+:dry-run:(true false)' '--force+:force:(true false)' '--name+:' '--node+:' '--nodedir+:' '--serviceproperties+:' '--serviceuser+:')
442
443
	;;
	create-ssl)
fred-o's avatar
fred-o committed
444
		_command_args=('--certname+:' '--clientauthenabled+:clientauthenabled:(true false)' '--ssl2ciphers+:' '--ssl2enabled+:ssl2enabled:(true false)' '--ssl3enabled+:ssl3enabled:(true false)' '--ssl3tlsciphers+:' '--target+:' '--tlsenabled+:tlsenabled:(true false)' '--tlsrollbackenabled+:tlsrollbackenabled:(true false)' '--type+:type:(network-listener http-listener iiop-listener iiop-service jmx-connector)')
445
446
	;;
	create-system-properties)
fred-o's avatar
fred-o committed
447
		_command_args=('--target+:')
448
449
	;;
	create-threadpool)
fred-o's avatar
fred-o committed
450
		_command_args=('--idletimeout+:' '--maxqueuesize+:' '--maxthreadpoolsize+:' '--minthreadpoolsize+:' '--target+:' '--workqueues+:')
451
452
	;;
	create-transport)
fred-o's avatar
fred-o committed
453
		_command_args=('--acceptorthreads+:' '--buffersizebytes+:' '--bytebuffertype+:' '--classname+:' '--displayconfiguration+:displayconfiguration:(true false)' '--enablesnoop+:enablesnoop:(true false)' '--idlekeytimeoutseconds+:' '--maxconnectionscount+:' '--readtimeoutmillis+:' '--selectionkeyhandler+:' '--selectorpolltimeoutmillis+:' '--target+:' '--tcpnodelay+:tcpnodelay:(true false)' '--writetimeoutmillis+:')
454
455
	;;
	create-virtual-server)
fred-o's avatar
fred-o committed
456
		_command_args=('--defaultwebmodule+:' '--hosts+:' '--httplisteners+:' '--logfile+:' '--networklisteners+:' '--property+:' '--state+:state:(on off disabled)' '--target+:')
457
458
	;;
	delete-admin-object)
fred-o's avatar
fred-o committed
459
		_command_args=('--target+:')
460
461
	;;
	delete-application-ref)
fred-o's avatar
fred-o committed
462
		_command_args=('--cascade+:cascade:(true false)' '--target+:')
463
464
	;;
	delete-audit-module)
fred-o's avatar
fred-o committed
465
		_command_args=('--target+:')
466
467
	;;
	delete-auth-realm)
fred-o's avatar
fred-o committed
468
		_command_args=('--target+:')
469
470
	;;
	delete-connector-connection-pool)
fred-o's avatar
fred-o committed
471
		_command_args=('--cascade+:cascade:(true false)' '--target+:')
472
473
	;;
	delete-connector-resource)
fred-o's avatar
fred-o committed
474
		_command_args=('--target+:')
475
476
	;;
	delete-connector-security-map)
fred-o's avatar
fred-o committed
477
		_command_args=('--poolname+:' '--target+:')
478
479
	;;
	delete-connector-work-security-map)
fred-o's avatar
fred-o committed
480
		_command_args=('--raname+:')
481
482
	;;
	delete-custom-resource)
fred-o's avatar
fred-o committed
483
		_command_args=('--target+:')
484
485
	;;
	delete-domain)
fred-o's avatar
fred-o committed
486
		_command_args=('--domaindir+:')
487
488
	;;
	delete-file-user)
fred-o's avatar
fred-o committed
489
		_command_args=('--authrealmname+:' '--target+:')
490
491
	;;
	delete-http)
fred-o's avatar
fred-o committed
492
		_command_args=('--target+:')
493
494
	;;
	delete-http-health-checker)
fred-o's avatar
fred-o committed
495
		_command_args=('--config+:')
496
497
	;;
	delete-http-lb-ref)
fred-o's avatar
fred-o committed
498
		_command_args=('--config+:' '--force+:' '--lbname+:')
499
500
	;;
	delete-http-listener)
fred-o's avatar
fred-o committed
501
		_command_args=('--secure+:' '--target+:')
502
503
	;;
	delete-http-redirect)
fred-o's avatar
fred-o committed
504
		_command_args=('--target+:')
505
506
	;;
	delete-iiop-listener)
fred-o's avatar
fred-o committed
507
		_command_args=('--target+:')
508
509
	;;
	delete-instance)
fred-o's avatar
fred-o committed
510
		_command_args=('--terse+:terse:(true false)')
511
512
	;;
	delete-jacc-provider)
fred-o's avatar
fred-o committed
513
		_command_args=('--target+:')
514
515
	;;
	delete-javamail-resource)
fred-o's avatar
fred-o committed
516
		_command_args=('--target+:')
517
518
	;;
	delete-jdbc-connection-pool)
fred-o's avatar
fred-o committed
519
		_command_args=('--cascade+:cascade:(true false)' '--target+:')
520
521
	;;
	delete-jdbc-resource)
fred-o's avatar
fred-o committed
522
		_command_args=('--target+:')
523
524
	;;
	delete-jms-host)
fred-o's avatar
fred-o committed
525
		_command_args=('--target+:')
526
527
	;;
	delete-jms-resource)
fred-o's avatar
fred-o committed
528
		_command_args=('--target+:')
529
530
	;;
	delete-jmsdest)
fred-o's avatar
fred-o committed
531
		_command_args=('--desttype+:' '--target+:')
532
533
	;;
	delete-jndi-resource)
fred-o's avatar
fred-o committed
534
		_command_args=('--target+:')
535
536
	;;
	delete-jvm-options)
fred-o's avatar
fred-o committed
537
		_command_args=('--profiler+:profiler:(true false)' '--target+:')
538
539
	;;
	delete-lifecycle-module)
fred-o's avatar
fred-o committed
540
		_command_args=('--target+:')
541
542
	;;
	delete-local-instance)
fred-o's avatar
fred-o committed
543
		_command_args=('--node+:' '--nodedir+:')
544
545
	;;
	delete-log-levels)
fred-o's avatar
fred-o committed
546
		_command_args=('--target+:')
547
548
	;;
	delete-message-security-provider)
fred-o's avatar
fred-o committed
549
		_command_args=('--layer+:' '--target+:')
550
551
	;;
	delete-network-listener)
fred-o's avatar
fred-o committed
552
		_command_args=('--target+:')
553
554
	;;
	delete-profiler)
fred-o's avatar
fred-o committed
555
		_command_args=('--target+:')
556
557
	;;
	delete-protocol)
fred-o's avatar
fred-o committed
558
		_command_args=('--target+:')
559
560
	;;
	delete-protocol-filter)
fred-o's avatar
fred-o committed
561
		_command_args=('--protocol+:' '--target+:')
562
563
	;;
	delete-protocol-finder)
fred-o's avatar
fred-o committed
564
		_command_args=('--protocol+:' '--target+:')
565
566
	;;
	delete-resource-adapter-config)
fred-o's avatar
fred-o committed
567
		_command_args=('--target+:')
568
569
	;;
	delete-resource-ref)
fred-o's avatar
fred-o committed
570
		_command_args=('--target+:')
571
572
	;;
	delete-ssl)
fred-o's avatar
fred-o committed
573
		_command_args=('--target+:' '--type+:type:(network-listener http-listener iiop-listener iiop-service jmx-connector)')
574
575
	;;
	delete-system-property)
fred-o's avatar
fred-o committed
576
		_command_args=('--target+:')
577
578
	;;
	delete-threadpool)
fred-o's avatar
fred-o committed
579
		_command_args=('--target+:')
580
581
	;;
	delete-transport)
fred-o's avatar
fred-o committed
582
		_command_args=('--target+:')
583
584
	;;
	delete-virtual-server)
fred-o's avatar
fred-o committed
585
		_command_args=('--target+:')
586
587
	;;
	deploy)
588
		_command_args=('*:directory:_files' '--asyncreplication+:asyncreplication:(true false)' '--availabilityenabled+:availabilityenabled:(true false)' '--contextroot+:' '--createtables+:createtables:(true false)' '--dbvendorname+:' '--deploymentplan+:deploymentplan:directory:_files' '--description+:' '--dropandcreatetables+:dropandcreatetables:(true false)' '--enabled+:enabled:(true false)' '--force+:force:(true false)' '--generatermistubs+:generatermistubs:(true false)' '--isredeploy+:isredeploy:(true false)' '--keepfailedstubs+:keepfailedstubs:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--lbenabled+:lbenabled:(true false)' '--libraries+:' '--logreportederrors+:logreportederrors:(true false)' '--name+:' '--precompilejsp+:precompilejsp:(true false)' '--properties+:' '--property+:' '--retrieve+:' '--target+:' '--type+:' '--uniquetablenames+:uniquetablenames:(true false)' '--verify+:verify:(true false)' '--virtualservers+:')
589
590
	;;
	deploydir)
591
		_command_args=('*:directory:_files' '--asyncreplication+:asyncreplication:(true false)' '--availabilityenabled+:availabilityenabled:(true false)' '--contextroot+:' '--createtables+:createtables:(true false)' '--dbvendorname+:' '--deploymentplan+:deploymentplan:directory:_files' '--description+:' '--dropandcreatetables+:dropandcreatetables:(true false)' '--enabled+:enabled:(true false)' '--force+:force:(true false)' '--generatermistubs+:generatermistubs:(true false)' '--isredeploy+:isredeploy:(true false)' '--keepfailedstubs+:keepfailedstubs:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--lbenabled+:lbenabled:(true false)' '--libraries+:' '--logreportederrors+:logreportederrors:(true false)' '--name+:' '--precompilejsp+:precompilejsp:(true false)' '--properties+:' '--property+:' '--retrieve+:' '--target+:' '--type+:' '--uniquetablenames+:uniquetablenames:(true false)' '--verify+:verify:(true false)' '--virtualservers+:')
592
593
	;;
	disable)
fred-o's avatar
fred-o committed
594
		_command_args=('--cascade+:cascade:(true false)' '--droptables+:droptables:(true false)' '--isredeploy+:isredeploy:(true false)' '--isundeploy+:isundeploy:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--properties+:' '--target+:')
595
596
	;;
	disable-http-lb-application)
fred-o's avatar
fred-o committed
597
		_command_args=('--name+:' '--timeout+:')
598
599
	;;
	disable-http-lb-server)
fred-o's avatar
fred-o committed
600
		_command_args=('--timeout+:')
601
602
	;;
	disable-monitoring)
fred-o's avatar
fred-o committed
603
		_command_args=('--modules+:' '--target+:')
604
605
	;;
	enable)
fred-o's avatar
fred-o committed
606
		_command_args=('--target+:')
607
608
	;;
	enable-http-lb-application)
fred-o's avatar
fred-o committed
609
		_command_args=('--name+:')
610
611
	;;
	enable-monitoring)
fred-o's avatar
fred-o committed
612
		_command_args=('--dtrace+:dtrace:(true false)' '--mbean+:mbean:(true false)' '--modules+:' '--options+:' '--pid+:' '--target+:')
613
614
	;;
	enable-secure-admin)
fred-o's avatar
fred-o committed
615
		_command_args=('--adminalias+:' '--instancealias+:')
616
617
	;;
	export-http-lb-config)
fred-o's avatar
fred-o committed
618
		_command_args=('--config+:' '--lbname+:' '--lbtargets+:' '--property+:' '--retrievefile+:retrievefile:(true false)')
619
620
	;;
	export-sync-bundle)
fred-o's avatar
fred-o committed
621
		_command_args=('--retrieve+:retrieve:(true false)' '--target+:')
622
623
	;;
	flush-connection-pool)
fred-o's avatar
fred-o committed
624
		_command_args=('--appname+:' '--modulename+:')
625
626
	;;
	flush-jmsdest)
fred-o's avatar
fred-o committed
627
		_command_args=('--desttype+:' '--target+:')
628
629
	;;
	freeze-transaction-service)
fred-o's avatar
fred-o committed
630
		_command_args=('--target+:')
631
632
	;;
	generate-domain-schema)
fred-o's avatar
fred-o committed
633
		_command_args=('--format+:' '--showdeprecated+:showdeprecated:(true false)' '--showsubclasses+:showsubclasses:(true false)')
634
635
	;;
	generate-jvm-report)
fred-o's avatar
fred-o committed
636
		_command_args=('--target+:' '--type+:type:(summary thread class memory log)')
637
638
	;;
	get)
fred-o's avatar
fred-o committed
639
		_command_args=('--monitor+:monitor:(true false)')
640
641
	;;
	get-client-stubs)
fred-o's avatar
fred-o committed
642
		_command_args=('--appname+:')
643
644
	;;
	import-sync-bundle)
fred-o's avatar
fred-o committed
645
		_command_args=('--instance+:' '--node+:' '--nodedir+:')
646
647
	;;
	install-node-dcom)
fred-o's avatar
fred-o committed
648
		_command_args=('--archive+:' '--create+:create:(true false)' '--force+:force:(true false)' '--installdir+:' '--save+:save:(true false)' '--windowsdomain+:' '--windowsuser+:')
649
650
	;;
	install-node-ssh)
fred-o's avatar
fred-o committed
651
		_command_args=('--archive+:' '--create+:create:(true false)' '--force+:force:(true false)' '--installdir+:' '--save+:save:(true false)' '--sshkeyfile+:' '--sshport+:' '--sshuser+:')
652
653
	;;
	jms-ping)
fred-o's avatar
fred-o committed
654
		_command_args=('--target+:')
655
656
	;;
	list)
fred-o's avatar
fred-o committed
657
		_command_args=('--monitor+:monitor:(true false)')
658
659
	;;
	list-application-refs)
fred-o's avatar
fred-o committed
660
		_command_args=('--long+:long:(true false)' '--terse+:terse:(true false)')
661
662
	;;
	list-backups)
fred-o's avatar
fred-o committed
663
		_command_args=('--backupconfig+:' '--backupdir+:' '--domaindir+:' '--long+:long:(true false)')
664
665
	;;
	list-commands)
fred-o's avatar
fred-o committed
666
		_command_args=('--localonly+:localonly:(true false)' '--remoteonly+:remoteonly:(true false)')
667
668
	;;
	list-components)
fred-o's avatar
fred-o committed
669
		_command_args=('--long+:long:(true false)' '--resources+:resources:(true false)' '--subcomponents+:subcomponents:(true false)' '--terse+:terse:(true false)' '--type+:')
670
671
	;;
	list-connector-security-maps)
fred-o's avatar
fred-o committed
672
		_command_args=('--long+:long:(true false)' '--securitymap+:' '--target+:')
673
674
	;;
	list-connector-work-security-maps)
fred-o's avatar
fred-o committed
675
		_command_args=('--securitymap+:')
676
677
	;;
	list-custom-resources)
fred-o's avatar
fred-o committed
678
		_command_args=('--target+:')
679
680
	;;
	list-domains)
fred-o's avatar
fred-o committed
681
		_command_args=('--domaindir+:')
682
683
	;;
	list-file-groups)
fred-o's avatar
fred-o committed
684
		_command_args=('--authrealmname+:' '--name+:')
685
686
	;;
	list-file-users)
fred-o's avatar
fred-o committed
687
		_command_args=('--authrealmname+:')
688
689
	;;
	list-http-listeners)
fred-o's avatar
fred-o committed
690
		_command_args=('--long+:long:(true false)')
691
692
	;;
	list-instances)
fred-o's avatar
fred-o committed
693
		_command_args=('--long+:long:(true false)' '--nostatus+:nostatus:(true false)' '--standaloneonly+:standaloneonly:(true false)' '--timeoutmsec+:')
694
695
	;;
	list-javamail-resources)
fred-o's avatar
fred-o committed
696
		_command_args=('--target+:')
697
698
	;;
	list-jms-hosts)
fred-o's avatar
fred-o committed
699
		_command_args=('--target+:')
700
701
	;;
	list-jms-resources)
fred-o's avatar
fred-o committed
702
		_command_args=('--restype+:')
703
704
	;;
	list-jmsdest)
fred-o's avatar
fred-o committed
705
		_command_args=('--desttype+:' '--property+:')
706
707
	;;
	list-jndi-entries)
fred-o's avatar
fred-o committed
708
		_command_args=('--context+:')
709
710
	;;
	list-jndi-resources)
fred-o's avatar
fred-o committed
711
		_command_args=('--target+:')
712
713
	;;
	list-jvm-options)
fred-o's avatar
fred-o committed
714
		_command_args=('--profiler+:profiler:(true false)' '--target+:')
715
716
	;;
	list-libraries)
fred-o's avatar
fred-o committed
717
		_command_args=('--type+:type:(common ext app)')
718
719
	;;
	list-lifecycle-modules)
fred-o's avatar
fred-o committed
720
		_command_args=('--terse+:terse:(true false)')
721
722
	;;
	list-message-security-providers)
fred-o's avatar
fred-o committed
723
		_command_args=('--layer+:layer:(SOAP HttpServlet)')
724
725
	;;
	list-nodes)
fred-o's avatar
fred-o committed
726
		_command_args=('--long+:long:(true false)' '--terse+:terse:(true false)')
727
728
	;;
	list-nodes-config)
fred-o's avatar
fred-o committed
729
		_command_args=('--long+:long:(true false)' '--terse+:terse:(true false)')
730
731
	;;
	list-nodes-dcom)
fred-o's avatar
fred-o committed
732
		_command_args=('--long+:long:(true false)' '--terse+:terse:(true false)')
733
734
	;;
	list-nodes-ssh)
fred-o's avatar
fred-o committed
735
		_command_args=('--long+:long:(true false)' '--terse+:terse:(true false)')
736
737
	;;
	list-persistence-types)
fred-o's avatar
fred-o committed
738
		_command_args=('--type+:')
739
740
	;;
	list-protocol-filters)
fred-o's avatar
fred-o committed
741
		_command_args=('--target+:')
742
743
	;;
	list-protocol-finders)
fred-o's avatar
fred-o committed
744
		_command_args=('--target+:')
745
746
	;;
	list-resource-adapter-configs)
fred-o's avatar
fred-o committed
747
		_command_args=('--long+:long:(true false)' '--raname+:')
748
749
	;;
	list-sub-components)
fred-o's avatar
fred-o committed
750
		_command_args=('--appname+:' '--resources+:resources:(true false)' '--terse+:terse:(true false)' '--type+:')
751
752
	;;
	list-virtual-servers)
fred-o's avatar
fred-o committed
753
		_command_args=('--target+:')
754
755
	;;
	list-web-context-param)
fred-o's avatar
fred-o committed
756
		_command_args=('--name+:')
757
758
	;;
	list-web-env-entry)
fred-o's avatar
fred-o committed
759
		_command_args=('--name+:')
760
761
	;;
	login)
fred-o's avatar
fred-o committed
762
		_command_args=('--target+:')
763
764
	;;
	migrate-timers)
fred-o's avatar
fred-o committed
765
		_command_args=('--target+:')
766
767
	;;
	monitor)
768
		_command_args=('--filename+:filename:directory:_files' '--filter+:' '--interval+:' '--type+:')
769
770
	;;
	multimode)
771
		_command_args=('--encoding+:' '--file+:file:directory:_files' '--printprompt+:printprompt:(true false)')
772
773
	;;
	ping-connection-pool)
fred-o's avatar
fred-o committed
774
		_command_args=('--appname+:' '--modulename+:' '--target+:')
775
776
	;;
	recover-transactions)
fred-o's avatar
fred-o committed
777
		_command_args=('--target+:' '--transactionlogdir+:')
778
779
	;;
	redeploy)
780
		_command_args=('*:directory:_files' '--asyncreplication+:asyncreplication:(true false)' '--availabilityenabled+:availabilityenabled:(true false)' '--contextroot+:' '--createtables+:createtables:(true false)' '--dbvendorname+:' '--deploymentplan+:deploymentplan:directory:_files' '--description+:' '--dropandcreatetables+:dropandcreatetables:(true false)' '--enabled+:enabled:(true false)' '--force+:force:(true false)' '--generatermistubs+:generatermistubs:(true false)' '--isredeploy+:isredeploy:(true false)' '--keepfailedstubs+:keepfailedstubs:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--lbenabled+:lbenabled:(true false)' '--libraries+:' '--logreportederrors+:logreportederrors:(true false)' '--name+:' '--precompilejsp+:precompilejsp:(true false)' '--properties+:' '--property+:' '--retrieve+:' '--target+:' '--type+:' '--uniquetablenames+:uniquetablenames:(true false)' '--verify+:verify:(true false)' '--virtualservers+:')
781
782
	;;
	remove-library)
fred-o's avatar
fred-o committed
783
		_command_args=('--type+:type:(common ext app)')
784
785
	;;
	restart-domain)
fred-o's avatar
fred-o committed
786
		_command_args=('--debug+:debug:(true false)' '--domaindir+:' '--force+:force:(true false)' '--kill+:kill:(true false)')
787
788
	;;
	restart-instance)
fred-o's avatar
fred-o committed
789
		_command_args=('--debug+:')
790
791
	;;
	restart-local-instance)
fred-o's avatar
fred-o committed
792
		_command_args=('--debug+:debug:(true false)' '--force+:force:(true false)' '--kill+:kill:(true false)' '--node+:' '--nodedir+:')
793
794
	;;
	restore-domain)
fred-o's avatar
fred-o committed
795
		_command_args=('--backupconfig+:' '--backupdir+:' '--description+:' '--domaindir+:' '--filename+:' '--force+:force:(true false)' '--long+:long:(true false)')
796
797
	;;
	rollback-transaction)
fred-o's avatar
fred-o committed
798
		_command_args=('--target+:' '--transaction_id+:')
799
800
	;;
	rotate-log)
fred-o's avatar
fred-o committed
801
		_command_args=('--target+:')
802
803
	;;
	set-log-attributes)
fred-o's avatar
fred-o committed
804
		_command_args=('--target+:')
805
806
	;;
	set-log-levels)
fred-o's avatar
fred-o committed
807
		_command_args=('--target+:')
808
809
	;;
	set-web-context-param)
fred-o's avatar
fred-o committed
810
		_command_args=('--description+:' '--ignoredescriptoritem+:ignoredescriptoritem:(true false)' '--name+:' '--value+:')
811
812
	;;
	set-web-env-entry)
fred-o's avatar
fred-o committed
813
		_command_args=('--description+:' '--ignoredescriptoritem+:ignoredescriptoritem:(true false)' '--name+:' '--type+:' '--value+:')
814
815
	;;
	setup-ssh)
fred-o's avatar
fred-o committed
816
		_command_args=('--generatekey+:generatekey:(true false)' '--sshkeyfile+:' '--sshport+:' '--sshpublickeyfile+:' '--sshuser+:')
817
818
	;;
	show-component-status)
fred-o's avatar
fred-o committed
819
		_command_args=('--target+:')
820
821
	;;
	start-cluster)
fred-o's avatar
fred-o committed
822
		_command_args=('--autohadboverride+:autohadboverride:(true false)' '--verbose+:verbose:(true false)')
823
824
	;;
	start-database)
fred-o's avatar
fred-o committed
825
		_command_args=('--dbhome+:' '--dbhost+:' '--dbport+:' '--jvmoptions+:')
826
827
	;;
	start-domain)
fred-o's avatar
fred-o committed
828
		_command_args=('--debug+:debug:(true false)' '--domaindir+:' '--upgrade+:upgrade:(true false)' '--verbose+:verbose:(true false)')
829
830
	;;
	start-instance)
fred-o's avatar
fred-o committed
831
		_command_args=('--debug+:debug:(true false)' '--setenv+:' '--sync+:sync:(none normal full)' '--terse+:terse:(true false)')
832
833
	;;
	start-local-instance)
fred-o's avatar
fred-o committed
834
		_command_args=('--debug+:debug:(true false)' '--node+:' '--nodedir+:' '--sync+:sync:(none normal full)' '--verbose+:verbose:(true false)')
835
836
	;;
	stop-cluster)
fred-o's avatar
fred-o committed
837
		_command_args=('--autohadboverride+:autohadboverride:(true false)' '--kill+:kill:(true false)' '--verbose+:verbose:(true false)')
838
839
	;;
	stop-database)
fred-o's avatar
fred-o committed
840
		_command_args=('--dbhost+:' '--dbport+:' '--dbuser+:')
841
842
	;;
	stop-domain)
fred-o's avatar
fred-o committed
843
		_command_args=('--domaindir+:' '--force+:force:(true false)' '--kill+:kill:(true false)')
844
845
	;;
	stop-instance)
fred-o's avatar
fred-o committed
846
		_command_args=('--force+:force:(true false)' '--kill+:kill:(true false)')
847
848
	;;
	stop-local-instance)
fred-o's avatar
fred-o committed
849
		_command_args=('--force+:force:(true false)' '--kill+:kill:(true false)' '--node+:' '--nodedir+:')
850
851
	;;
	undeploy)
fred-o's avatar
fred-o committed
852
		_command_args=('--cascade+:cascade:(true false)' '--droptables+:droptables:(true false)' '--isredeploy+:isredeploy:(true false)' '--keepreposdir+:keepreposdir:(true false)' '--keepstate+:keepstate:(true false)' '--properties+:' '--target+:')
853
854
	;;
	unfreeze-transaction-service)
fred-o's avatar
fred-o committed
855
		_command_args=('--target+:')
856
857
	;;
	uninstall-node-dcom)
fred-o's avatar
fred-o committed
858
		_command_args=('--force+:force:(true false)' '--installdir+:' '--windowsdomain+:' '--windowsuser+:')
859
860
	;;
	uninstall-node-ssh)
fred-o's avatar
fred-o committed
861
		_command_args=('--force+:force:(true false)' '--installdir+:' '--sshkeyfile+:' '--sshport+:' '--sshuser+:')
862
863
	;;
	unset-web-context-param)
fred-o's avatar
fred-o committed
864
		_command_args=('--name+:')
865
866
	;;
	unset-web-env-entry)
fred-o's avatar
fred-o committed
867
		_command_args=('--name+:')
868
869
	;;
	update-connector-security-map)
fred-o's avatar
fred-o committed
870
		_command_args=('--addprincipals+:' '--addusergroups+:' '--mappedpassword+:' '--mappedusername+:' '--poolname+:' '--removeprincipals+:' '--removeusergroups+:' '--target+:')
871
872
	;;
	update-connector-work-security-map)
fred-o's avatar
fred-o committed
873
		_command_args=('--addgroups+:' '--addprincipals+:' '--raname+:' '--removegroups+:' '--removeprincipals+:')
874
875
	;;
	update-file-user)
fred-o's avatar
fred-o committed
876
		_command_args=('--authrealmname+:' '--groups+:' '--target+:' '--userpassword+:')
877
878
	;;
	update-node-config)
fred-o's avatar
fred-o committed
879
		_command_args=('--installdir+:' '--nodedir+:' '--nodehost+:')
880
881
	;;
	update-node-dcom)
fred-o's avatar
fred-o committed
882
		_command_args=('--force+:force:(true false)' '--installdir+:' '--nodedir+:' '--nodehost+:' '--windowsdomain+:' '--windowspassword+:' '--windowsuser+:')
883
884
	;;
	update-node-ssh)
fred-o's avatar
fred-o committed
885
		_command_args=('--force+:force:(true false)' '--installdir+:' '--nodedir+:' '--nodehost+:' '--sshkeyfile+:' '--sshkeypassphrase+:' '--sshpassword+:' '--sshport+:' '--sshuser+:')
886
887
	;;
	update-password-alias)
fred-o's avatar
fred-o committed
888
		_command_args=('--aliaspassword+:')
889
890
	;;
	uptime)
fred-o's avatar
fred-o committed
891
		_command_args=('--milliseconds+:milliseconds:(true false)')
892
893
	;;
	validate-dcom)
fred-o's avatar
fred-o committed
894
		_command_args=('--remotetestdir+:' '--verbose+:verbose:(true false)' '--windowsdomain+:' '--windowspassword+:' '--windowsuser+:')
895
896
	;;
	validate-multicast)
fred-o's avatar
fred-o committed
897
		_command_args=('--bindaddress+:' '--multicastaddress+:' '--multicastport+:' '--sendperiod+:' '--timeout+:' '--timetolive+:' '--verbose+:verbose:(true false)')
898
899
	;;
	verify-domain-xml)
fred-o's avatar
fred-o committed
900
		_command_args=('--domaindir+:')
901
902
	;;
	version)
fred-o's avatar
fred-o committed
903
		_command_args=('--local+:local:(true false)' '--terse+:terse:(true false)' '--verbose+:verbose:(true false)')
904
	;;
905
906
907
908
909
esac

_arguments \
    $_command_args \
    &&  return 0