grails - Grails 3 WAR部署服务器先决条件

标签 grails deployment war prerequisites grails3.2.0

我是Grails(v 3.2.3)的新手,我想知道grails 3 WAR通常需要在服务器上运行哪些先决条件:

我是否只需要安装Tomcat和JRE,还是要进行其他安装(例如GDK和grails)?

我试图从文档中找出
http://docs.grails.org/3.2.3/guide/deployment.html#deploymentContainer

它在这里说:

Application servers

Ideally you should be able to simply drop a WAR file created by Grails into any application server and it should work straight away. However, things are rarely ever this simple. The Grails website contains a list of application servers that Grails has been tested with, along with any additional steps required to get a Grails WAR file working.



该URL protected ,即使设置了帐户,我也无法访问:https://grails.org/Deployment

我知道这可能是“minimum requirements for a grails web application to be deployed”的副本,但我希望在“错误的”网络托管商下订单之前收集有关此主题的一些官方背景。

更新:

非常感谢您的答复。到目前为止,我还发现了这些内容,因此很明显,grails WAR甚至可以作为“独立” java应用程序运行

http://docs.grails.org/3.2.3/guide/gettingStarted.html#deployingAnApplication
grails war
java -Dgrails.env=prod -jar build/libs/mywar-0.1.war

http://docs.grails.org/3.2.3/guide/gettingStarted.html#supportedJavaEEContainers

最佳答案

我将Nginx用作Ubuntu 16.04中Tomcat 7的反向代理。但是,当然,使用Java 8的Grails 3应该在安装Tomcat 7之前安装。

您可以为生产部署服务器找到this short article

关于grails - Grails 3 WAR部署服务器先决条件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42316922/

相关文章:

ios - 如何在 iPhone 设备上部署 NeoMAD 应用程序并对其进行调试?

google-app-engine - 如何使用 gcloud 将具有依赖关系的 golang 应用程序部署到应用程序引擎?

debian - 如何为 Ubuntu 的 war 文件创建 debian 包

java - WAR - Gradle 多模块应用程序 - TypeNotPresentException

grails - Windows 2008 R2 tomcat 7中有多个 war 文件

grails - 使用三元运算符的Grails hasErrors方法?

sorting - GrailsWhere 具有多个排序字段的查询

ruby-on-rails - ActionView::MissingTemplate

grails - grails不会生成ant构建文件

grails - spring security acl 不比较按位权限