Deploy Grails Apps in 3 simple steps on Tomcat and MySQL « Maikel ...

For a Grails project we use Tomcat for our demo environment on Windows. Our Grails App is using MySQL as datasource. Here are 3 simple steps to get your Grails Apps deployed.

Needed Software

Java JRE version (We assume you have already Java installed, so that you can skip this step). If not  download and install WampServer 2.1e (32 bits) of WampServer 2.1d (64 bits) download Tomcat version 7.0.6. download And of course you need the Grails war file and probably some db scripts for MySQL database

Step 1 Installing WampServer

The WampServer package is delivered whith the latest releases of Apache, MySQL and PHP. Double click on the downloaded file and just follow the instructions. Everything is automatic. Once WampServer is installed, you can run some create- or datascripts to MySQL with the known phpMyAdmin tool. IMPORTANT : If port 80 is already in use, you can change the port in the httpd.conf file. Test if the url http://localhost/ is ok. Or if you change the port for example use http://localhost:99/

Step 2 Installing Tomcat

Installing Tomcat on Windows can be done easily using the Windows installer. Its interface and functionality is similar to other wizard based installers, with only a few items of interest. Installation as a service: Tomcat will be installed as a Windows service no matter what setting is selected. The installer will use the registry or the JAVA_HOME environment variable to determine the base path of a Java JRE. The installer will create shortcuts allowing starting and configuring Tomcat. It is important to note that the Tomcat administration web application can only be used when Tomcat is running. If   port 8080 is already in use you can change this during the install or later in the server.xml file in the Tomcat/conf directory. Test if the url http://localhost:8080/ is ok.


Deploying Grails Application In Tomcat - Bookshelf

The definitive guide to Grails

The definitive guide to Grails

For now, since we have readied our application for the production environment, ... you can quickly deploy your application by setting up Grails on your ...

Groovy and Grails Recipes

Groovy and Grails Recipes

The second part of this book covers Grails; a dynamic and agile web framework built using ... To run this application in Tomcat and to keep things simple, ...

Spring Persistence with Hibernate

Spring Persistence with Hibernate

This book gets you rolling with fundamental Spring Framework 3 concepts and integrating persistence functionality into enterprise Java applications using ...

The AppFuse Primer

The AppFuse Primer

I got excited about Apache Tomcat then, and a few years later I got excited about ... Everyone is always chasing the holy grail in application development. ...

Database Systems for Advanced Applications, 16th International Conference, DASFAA 2011 International Workshops: GDB, SIM3, FlashDB, SNSMW, DaMEN, DQIS, Hong Kong, China, April 22-25, 2011, Proceedings

Database Systems for Advanced Applications, 16th International Conference, DASFAA 2011 International Workshops: GDB, SIM3, FlashDB, SNSMW, DaMEN, DQIS, Hong Kong, China, April 22-25, 2011, Proceedings

The architecture is based on Grails 2, which is an Open Source framework to develop ... XML/GML/KML Visualisation Engine Application Tomcat Web Server Fig. ...

Daily Information Directory


Grails - Deployment
Grails is a high-productivity web framework based on the Groovy language that embraces ... However, for deploying to a Tomcat based Geronimo application server, you must also ...

Basic Apache Tomcat clustering for Grails applications ...
That means you can deploy Grails applications to a Tomcat cluster and in this article I'll show you how. ... In order to demonstrate clustering, we need an application to deploy. ...

Marc Palmer " Blog Archive " Deploying Grails applications on ...
I just saw this blog entry about deploying Grails apps on Tomcat. ... I have deployed Grails applications many times now on Tomcat 5.5 on remote servers that ...

Grails - dev - Deployment on TOMCAT 5.5 (Grails application war)
Hi, I'm trying to deploy on Tomcat 5.5 a Grails application war file but I received the following error. I need help, please. Grails Version...

[Grails]Fw:Basic Tomcat clustering for Grails applications
<h1>Basic Tomcat clustering for Grails applications</h1> ... That means you can deploy Grails applications to a Tomcat cluster and in this article ...