Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Deploying a Grails application to GlassFish means building the application as a deployable WAR, then giving that WAR to a running GlassFish domain. For a current Grails 8.0.0 application, use the bootWar file in build/libs, not the *-plain.war file, and run it on a Servlet 6.1 container with Java 21 or later. Eclipse GlassFish 8 documents Servlet 6.1.0 and JDK 21 through JDK 25, so its platform requirements line up with Grails 8. The procedure below covers the Gradle configuration, WAR build, asadmin deployment, automatic deployment, Docker deployment, context roots, runtime configuration, verification, and the different recipe needed by Grails 7.2.4.

What you need before deploying

Confirm the Grails line, Java runtime, servlet level, and GlassFish release before changing the build. The versions are not interchangeable: Grails 8 raises the servlet and Java floors compared with Grails 7.

Application or server Minimum runtime documented by its project Packaging guidance
Grails 8.0.0 Java 21 or later; Jakarta Servlet 6.1-compatible container bootWar; deploy the executable WAR
Eclipse GlassFish 8 Java 21 minimum; JDK 21–25 supported, higher versions experimental; Servlet 6.1.0 Deploy a WAR with asadmin, autodeploy, or the container image’s /deploy mount
Grails 7.2.4 JDK 17 minimum in the Grails requirements table; runtime container must support Servlet 6.0.0 or above grails war or ./gradlew assemble; use the 7.2.4 dependency recipe

These requirements come from the Grails 8 deployment guide, the Grails 8 getting-started guide, the Eclipse GlassFish 8 release notes, and the Grails 7.2.4 deployment guide.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install a JDK, not only a JRE. Grails recommends Liberica JDK 21 LTS, and the Grails wrapper supplies the Gradle version generated with the application. Grails 8 requires Gradle 9.7 or later and generated applications use Gradle 9.8.0, so a separate Gradle installation is normally unnecessary. From the project root, check the tools you will actually use:

Popular on Amazon
Silkland 40Gbps USB C 90 Degree Right Angle Adapter 2 Pack, 240W USB4 | Male to Female Extender, 8K@60Hz, Thunderbolt 4/3, Steam Deck, ROG Ally, MacBook, Switch 2, iPhone 18/17/16/15, Quest 3 VR
  • 【90 Degree Full Function USB C Adapter】Supports the latest USB4 standard for up to 40Gbps of bandwidth, 8K video support, and up to 240W Fast charging; Support USB PD 3.1 Extended Power Range (EPR) including 140W, 180W and 240W. Your productivity is easily doubled. *Warm Tip: For the best fit, please make sure the USB-C port is fully exposed; thick or bulky cases may affect compatibility.
  • 【Reliable Quality】Made from high-quality, scratch-resistant aluminum alloy, delicate metal frame. get excellent wear resistance and heat dissipation. Non-Slip Design for easier insertion and removal.
  • 【Small and portable】Ultra thin size, ultra compact design, a petite physique that matches the minimalist design of your modern laptops. Coming with a slim figure that won't block the port next to the one it's plugged into.
  • 【Compatibility】Widely work with most usb c, thunderbolt 4/3 devices. Compatibilit for ROG Ally, Steam Deck, Switch, MacBook Pro, Quest 3 VR headset, Surface Book 2, iPhone 18/17/16/15, Samsung Galaxy S23/S22/S21, Note 20/10, Google Pixel, ChromeBook, etc.
  • 【Excellence Customer Support】If you experience any issues or cable failure, simply reach out to our dedicated customer service team. We provide a prompt response within 18 hours, providing you with the necessary technical support to resolve any concerns.
java -version
./gradlew --version
grails --version

The Grails guide also documents SDKMAN installation with sdk install grails 8.0.0. Use the generated Application class and existing project structure; do not replace them with a separate Spring Boot entry point.

How do I configure a Grails 8 project for an external servlet container?

Apply the Gradle WAR plugin and keep Spring Boot’s Tomcat starter on the implementation classpath while putting the runtime starter in providedRuntime. This is the final Grails 8.0.0 recipe; an earlier release-candidate page used different wording and should not be copied into a final 8.0.0 build.

In build.gradle, use the following block (the Grails BOM supplies versions unless the project has opted out of BOM management):

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
plugins {
    id 'war'
}

dependencies {
    implementation 'org.springframework.boot:spring-boot-starter-tomcat'
    providedRuntime('org.springframework.boot:spring-boot-starter-tomcat-runtime') {
        exclude group: 'org.springframework.boot'
    }
}

Grails web plugins already configure Spring Boot packaging tasks, so an additional Spring Boot plugin version is not required. Review every other servlet-container dependency in the project for the same packaging treatment.

  • spring-boot-starter-tomcat remains implementation because Grails uses Spring Boot integration types when it registers beans. Those integration modules are packaged in WEB-INF/lib.
  • spring-boot-starter-tomcat-runtime identifies runtime components supplied by an external servlet container. The providedRuntime configuration places them in WEB-INF/lib-provided, outside the external container’s application library path, while retaining them for tests and for launching the same executable WAR with java -jar.
  • The exclusion applies only to that provided dependency. Changing the whole starter to providedRuntime would remove Spring Boot integration modules that the Grails application needs.
  • Do not substitute testImplementation for this Grails 8 arrangement if you expect the packaged WAR to remain executable with java -jar.

The Grails 8 guide’s external-container examples target Spring Boot 4.1 and Java 21 or later. Applications using Micronaut require Java 25 or later, which changes the runtime decision even though the WAR deployment mechanics remain similar.

How do I build the correct WAR file?

Build one release artifact, inspect it, and promote that same artifact through environments. Grails 8 explicitly says to deploy the bootWar output, not a *-plain.war.

./gradlew clean check bootWar

After a successful build, look in build/libs. A file such as myapp-0.1.war is the deployable artifact. A similarly named myapp-0.1-plain.war is not the file to hand to GlassFish. Keep the old known-good WAR so that you can redeploy it if the new release fails its post-deployment checks.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Grails production packaging defaults to the production environment unless you override it at build time. For a local standalone check, the guide shows:

java -Dgrails.env=prod -jar build/libs/myapp-0.1.war

JVM options such as -D properties and memory flags go before -jar; Spring Boot application arguments go after the archive name. The guide uses -Xmx768m as an example of flag placement, not as a GlassFish memory requirement. Size the heap for the workload and leave room for metaspace, thread stacks, direct buffers, native libraries, and the operating system.

How do I prepare Eclipse GlassFish 8?

GlassFish must be running before a remote-mode asadmin deploy command can work. The Release 8 documentation describes Eclipse GlassFish 8 as a Compatible Implementation of the Jakarta EE 11 Platform and lists Servlet 6.1.0 in its standards table.

Also popular on Amazon
Sale
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

The documented default installation directory is the user’s home directory plus /glassfish8/glassfish on Solaris, Linux, and macOS. On Windows it is SystemDrive:glassfish8glassfish. Domain configuration is under the installation’s domains directory. Use the asadmin executable from that installation, or put its bin directory on your path.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

GlassFish Release 8’s default listeners are:

Purpose Default port
HTTP listener 8080
HTTPS listener 8081
Administration Console 4848
Pure JMX clients 8686

A tutorial that uses port 9080 is not describing the defaults in the Release 8 table. Use the host port actually published by your server or container, and confirm any custom listener configuration before testing a URL.

How do I deploy the WAR with asadmin?

Use the GlassFish deploy subcommand in remote mode against the running domain. The deployment guide says that if an error occurs, the application or module is not deployed; a partial deployment is not a successful release.

From the GlassFish installation’s bin directory, or anywhere asadmin is available, run:

asadmin deploy /absolute/path/to/build/libs/myapp-0.1.war

The command returns a deployment-success message and an application name. If you want a stable administrative name, the deployment guide documents the --name option for asadmin deploy:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
asadmin deploy --name myapp /absolute/path/to/build/libs/myapp-0.1.war

A name supplied in the Administration Console or with --name takes precedence over a portable application-name or module-name in a Jakarta EE descriptor. Naming the application is separate from choosing its URL context root; do not assume that --name changes the URL path.

To replace an existing deployment, use redeploy or deploy with --force. The guide states that --force defaults to false. For an explicit replacement, keep the previous WAR available and choose the operation that matches your release process.

asadmin redeploy myapp
asadmin list-applications --type web
asadmin disable myapp
asadmin enable myapp
asadmin undeploy myapp

The published examples include the application name hellojsp for disable and undeploy operations; substitute your own deployed name.

What URL does the deployed Grails application use?

Unless you specify a context root through a GlassFish-supported deployment configuration, the default context root is the WAR filename without .war, and it must be unique within the server instance. A file named myapp-0.1.war therefore normally appears at:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
http://localhost:8080/myapp-0.1/

The GlassFish deployment guide states this default explicitly. The Docker documentation expresses the same rule as application.war becoming available at /application/.

Also popular on Amazon
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Do not carry over the Grails guide’s ROOT.war example from Tomcat and assume it forces the root context on GlassFish. That example is Tomcat-specific. The current GlassFish 8 deployment text retrieved for this procedure does not publish a current --contextroot example or a definitive Release 8 descriptor schema for forcing /. A 2020 article shows a GlassFish 3.1-era glassfish-web.xml descriptor, but that historical DTD is not confirmation of the GlassFish 8 schema. If a root or custom context is required, use the Release 8 Administration Console or the deployment-plan documentation that matches your exact GlassFish build, then verify the resulting URL.

Can I use GlassFish autodeploy?

Yes. Copy the WAR into the domain’s autodeploy directory, but treat this as a development convenience rather than the preferred production release mechanism.

cp build/libs/myapp-0.1.war <domain-dir>/autodeploy/

Autodeploy is enabled by default and is available only on the default server instance. GlassFish polls the directory every two seconds by default. The deployment guide shows changing that interval with:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
asadmin set server.admin-service.das-config.autodeploy-polling-interval-in-seconds=3

Removing the archive from the autodeploy directory undeploys it. Because deployment directories can change between GlassFish releases, resolve <domain-dir> from the active domain rather than copying a path from an older tutorial.

How do I deploy the WAR with the official GlassFish container image?

The Eclipse EE4J GlassFish Docker instructions publish the HTTP and administration ports and mount the WAR at /deploy:

docker run -p 8080:8080 -p 4848:4848 
  -v /deployment/application.war:/deploy/application.war 
  ghcr.io/eclipse-ee4j/glassfish

For a directory of applications, the same documentation shows:

docker run -p 8080:8080 -p 4848:4848 
  -v /deployments:/deploy 
  ghcr.io/eclipse-ee4j/glassfish

The image documentation says the WAR filename becomes the context path. Thus application.war is expected at http://localhost:8080/application/ when host port 8080 is published. The wiki also contains a browser example using port 9080 while its run command publishes 8080; use the port in the command you actually launch, not that inconsistent example.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A note on the same page describes an older layout under /opt/glassfish7/glassfish/domains/domain1/autodeploy and says /deploy became a link to that directory as of version 7.1.0. Do not assume that GlassFish 8 uses the version-7 path inside the image. Mount at the documented /deploy location and confirm the image tag’s layout if you need to inspect files directly.

For server-level debugging, the image documentation shows startserv --debug with port 9009 published, or startserv --suspend to wait for a debugger. That is GlassFish server debugging, not a Grails-specific deployment feature.

Which settings belong to GlassFish instead of Grails?

Once the WAR runs under an external server, GlassFish owns connectors, TLS, connection limits, and graceful application lifecycle. Spring Boot settings that control the embedded server do not configure GlassFish’s listeners.

Also popular on Amazon
BENFEI USB C Hub 5-in-1 with 4K HDMI(Certified), 100W Power Delivery, 3 USB-A, Silicone Cable, Aluminum Case Compatible with MacBook Pro/Air, iPad Pro, iMac, iPhone 15 Pro/Pro Max, XPS, Thinkpad
  • Portable and powerful USB-C HUB: BENFEI USB Type-C HUB, with super-soft and knot-free silicone woven design cable, meets most mobile office needs. Compact, lightweight, stylish, and powerful portable USB C Hub equipped with 1 x HDMI port, 1 x 100W charging, and 3 x USB ports. 18-month warranty, 24-hour response, to ensure you feel at ease when using our product.
  • Design centered on comfort and reliability: Thanks to BENFEI's end-to-end in-house cable production capability, in-house PCBA and assembly capability, using the industry's most advanced silicone woven design and process, 20cm cable in length, no knots, super-soft, the HUB is easy to use in all scenarios: laptop, tablet, stand etc. Super-soft, 25000+ life cycles, to meet your daily carrying and office needs.
  • 100W Charging: Support up to 90W USB C pass-through charging via Type-C port to keep your laptop powered. 10W is reserved for other interface operations. No data and video function on the Type-C port.
  • 4K HDMI Display: The HDMI port supports media display at resolutions up to 4K 30Hz, keeping every incredible moment detailed and ultra vivid. Please note that the C port of the Host device needs to support video output.
  • Transfer Files in Seconds: Transfer files and from your laptop at speeds up to 10 Gbps with USB A 3.2 port. Extra 2 USB A 2.0 ports are perfectly for your keyboards and mouse.

For example, Grails getting-started documentation shows an embedded context path in grails-app/conf/application.yml:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
server:
  servlet:
    context-path: /myapp

It also shows ./gradlew bootRun -Dgrails.server.servlet.context-path=/myapp. These settings are useful for bootRun and other embedded-server runs. They do not replace the external GlassFish context-root configuration, and they do not move GlassFish’s HTTP listener from port 8080.

Configure the following in GlassFish or the deployment platform:

  • HTTP and HTTPS listeners and their ports.
  • TLS certificates and protocol settings.
  • Connection limits, request limits, and timeout policy.
  • Graceful undeployment and shutdown behavior.
  • External configuration and secrets supplied to the deployment.

Do not use a JVM-wide -D property for a value that must differ between applications in the same domain. Grails’ deployment guide warns that JVM system properties apply to every application in a shared server JVM. Put per-application values in the platform’s external configuration instead.

What should I check immediately after deployment?

Use a short release checklist rather than relying only on the success line from asadmin:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
  1. Read the GlassFish startup and deployment logs for the application name and any class-loading, datasource, migration, or configuration errors.
  2. Confirm the application is listed with asadmin list-applications --type web.
  3. Open the URL formed from the actual GlassFish HTTP port and the WAR filename without .war, unless you deliberately configured another context root.
  4. Call a representative application endpoint and verify authentication, database access, and a normal response.
  5. Request static resources such as CSS, JavaScript, images, or a health endpoint.
  6. Exercise a controlled shutdown and redeployment in the release environment. Confirm that in-flight requests drain according to the GlassFish policy and that the replacement artifact starts cleanly.

If the browser cannot connect, check the published port first. If GlassFish reports a deployment error, treat the application as not deployed, inspect the server log, correct the WAR or configuration, and retry. If two applications collide, check that their context roots are unique within the server instance.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

How is the Grails 7.2.4 procedure different?

Do not apply the Grails 8 dependency block blindly to Grails 7.2.4. The maintained 7.2.4 line requires a Servlet 6.0.0-or-newer runtime container and has a shorter WAR recipe.

Create the WAR with either:

grails war
# or
./gradlew assemble

The output is in build/libs. The 7.2.4 guide also describes executable archives launched with:

java -Dgrails.env=prod -jar build/libs/mywar-0.1.war

For a production external container, change the embedded Tomcat dependency scope to:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
testImplementation "org.springframework.boot:spring-boot-starter-tomcat"

The 7.2.4 page does not document Grails 8’s spring-boot-starter-tomcat-runtime or WEB-INF/lib-provided arrangement. It also says that although any container meeting the minimum should be able to run Grails applications, container-specific bugs or configuration workarounds may still exist. Test the exact Grails, Java, and GlassFish combination you will operate.

Also popular on Amazon
𝟒𝐏𝐚𝐜𝐤 𝐔𝐩𝐠𝐫𝐚𝐝𝐞𝐝 USB to USB C Adapter,Type-C Female to A Male Charger Converter for iPhone 18 Charger,iWatch Ultra SE 9 10,iPhone 17 Pro Max 16 15 14,Samsung S25,AirPods,iPad,Car,Xbox
  • 【Read before You Buy】 Note: This adapter is USB 2.0 version and cannot transmit HDM, VGA, or other video signals. Nevertheless, they are fully capable of charging devices,duplicating files, and can be seamlessly integrated with USB-C earphones, wireless network adapters, and SD card adapters.
  • 【Easy to Use and Safe】Thanks to modern manufacturing techniques, we've made these adapters sufficiently compact so that they can remain inserted in your device without noticeable protrusion or inconvenience. This means you don't have to constantly plug and unplug them, reducing the likelihood of wear and misalignment, and making them more convenient to carry around.
  • 【Reliable Quality】Engineered for enhanced durability, durable aluminum alloy shell material,get excellent wear resistance and heat dissipation,the male USB C and female USB connectors & the male USB and female USB C connectors are designed to be plugged and unplugged up to 20000 times. Provides data transfer, device charging, memory space expansion, and additional computer peripherals.
  • 【Think more for you】Do you need to connect a USB-C-enabled device to an odd device that only has USB-A ports? Then these USB-A male to USB-C female adapters are made for you.Simply insert the adapter into the USB-A port on the device, and you can instantly connect your USB-C device to the device that originally didn't have the correct connection port.
  • 【Trusted xiwxi Quality and Service】As a responsible brand seller, you will receive xiwxi's 12-month Quality assurance and lifetime friendly customer service, you're not just buying a product,you're investing in peace of mind with all-round quality and exceptional customer service.

Grails 6.2.2 is a separate generation whose guide says runtime containers must support Servlet 3.0 or above and lists JDK 11 as the Grails 6 minimum in the newer requirements table. GlassFish 5 is a javax-era server, while GlassFish 6 and later use Jakarta namespaces; the supplied documentation does not establish a verified Grails 6-to-GlassFish major-version matrix. Follow the Grails 6.2.2 guide for that application instead of assuming the Grails 8 recipe works.

Why do older Grails-and-GlassFish tutorials look different?

Search results prominently surface procedures for Grails 1.x and GlassFish v2 or v3. They are historical, not shortcuts for Grails 7 or 8.

  • A 2008 CRUD example uses Grails 1.0.2, an early GlassFish release, and asadmin deploy crud-0.1.war.
  • A 2010 article for Grails 1.2.1 removes Log4j JARs in an events script and disables a JUL-to-SLF4J bridge so GlassFish logging remains in control.
  • An Oracle bundle readme documents grails run-app-gf, grails war, and grails shared-war for GlassFish v3.

Those class-loader and logging workarounds are tied to old Grails libraries and old GlassFish generations. They do not appear in the current Grails 7.2.4 or 8.0.0 deployment guides and can conflict with a Spring Boot WAR. For a Grails 8 application, use the final 8.0.0 packaging block and the GlassFish deployment mechanisms documented above.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

What is the safest production workflow?

A repeatable workflow separates build-time packaging from server-specific runtime configuration:

  1. Pin the Grails, Java, and GlassFish versions that satisfy the servlet and JDK floors.
  2. Run ./gradlew clean check bootWar from the application root.
  3. Archive the resulting bootWar file from build/libs; do not substitute the plain WAR.
  4. Supply environment-specific properties and secrets through the deployment platform.
  5. Deploy the unchanged artifact with remote-mode asadmin deploy to a running domain, or use the documented image mount when running GlassFish in a container.
  6. Verify logs, application status, URL, representative request, static resources, shutdown, and redeployment.
  7. Retain the previous artifact and its deployment metadata for rollback.

Choose autodeploy only when its default-instance and polling behavior fit a development workflow. In a shared domain, plan context roots and JVM-wide properties carefully because all applications share the server JVM and a context root cannot be duplicated.

Sources and version notes

The primary references are the Apache Grails 8.0.0 deployment chapter, Grails 8 getting started, Eclipse GlassFish 8 Application Deployment Guide, and Eclipse GlassFish 8 release notes. Spring’s traditional WAR deployment guidance is available in the Spring Boot 4.1.1 documentation.

The Grails documentation index lists 8.0.0, 7.2.4, 7.1.7, and 7.0.17 as current lines observed in November 2026. No Apache Grails or Eclipse GlassFish source cited here publishes an adoption percentage or success rate for Grails applications on GlassFish, so deployment decisions should be based on version compatibility, packaging behavior, and your own release validation rather than an unsupported market-share figure.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Frequently Asked Questions

Can several Grails applications run in one GlassFish domain?

Yes, provided each web module has a unique context root on the server instance. They share the GlassFish JVM, so a JVM system property is visible to every application; use external, per-application configuration for values that must differ.

What happens if a module inside the WAR fails during deployment?

GlassFish treats the deployment as unsuccessful. The deployment guide states that an error prevents the application or module from being deployed, so inspect the server log and correct the artifact or configuration before retrying.

Is the GlassFish Administration Console required for deployment?

No. A running domain can receive the WAR through remote-mode asadmin deploy, and development environments can use the default instance’s autodeploy directory. The console is useful for administering listeners, applications, and deployment settings, but it is not the only deployment path.

Can I run the same Grails 8 WAR without GlassFish?

Yes. With the Grails 8 dependency arrangement, the executable WAR can also be launched with java -jar for a standalone service. That process uses the embedded server and its settings; it is a different runtime from deploying the WAR into GlassFish.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply. Prices as of December 6, 2026 1:35 am GMT.