sofa-ark icon indicating copy to clipboard operation
sofa-ark copied to clipboard

telnet biz -u 卸载 然后在 telnet biz -i 出错为什么

Open zhanghongbin opened this issue 3 years ago • 3 comments

telnet biz -u 卸载 然后在 telnet biz -i 出错为什么

zhanghongbin avatar Jul 30 '22 00:07 zhanghongbin

要具体看什么报错

zjulbj avatar Aug 02 '22 07:08 zjulbj

要具体看什么报错

Unable to start web server; nested exception is java.lang.IllegalArgumentException: Child name [/biz] is not unique 卸载没有卸载干净吗?tomcat环境好像还加载着,这个怎么处理?

zhanghongbin avatar Aug 02 '22 11:08 zhanghongbin

要具体看什么报错

Unable to start web server; nested exception is java.lang.IllegalArgumentException: Child name [/biz] is not unique 卸载没有卸载干净吗?tomcat环境好像还加载着,这个怎么处理?

哪个demo,Spring 的demo里没有动态卸载能力,需要动态卸载能力,需要注册一个卸载的事件handler,可以参考 sofaboot 里的实现。

https://github.com/sofastack/sofa-boot/blob/b3770f2582657ae69667ede74e24d72c17ba16e9/sofa-boot-project/sofa-boot-core/runtime-sofa-boot/src/main/java/com/alipay/sofa/runtime/SofaBizUninstallEventHandler.java

lvjing2 avatar Aug 06 '22 09:08 lvjing2