Digital Marketing

How to increase GlassFish server asadmin deployment timeout

If your app is big, you might encounter the following when deploying it:


No response from Domain Admin Server after 600 seconds.  The command is either taking too long to complete or the server has failed.  Please see the server log files for command status.  Command deploy failed.


One way to fix it is to increase GlassFish server asadmin deployment timeout.
The default deployment timeout value of asadmin is 600 seconds.
You can set the environment variable AS_ADMIN_READTIMEOUT to increase the asadmin deployment timeout from 600 seconds to 3600 seconds.
export AS_ADMIN_READTIMEOUT="3600000"
  
or put it to glassfish/conf/asenv.conf.

Comments

Popular posts from this blog

MySQL Sandbox with the Sakila sample database