_asadmin 40.1 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
275
276
277
278
279
280
#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
    _describe -t commands "glassfish command" _1st_arguments
    return
fi

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

_arguments \
    $_command_args \
    &&  return 0