You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "BellaJiangxia (GitHub)" <gi...@apache.org> on 2018/11/16 04:55:13 UTC

[GitHub] [incubator-dubbo] BellaJiangxia opened issue #2792: dubbo如何清缓存?

最开始在服务器上部署了一个dubbo提供者的服务,然后在项目种删除掉该服务对应的dubbo配置文件,重新打包,为啥仍然可以注册服务成功?如何清除缓存?


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] carryxyh commented on issue #2792: dubbo如何清缓存?

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
没有配置文件应该是不能注册成功的。也不能启动成功。
不知道你想清理什么缓存,是zk的数据么

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
谁解决下?

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
可以成功,
![77 20d4hm_31b 2vp mb3](https://user-images.githubusercontent.com/31379334/48599167-81b61380-e9a1-11e8-82c9-7448145016d5.png)
最开始在有这个provider的时候通过
![s98_y5 30yj j0wkt u9wh](https://user-images.githubusercontent.com/31379334/48599192-9beff180-e9a1-11e8-9cb5-088e047cad23.png)这种方式部署上去了,admin可以显示,后面把这个provider删除了依然重新打包重新启动依然可以注册成功



[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
![fae db ojk_p555b 7yo0pr](https://user-images.githubusercontent.com/31379334/48599630-7c59c880-e9a3-11e8-8cdd-8f6b9d7dc685.png)


[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo] carryxyh commented on issue #2792: dubbo如何清缓存?

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
看一下打出来的包中是否还包含配置文件

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
![k0b 9nvna hx0 gf oehy](https://user-images.githubusercontent.com/31379334/48599417-84fdcf00-e9a2-11e8-8d66-7484af8a0021.png)
不存在了,会不会是我那个关闭服务的时候我是直接把命令窗口关了?还是要用命令关闭服务?

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
这文件有啥用

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
![_ v7 krfr8s 2 j e om 8](https://user-images.githubusercontent.com/31379334/48599638-87acf400-e9a3-11e8-8e5e-093ee53a7707.png)
发错了,是这个

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] carryxyh closed issue #2792: dubbo如何清缓存?

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
[ issue closed by carryxyh ]

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [incubator-dubbo] carryxyh commented on issue #2792: dubbo如何清缓存?

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
没有配置文件应该是不能注册成功的。
不知道你想清理什么缓存,是zk的数据么

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
![fae db ojk_p555b 7yo0pr](https://user-images.githubusercontent.com/31379334/48599506-e45bdf00-e9a2-11e8-8c31-b847aba26a6f.png)
这意思是wo我那个服务的进程没有关闭吗

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
我使用了注解,就是在测试注解的方式

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] carryxyh commented on issue #2792: dubbo如何清缓存?

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
删除配置文件之后重启可以成功么
不会注册成功的,没有zk的配置,怎么知道注册到哪个zk上呢,怎么还会有注册成功这一说。

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
应该是那个zookeeper的,我配置文件都删了,还能注册成功

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] carryxyh commented on issue #2792: dubbo如何清缓存?

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
这不是dubbo的问题。
dubbo默认不会在zk上创建持久节点,也不会缓存配置文件。没有配置文件的情况下更不会启动成功(没有使用注解的情况下)。请你检查自己的服务器部署的jar包是不是最新版本或者其他操作是否有问题。

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] carryxyh commented on issue #2792: dubbo如何清缓存?

Posted by "carryxyh (GitHub)" <gi...@apache.org>.
这不是dubbo的问题。
dubbo默认不会在zk上创建持久节点。没有配置文件的情况下更不会启动成功(没有使用注解的情况下)。请你检查自己的服务器部署的jar包是不是最新版本或者其他操作是否有问题。

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
好像是这个日志文件,我把他删了重新运行就不行了,为啥呢
![mm zn1 sm x h q _pm0 54](https://user-images.githubusercontent.com/31379334/48600155-bf1ca000-e9a5-11e8-80ae-5b69cdfb9d8a.png)
![62m5 0e bcu10gl_g roeb](https://user-images.githubusercontent.com/31379334/48600156-bfb53680-e9a5-11e8-9b5d-cf364bb20c20.png)



[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [incubator-dubbo] BellaJiangxia commented on issue #2792: dubbo如何清缓存?

Posted by "BellaJiangxia (GitHub)" <gi...@apache.org>.
启动服务是通过他自带的main方法启动的

[ Full content available at: https://github.com/apache/incubator-dubbo/issues/2792 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org