Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

切换biz包 context path '/provider'和'/provider-1'均可以访问 #20

Open
wangxiaotao00 opened this issue Aug 26, 2022 · 4 comments

Comments

@wangxiaotao00
Copy link

是否是web服务接口未随biz包卸载尔卸载,或者是webContext未卸载?

@lvjing2
Copy link
Contributor

lvjing2 commented Aug 29, 2022

未卸载干净的原因吧

@wangxiaotao00
Copy link
Author

初步判断只要有biz包存在含未激活,都会出现webContext的服务接口可访问

@l10178
Copy link

l10178 commented Sep 8, 2022

在关于biz状态的解读里提到,biz的deactivated状态只对JVM服务生效,对RPC等其他中间件无效。
我的理解是,我们只是切换了dynamic-provider里的JVM服务,Http Rest Controller依然是都存在的,这也是为啥每次发布新版本都要改变web的context path。
以上理解,对吗。

@lvjing2
Copy link
Contributor

lvjing2 commented Oct 19, 2022

在关于biz状态的解读里提到,biz的deactivated状态只对JVM服务生效,对RPC等其他中间件无效。 我的理解是,我们只是切换了dynamic-provider里的JVM服务,Http Rest Controller依然是都存在的,这也是为啥每次发布新版本都要改变web的context path。 以上理解,对吗。

要改web context path 的原因,是因为复用同一个 tomcat,一个 tomcat 不能同时存在两个相同 contextPath 的child。可以先卸载然后再安装,是可以不用切换 context path

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants