PurposeRuns Grails uses an embedded Jetty container on port
grails run-app -https // with HTTPS
grails test run-app
grails -Dserver.port=8090 -Denable.jndi=true -Ddisable.auto.recompile=true run-app
Supported system properties:
https - Start an HTTPS server (on port 8443 by default) alongside the main server. Just to be clear, the application will be accessible via HTTPS and HTTP.
disable.auto.recompile - Disables auto-recompilation of Java sources, which can be processor intensive (defaults to false)
recompile.frequency - Specifies how frequently (in seconds) Grails checks for changes to Java and Groovy sources in your project (defaults to 3).
server.port - Specifies the HTTP port to run the server on (defaults to 8080)
grails.server.port.https - Specifies the HTTPS port to run the server on (defaults to 8443)
server.host - Specifies the host name to run the server on (defaults to localhost)
enable.jndi - Specifies whether Jetty should run with the Java Naming and Directory Interface (JNDI) enabled
This command will start Grails up in an embedded Jetty Container that can serve HTTP requests. This target is not intended for deployment as the container in development mode is configured to auto-reload changes at runtime which has an overhead attached to it and will not scale well.
StatusFinal - When the container has been started
StatusUpdate - When the container is reloading