I have a war file and I would like to deploy it to remote machine. Both on local and remote machine glassfish 3 is installed and it would be responsible for deploying the app. How can I perform remote deploy from one machine to another? Is it possible to do it using asadmin console on one machine and deploy to the other?
In order to send ANY commands to a remote Domain Application Server (DAS) from a remote client like asadmin, you must first enable security. By default, this feature is turned off. It's simple to fix:
(1) While "on" the remote machine (2) DAS is running (3) asadmin enable-secure-admin (4) asadmin restart-domain
Now you should be able to send asadmin commands from any remote machine.
The change is permanent. Run the command once and forget it.
For help on the command run this: asadmin enable-secure-admin --help
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With