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
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
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
|
asadmin> help
NAME
help - displays the asadmin utility commands
SYNOPSIS
help [command_name]
command_name [--help | -?]
DESCRIPTION
The help command displays a list of all the asadmin utility commands. Specify the command to display the usage informa-tion for that command. To display the man page of each com-mand, use the syntax: asadmin command_name --help | -? or asadmin help command_name
The following is a list of all the asadmin utility commands:
add-resources
registers the resource in the specified 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-password
changes the master password
clear-ha-store
deletes tables in the HA database
configure-ha-cluster
configures an existing cluster to be High Availability
configure-ha-persistence
enables configuration of parameters related to session persistence
configure-lb-weight
sets load balancing weights for clustered instances
configure-webservice-management
sets the monitoring or maxhistory or attributes of a deployed webservice
copy-config
copies an existing configuration to create a new confi-guration
create-admin-object
adds the administered object with the specified JNDI name
create-application-ref
creates a reference to an application
create-audit-module
creates an audit module for the optional plugin module
create-auth-realm
adds the named authorized realm
create-cluster
creates a cluster
create-connector-connection-pool
adds a connection pool with the specified connection
pool name
create-connector-resource
registers the resource with the specified JNDI name
create-connector-security-map
creates or modifies a security map for the named connec-
tor connection pool
create-converged-lb
creates a converged load balancer.
Note -
This command is available if you have installed Sun GlassFish Communications Server.
create-converged-lb-config
creates a converged load balancer configuration.
Note -
This command is available if you have installed Sun GlassFish Communications Server.
create-converged-lb-ref
creates a converged load balancer reference.
Note -
This command is available if you have installed Sun
GlassFish Communications Server.
create-custom-resource
registers the custom resource
create-domain
creates a domain with the specified name
create-file-user
creates a new file user
create-ha-store
creates tables in HA database that are used by HA clus-ter
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
add an existing cluster or server instance to an exist-ing load balancer configuration
create-http-listener
adds a new HTTP listener socket
create-iiop-listener
adds the IIOP listener
create-instance
creates an instance with the given name
create-javamail-resource
registers the Javamail resource
create-jdbc-connection-pool
registers the JDBC connection pool
create-jdbc-resource
registers the JDBC resource
create-jms-host
creates a JMS host
create-jms-resource
registers the JMS resource
create-jmsdest
adds the named destination
create-jndi-resource
registers the JNDI resource
create-jvm-options
creates the JVM options from the Java configuration or profiler elements
create-lifecycle-module
adds a lifecycle module
create-management-rule
creates a new management rule
create-mbean
creates and registers a custom MBean
create-message-security-provider
enables administrators to create the message-security-config and provider-config sub-elements for the security service in domain.xml
create-node-agent-config
adds a new unbound node agent to a domain
create-node-agent
creates a node agent and its associated directory struc-ture
create-password-alias
creates a password alias
create-persistence-resource
registers the persistence resource
create-profiler
creates the profiler element
create-resource-adapter-config
creates the resource adapter Java bean
create-resource-ref
creates a reference to a resource
create-service
configures the starting of a DAS or node agent on an unattended boot
create-sip-listener
creates the SIP listener.
Note -
This command is available if you have installed Sun GlassFish Communications Server.
create-ssl
creates the SSL element in the HTTP listener or IIOP listener
create-system-properties
adds or updates one or more system properties of the domain, configuration, cluster, or server instance
create-threadpool
creates the thread pool
create-transformation-rule
creates transformation rule for a deployed web service
create-trust-config
creates a trust configuration.
create-trusted-entity
creates a trusted entity.
create-virtual-server
adds the named virtual server
delete-admin-object
removes the administered object with the specified JNDI name
delete-application-ref
removes a reference to an application
delete-audit-module
deletes the audit-module for the optional plugin module
delete-auth-realm
removes the named authorized realm
delete-converged-lb
deletes the specified converged load balancer
delete-converged-lb-config
deletes the specified converged load balancer configura-tion.
delete-converged-lb-ref
deletes the specified converged load balancer reference.
delete-cluster
deletes a cluster
delete-config
deletes an existing configuration
delete-connector-connection-pool
removes the specified connection pool
delete-connector-resource
removes the named resource connector
delete-connector-security-map
deletes the named security map
delete-custom-resource
removes the custom resource
delete-domain
deletes the given domain
delete-file-user
removes the named file user
delete-http-health-checker
deletes a 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 configuration
delete-http-listener
removes the HTTP listener
delete-iiop-listener
removes the IIOP listener
delete-instance
deletes the instance that is not running
delete-javamail-resource
removes the Javamail resource
delete-jdbc-connection-pool
removes the JDBC connection pool
delete-jdbc-resource
removes the JDBC resource
delete-jms-host
removes a JMS host
delete-jms-resource
removes the JMS resource
delete-jmsdest
destroys the named destination
delete-jndi-resource
removes the JNDI resource
delete-jvm-options
deletes the JVM options from the Java configuration or profiler elements
delete-lifecycle-module
removes the lifecycle module
delete-management-rule
deletes a specified management rule
delete-mbean
deletes a custom MBean
delete-message-security-provider
enables administrators to delete a provider-config sub-element for the given message layer (message-security-config element of domain.xml)
delete-node-agent-config
removes a node agent from a domain
delete-node-agent
deletes the node agent and its associated directory structure
delete-password-alias
deletes a password alias
delete-persistence-resource
removes the persistence resource
delete-profiler
deletes the profiler element
delete-resource-adapter-config
deletes the resource adapter Java bean
delete-resource-ref
removes a reference to a resource
delete-sip-listener
deletes the specified SIP listener.
delete-ssl
deletes the ssl element from the HTTP listener or IIOP listener
delete-system-property
removes one or more system properties of the domain, configuration, cluster, or server instance
delete-threadpool
deletes the thread pool
delete-transformation-rule
deletes the transformation rule of a given web service
delete-trust-config
deletes the trust configuration.
Note -
This command is available if you have installed Sun GlassFish Communications Server.
delete-trusted-entity
deletes the trusted entity
Note -
This command is available if you have installed Sun GlassFish Communications Server.
delete-virtual-server
deletes the virtual server with the named virtual server ID
deploy-jbi-service-assembly
deploys a service assembly into the JBI environment
deploy
deploys the specified component
deploydir
deploys the component that is in the specified direc-tory, located in the domain
disable-http-lb-server
disables a sever or cluster managed by a load balancer
disable-converged-lb-server
disables a sever or cluster managed by a converged load balancer
Note -
This command is available if you have installed Sun GlassFish Communications Server.
disable-http-lb-application
disables an application managed by a load balancer
disable
stops the specified, deployed component
display-error-distribution
displays distribution of errors from instance server.log
at module level
display-error-statistics
displays a summary list of severities and warnings
display-log-records
displays all the error messages for a given module at a given timestamp
enable-converged-lb-server
enables a previously disabled sever or cluster managed by a converged load balancer
Note -
This command is available if you have installed Sun GlassFish Communications Server.
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
runs the specified, deployed component
export-http-lb-config
exports the load balancer configuration to a file that can be used by the load balancer
export
marks a variable name for automatic export to the environment of subsequent commands in multimode
flush-jmsdest
purges the messages in a JMS destination
freeze-transaction-service
immobilizes the named transaction service
generate-diagnostic-report
generates reports that can help diagnose malfunctioning
generate-jvm-report
shows the threads, classes and memory for a given target instance
get-client-stubs
gets the stubs of the client
get
gets the values of the monitorable or configurable
attributes
get-health
provides information on the cluster health
help
displays a list of all the commands available in the command-line interface
install-jbi-component
installs a service engine or binding component into the JBI environment
install-jbi-shared-library
installs a shared library into the JBI environment
jms-ping
checks to see if the JMS provider is running
list-admin-objects
lists all the administered objects
list-application-refs
lists all application references in a cluster or unclustered server instance
list-audit-modules
lists the audit modules
list-auth-realms
lists the authorized realms
list-backups
lists all backups and restores
list-clusters
lists the existing clusters
list-components
lists deployed components
list-configs
lists all existing configurations
list-connector-connection-pools
gets all the connection pools
list-connector-resources
gets all the connector resources
list-connector-security-maps
lists the security maps for the connector connection pool
list-converged-lbs
lists all the converged load balancers.
Note -
This command is available if you have installed Sun GlassFish Communications Server.
list-converged-lb-configs
lists all the converged load balancer configurations.
Note -
This command is available if you have installed Sun GlassFish Communications Server.
list-custom-resources
gets all the custom resources
list-domains
lists the domains in the given domains directory
list-file-groups
lists the 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
gets the HTTP listeners
list-iiop-listeners
gets the IIOP listeners
list-instances
lists all the instances in the server
list-javamail-resources
gets all the Javamail resources
list-jdbc-connection-pools
registers the JDBC connection pool
list-jdbc-resources
gets all the JDBC resources
list-jbi-binding-components
lists the binding components installed on the specified target
list-jbi-service-assemblies
lists the service assemblies installed into the JBI environment
list-jbi-service-engines
lists the service engines installed on the specified target
list-jbi-shared-libraries
lists the JBI shared libraries that are installed into the JBI environment
list-jms-hosts
lists the existing JMS hosts
list-jms-resources
gets all the JMS resources
list-jmsdest
gets all the named destinations
list-jndi-entries
gets all the named destinations, browses and queries the JNDI tree
list-jndi-resources
gets all the JNDI resources
list-lifecycle-modules
gets the lifecycle modules
list-management-rules
lists the management rules created using the create-management-rule command
list-mbeans
lists the custom mbeans for a given target server
instance
list-message-security-providers
enables administrators to list all security message pro-viders (provider-config sub-elements) for the given mes-sage layer (message-security-config element of domain.xml)
list-node-agents
lists the node agents along with their status
list-password-aliases
lists all password aliases
list-persistence-resources
gets all the persistence resources
list-registry-locations
returns list of configured web service registry access points
list-resource-adapter-configs
lists the resource adapters configured in an instance
list-resource-refs
lists the existing resource references
list-sub-components
lists EJBs or Servlets in a deployed module or in a module of a deployed application
list-system-properties
lists the system properties of the domain, configuration, cluster, or server instance
list-threadpools
lists the thread pools
list-timers
lists all of the timers owned by server instance(s)
list-transformation-rules
lists all the transformation rules of a given webservice
list-trust-configs
lists all identity assertion trust configurations.
list-virtual-servers
gets the virtual servers
list
lists the configurable elements and provides the fully qualified dotted names of the management components that have read-only or modifiable attributes
login
lets you log in to a domain
migrate-timers
moves a timer when a server instance stops
monitor
displays monitoring data for commonly-used components
multimode
allows you to execute multiple commands while returning environment settings and remaining in the asadmin util-ity
ping-connection-pool
tests if a connection pool is usable
publish-to-registry
publishes all the web service artifacts to registries
recover-transactions
manually recovers pending transactions
remove-ha-cluster
returns an HA cluster to non-HA status
restore-domain
restores files from backup
rollback-transaction
rolls back the named transaction
set
sets the values of attributes. Set command can be used to modify default properties of a resource.
set-dcr-file
uploads the Data Centric Rule (DCR) file from the Domain Administration Server (DAS).
Note -
This command is available if you have installed Sun GlassFish Communications Server.
show-component-status
displays the status of the deployed component
show-jbi-binding-component
shows detailed information about the specified binding
component
show-jbi-service-assembly
shows detailed information about a specified service assembly
show-jbi-service-engine
shows detailed information about the specified service engine
show-jbi-shared-library
shows detailed information about a specified shared library
shut-down-jbi-component
shuts down a service engine or a binding component on
the specified target
shut-down-jbi-service-assembly
shuts down a JBI service assembly on the specified tar-get
start-appserv
starts the domains in the specified domains directory
start-callflow-monitoring
provides the complete callflow/path of a request
start-cluster
starts a cluster
start-database
starts the bundled Java DB database
start-domain
starts the given domain
start-instance
starts a server instance
start-jbi-component
starts a service engine or a binding component on the specified target
start-jbi-service-assembly
starts a service assembly on the specified target
start-node-agent
starts a node agent
stop-appserv
stops the domains in the specified domains directory
stop-callflow-monitoring
disables collection of callflow information of a request
stop-cluster
stops a cluster
stop-database
stops the bundled Java DB database
stop-domain
stops the given domain
stop-instance
stops a server instance
stop-jbi-component
stops a service engine or a binding component on the specified target
stop-jbi-service-assembly
stops a service assembly on the specified target
stop-node-agent
stops a node agent
undeploy-jbi-service-assembly
undeploys a service assembly on the specified target
undeploy
removes a component in the domain
unfreeze-transaction-service
mobilizes the named transaction service
uninstall-jbi-component
uninstalls a service engine or binding component on the specified target
uninstall-jbi-shared-library
uninstalls a shared library on the specified target
unpublish-from-registry
unpublishes the web service artifacts from the regis-tries
unset
removes one or more variables from the multimode environment
unset
removes one or more variables from the multimode environment
unset-dcr-file
removes the Data Centric Rule (DCR) file from the Domain Administration Server (DAS).
Note -
This command is available if you have installed Sun
GlassFish Communications Server.
update-file-user
updates a current file user as specified
update-password-alias
updates a password alias
upgrade-jbi-component
upgrades a service engine or binding component
verify-domain-xml
verifies the content of the domain.xml
version
displays the version information
The following commands are deprecated:
o display-license
o install-license
o restart-instance
o shutdown
o create-acl
o delete-acl
o list-acls
o start-appserv
o stop-appserv
EXAMPLES
Example 1 Using help
asadmin> help
asadmin> create-domain --help
Where: create-domain is the command you wish to view the usage for.
SEE ALSO
asadmin(1M)
|