Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploying Grails App on Tomcat/Websphere

 
Bill Lee
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bill Lee
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gregg,

Thank you very much. It was the production settings in DataSources.groovy. Have a nice day.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic