It's not a secret anymore!*
The moose likes Groovy and the fly likes Deploying Grails App on Tomcat/Websphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Languages » Groovy
Bookmark "Deploying Grails App on Tomcat/Websphere" Watch "Deploying Grails App on Tomcat/Websphere" New topic

Deploying Grails App on Tomcat/Websphere

Bill Lee

Joined: Feb 02, 2007
Posts: 20
I am new to Grails and have been working on an application with Oracle as back-end. Currently I have it deployed to the Jetty server, but I need to deploy it to tomcat or websphere. I am not sure if I have to change a setting in the Config.groovy file or if there is something, but any help would be appreciated. Thanks.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299

I can't speak for Websphere but as far as Tomcat goes, make sure your DataSources.groovy has the right DB info in the production settings, run grails war, and deploy the generated WAR.

GenRocket - Experts at Building Test Data
Bill Lee

Joined: Feb 02, 2007
Posts: 20

Thank you very much. It was the production settings in DataSources.groovy. Have a nice day.
I agree. Here's the link:
subject: Deploying Grails App on Tomcat/Websphere
Similar Threads
Retrieve values from a bean in JSP
Choosing web application framework
Version of Grails?
Introducing Grails in the Enterprise
How to sell Groovy in Java shop?