Reputation: 29
I have a Java Web Application to deploy on GlassFish Server. For this purpose, I created new domain in Glassfish using command asadmin create-domain
.
How can I deploy my application in this specific domain?
Upvotes: 0
Views: 817
Reputation: 4963
Once the domain has been started, any interaction with the running server will apply to that domain, for example:
asadmin create-domain myDomain
asadmin start-domain myDomain
Your Domain Admin Server (DAS) will now be running. Deploying to this via asadmin will apply to that domain:
asadmin deploy /path/to/my/App.war
Or you could visit http://localhost:4848 and deploy using the admin console.
Upvotes: 1