You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2020/04/07 12:29:08 UTC

[GitHub] [servicecomb-java-chassis] liubao68 commented on issue #1695: CSE和Tomcat监听同一个端口,启动工程报错,端口冲突。请问如何处理?

liubao68 commented on issue #1695: CSE和Tomcat监听同一个端口,启动工程报错,端口冲突。请问如何处理?
URL: https://github.com/apache/servicecomb-java-chassis/issues/1695#issuecomment-610357748
 
 
   这个错误要看下初始化顺序了, 可能在初始化 tomcat 前, 进行了其他的加载,比如加载 servicecomb。 在 spring boot embeded tomcat 场景, 应该由 spring boot 加载 java-chassis, 才不会出现这种情况。 也可以先看下 [例子](https://github.com/apache/servicecomb-samples/tree/master/porter_springboot) 和 [文档](http://liubao68.gitee.io/servicecomb-java-chassis-doc/java-chassis/zh_CN/using-java-chassis-in-spring-boot/components-for-spring-boot/)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services