How to deploy Spring Cloud Gateway 2.1 on Jboss or Tomcat?

…衆ロ難τιáo~ 提交于 2019-12-13 03:06:02

问题


I want to a deploy Spring Cloud Gateway but it is built on Spring Framework 5, Project Reactor.

Can I create a WAR file and deploy it on a traditional application server such as Jboss or Tomcat.

The Spring documentation in this page says it is possible.

Spring WebFlux is supported on Tomcat, Jetty, Servlet 3.1+ containers

Note: this is Spring Cloud Gateway project link https://spring.io/projects/spring-cloud-gateway


回答1:


I don't think this is possible, as Spring Cloud Gateway is itself a Spring Boot WebFlux application and this use case is only supported with embedded servers, as mentioned in the Spring Boot reference documentation.



来源:https://stackoverflow.com/questions/54438851/how-to-deploy-spring-cloud-gateway-2-1-on-jboss-or-tomcat

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!