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

使用telnet biz -u 卸载,在重新安装 biz -i ,就出错误Unable to start web server; nested exception is java.lang.IllegalArgumentException: Child name [/biz] is not unique

Open zhanghongbin opened this issue 2 years ago • 1 comments

现在有两个biz base:1.0.0:activated spring-boot-ark-biz:0.0.1-SNAPSHOT:activated biz count = 2 卸载后为一个 base:1.0.0:activated biz count = 1 再重新安装出这个错误 Unable to start web server; nested exception is java.lang.IllegalArgumentException: Child name [/biz] is not unique 卸载没有卸载干净吗?tomcat环境好像还加载着,这个怎么处理?

zhanghongbin avatar Jul 18 '22 11:07 zhanghongbin

这个例子没有注册 com.alipay.sofa.ark.spi.event.biz.BeforeBizStopEvent,所以不具备动态卸载能力,sofaboot服务可以动态卸载。可以用这个demo试试https://github.com/sofastack-guides/sofa-ark-dynamic-guides

gaosaroma avatar Aug 04 '22 09:08 gaosaroma

同 #554

gaosaroma avatar Sep 16 '22 04:09 gaosaroma