twitter
    !! Tell us what you want to Learn / Know !!

Domain


       A domain in GlassFish Server is an administrative namespace that complies with the Java Platform, Enterprise Edition (Java EE) standard. Every domain has a configuration, which is stored in a set of files.  Any number of domains, each of which has a distinct administrative identity, can be created in a given installation of GlassFish Server. A domain can exist independently of other domains.

Display the available domains:

Open the asadmin utility and type the following command.

asadmin> list-domains


   This command displays the list of available domains.

How to create a domain/Admin Server?

asadmin>create-domain  --adminport 4848  DomainName

The domain with DomainName will be created after entering the credentials.

How to start a domain?

asadmin>start-domain DomainName

How to stop domain?

asadmin>stop-domain DomainName

How to delete a domain?

asadmin>delete-domain DomainName

Admin Console:
             It is a web application through which you can control the GlassFish application server. The default port for GlassFish server is 4848. You can access it by entering the following url in the browser

http://localhost:4848

Make sure the server/domain is in running while accessing the Admin Console.
The Admin Console looks like below after entering username and password:



0 comments:

Post a Comment