The Java EE 6 Tutorial

ProcedureTo Change the Default Host Name Using the asadmin Command

  1. Specify a command like one of the following:


    asadmin set server-config.jms-service.jms-host.default_JMS_host.host="0.0.0.0"
    

    asadmin set server-config.jms-service.jms-host.default_JMS_host.host="hostname"
    
  2. Restart the GlassFish Server.