NutzCN Logo
问答 集成dubbo 服务没有注册成功
发布于 2607天前 作者 qq_2df9dd31 5034 次浏览 复制 上一个帖子 下一个帖子
标签:

我现在在做服务注册这一块, 现在不需要web端消费者, 我只是单纯的想把服务注册到服务中心去, 没有这方面的资料或者实例吗

public interface IExService {
    String hello(String name);
    ExBO getExBO(String name);
实现类:@IocBean(name="exService")
public class ExService implements IExService {

    public ExService() {
        System.out.println("Hello in ex service.");
    }

    public String hello(String name) {
        return "hello:" + name;
    }

    public ExBO getExBO(String name) {
        ExBO exBO = new ExBO();
        exBO.setExStr(name);
        return exBO;
    }

dubbo-server.xml
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
       xsi:schemaLocation="http://www.springframework.org/schema/beans        http://www.springframework.org/schema/beans/spring-beans.xsd        http://code.alibabatech.com/schema/dubbo        http://code.alibabatech.com/schema/dubbo/dubbo.xsd">


    <dubbo:application name="xhd-server"/>

    <dubbo:registry address="zookeeper://localhost:2181"/>

    <dubbo:protocol name="dubbo" port="20880"/>

    <!-- ref对应bean的name属性 -->
    <dubbo:service id="exService" interface="com.xhd.shop.api.service.IExService" ref="exService"/>

</beans>

测试:
public class Runner {
    static Ioc ioc;
    public static void main(String[] args) throws ClassNotFoundException, InterruptedException {
        // 载入配置
        ComboIocLoader loader = new ComboIocLoader("*anno", "org.nutz.integration.dubbo.service","com.xhd",
                "*dubbo", "dubbo-server.xml");
        ioc = new NutIoc(loader);
        Thread.sleep(100000);
    }
51 回复
ioc = new NutIoc(loader);
ioc.get(DubboManager.class);
Thread.sleep(100000);

按照你说的 bean已经加载了 ,但是 1.服务并没有注册到zookeeper注册中心去,2.运行后会直接直接退出

报错了? 不然不会退出吧?

DEBUG 2017-09-10 14:41:36 [org.nutz.resource.Scans.printLocations(521)] - Locations count=38 time use 139ms
DEBUG 2017-09-10 14:41:36 [org.nutz.resource.Scans.scan(274)] - Found 0 resource by src( org/nutz/integration/dubbo/service/ ) , regex( ^.+[.]class$ )
DEBUG 2017-09-10 14:41:36 [org.nutz.resource.Scans.scan(274)] - Found 4 resource by src( com/xhd/ ) , regex( ^.+[.]class$ )
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(76)] - Found @IocBean : class com.xhd.shop.service.ex.ExService
DEBUG 2017-09-10 14:41:36 [org.nutz.castor.Castors.reload(115)] - Using 95 castor for Castors
INFO  2017-09-10 14:41:36 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(52)] - Found 1 classes in 2 base-packages!
beans = ["exService"]
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(110)] - found dubbo -- org.nutz.integration.dubbo.DubboIocLoader
INFO  2017-09-10 14:41:36 [com.alibaba.dubbo.common.logger.LoggerFactory.?(?)] - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
INFO  2017-09-10 14:41:36 [org.nutz.ioc.impl.NutIoc.<init>(98)] - NutIoc init begin ...
INFO  2017-09-10 14:41:36 [org.nutz.ioc.impl.NutIoc.<init>(115)] - ... NutIoc init complete
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.aop.SimpleAopMaker.<init>(79)] - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubboManager
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubboManager) in DubboIocLoader@1364614850
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.DubboManager without AOP
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubboManager' to [app] 
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'exService'<class com.alibaba.dubbo.config.ServiceConfig>
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=exService
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exService) in AnnotationIocLoader(packages=[org.nutz.integration.dubbo.service, com.xhd])
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'exService'<class com.alibaba.dubbo.config.ServiceConfig>
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.xhd.shop.service.ex.ExService without AOP
DEBUG 2017-09-10 14:41:36 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'exService' to [app] 
Hello in ex service.

执行main方法 日志打印没报错 就是注册中心没信息

"运行后会直接直接退出" 是什么意思?

本来dubbo启动后,不是一直在运行状态不是么, 现在他运行完 马上就没了, dubbo也看不到信息

try catch看看是不是抛异常了

没有异常信息

要是不抛异常, 这程序起码会跑100秒. 起码能走到Thread.sleep,然后停100秒

try catch没写对? 要 catch (Throwable e)

我注释那句了 就是跑完就退出 也没抛异常信息

public static void main(String[] args) {
        // 载入配置
        try{
        ComboIocLoader loader = new ComboIocLoader("*anno", "org.nutz.integration.dubbo.service","com.xhd",
                "*dubbo", "dubbo-server.xml");
        ioc = new NutIoc(loader);
        ioc.get(DubboManager.class);
        //Thread.sleep(1000000);
        }catch (Throwable e){
            e.printStackTrace();
        }
    }

日志一样:
DEBUG 2017-09-10 14:53:04 [org.nutz.resource.Scans.printLocations(521)] - Locations count=38 time use 98ms
DEBUG 2017-09-10 14:53:04 [org.nutz.resource.Scans.scan(274)] - Found 0 resource by src( org/nutz/integration/dubbo/service/ ) , regex( ^.+[.]class$ )
DEBUG 2017-09-10 14:53:04 [org.nutz.resource.Scans.scan(274)] - Found 4 resource by src( com/xhd/ ) , regex( ^.+[.]class$ )
DEBUG 2017-09-10 14:53:04 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(76)] - Found @IocBean : class com.xhd.shop.service.ex.ExService
DEBUG 2017-09-10 14:53:04 [org.nutz.castor.Castors.reload(115)] - Using 95 castor for Castors
INFO  2017-09-10 14:53:04 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(52)] - Found 1 classes in 2 base-packages!
beans = ["exService"]
DEBUG 2017-09-10 14:53:04 [org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(110)] - found dubbo -- org.nutz.integration.dubbo.DubboIocLoader
INFO  2017-09-10 14:53:17 [com.alibaba.dubbo.common.logger.LoggerFactory.?(?)] - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
INFO  2017-09-10 14:53:20 [org.nutz.ioc.impl.NutIoc.<init>(98)] - NutIoc init begin ...
INFO  2017-09-10 14:53:20 [org.nutz.ioc.impl.NutIoc.<init>(115)] - ... NutIoc init complete
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.aop.SimpleAopMaker.<init>(79)] - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubboManager
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubboManager) in DubboIocLoader@1083962448
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.DubboManager without AOP
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubboManager' to [app] 
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'exService'<class com.alibaba.dubbo.config.ServiceConfig>
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=exService
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exService) in AnnotationIocLoader(packages=[org.nutz.integration.dubbo.service, com.xhd])
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'exService'<class com.alibaba.dubbo.config.ServiceConfig>
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.xhd.shop.service.ex.ExService without AOP
DEBUG 2017-09-10 14:53:20 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'exService' to [app] 
Hello in ex service.
INFO  2017-09-10 14:53:21 [com.alibaba.dubbo.config.AbstractConfig.run(450)] -  [DUBBO] Run shutdown hook now., dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-10 14:53:21 [com.alibaba.dubbo.registry.support.AbstractRegistryFactory.destroyAll(63)] -  [DUBBO] Close all registries [], dubbo version: 2.5.3, current host: 127.0.0.1

我晕... 是要Thread.sleep的啊, 不sleep的话main方法就退出了, 程序就结束了

1.dubbo分为服务提供方:jar服务实现; 服务消费方(WEB工程),服务提供方需要打包成自启动的jar以便实现应用集群布署,这个启动服务代码是生产还是只是测试代码?我对nutz不太熟悉望解释清楚一点哈,谢谢啦。
2.我使用的是zookeeper作为注册中心实现,上面代码启动后即使加了Thread.sleep但zookeeper还是看不到服务有注册进去啊。我是用ZkCli,cmd 连接zookeeper ls /dubbo命令查看不到服务有注册进去。

看看有无监听20880端口

C:\Users\guojx>netstat -an | findstr 2088

C:\Users\guojx>

// 改一下名字
@IocBean(name="exServiceLocal")

然后贴日志

DEBUG 2017-09-10 15:13:18 [org.nutz.resource.Scans.printLocations(521)] - Locations count=38 time use 99ms
DEBUG 2017-09-10 15:13:18 [org.nutz.resource.Scans.scan(274)] - Found 0 resource by src( org/nutz/integration/dubbo/service/ ) , regex( ^.+[.]class$ )
DEBUG 2017-09-10 15:13:18 [org.nutz.resource.Scans.scan(274)] - Found 4 resource by src( com/xhd/ ) , regex( ^.+[.]class$ )
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(76)] - Found @IocBean : class com.xhd.shop.service.ex.ExService
DEBUG 2017-09-10 15:13:19 [org.nutz.castor.Castors.reload(115)] - Using 95 castor for Castors
INFO  2017-09-10 15:13:19 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(52)] - Found 1 classes in 2 base-packages!
beans = ["exServiceLocal"]
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(110)] - found dubbo -- org.nutz.integration.dubbo.DubboIocLoader
INFO  2017-09-10 15:13:19 [com.alibaba.dubbo.common.logger.LoggerFactory.?(?)] - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
INFO  2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.<init>(98)] - NutIoc init begin ...
INFO  2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.<init>(115)] - ... NutIoc init complete
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.aop.SimpleAopMaker.<init>(79)] - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubboManager
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubboManager) in DubboIocLoader@1364614850
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.DubboManager without AOP
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubboManager' to [app] 
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'exService'<class com.alibaba.dubbo.config.ServiceConfig>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=exService
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exService) in DubboIocLoader@1364614850
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'exService'<class com.alibaba.dubbo.config.ServiceConfig>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.ServiceBean without AOP
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'exService' to [app] 
DEBUG 2017-09-10 15:13:19 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Protocol$Adpative implements com.alibaba.dubbo.rpc.Protocol {
public void destroy() {throw new UnsupportedOperationException("method public abstract void com.alibaba.dubbo.rpc.Protocol.destroy() of interface com.alibaba.dubbo.rpc.Protocol is not adaptive method!");
}
public int getDefaultPort() {throw new UnsupportedOperationException("method public abstract int com.alibaba.dubbo.rpc.Protocol.getDefaultPort() of interface com.alibaba.dubbo.rpc.Protocol is not adaptive method!");
}
public com.alibaba.dubbo.rpc.Invoker refer(java.lang.Class arg0, com.alibaba.dubbo.common.URL arg1) throws java.lang.Class {
if (arg1 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg1;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.Protocol) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.Protocol extension = (com.alibaba.dubbo.rpc.Protocol)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.Protocol.class).getExtension(extName);
return extension.refer(arg0, arg1);
}
public com.alibaba.dubbo.rpc.Exporter export(com.alibaba.dubbo.rpc.Invoker arg0) throws com.alibaba.dubbo.rpc.Invoker {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.Protocol) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.Protocol extension = (com.alibaba.dubbo.rpc.Protocol)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.Protocol.class).getExtension(extName);
return extension.export(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:19 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ProxyFactory$Adpative implements com.alibaba.dubbo.rpc.ProxyFactory {
public com.alibaba.dubbo.rpc.Invoker getInvoker(java.lang.Object arg0, java.lang.Class arg1, com.alibaba.dubbo.common.URL arg2) throws java.lang.Object {
if (arg2 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg2;
String extName = url.getParameter("proxy", "javassist");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.ProxyFactory) name from url(" + url.toString() + ") use keys([proxy])");
com.alibaba.dubbo.rpc.ProxyFactory extension = (com.alibaba.dubbo.rpc.ProxyFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.ProxyFactory.class).getExtension(extName);
return extension.getInvoker(arg0, arg1, arg2);
}
public java.lang.Object getProxy(com.alibaba.dubbo.rpc.Invoker arg0) throws com.alibaba.dubbo.rpc.Invoker {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = url.getParameter("proxy", "javassist");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.ProxyFactory) name from url(" + url.toString() + ") use keys([proxy])");
com.alibaba.dubbo.rpc.ProxyFactory extension = (com.alibaba.dubbo.rpc.ProxyFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.ProxyFactory.class).getExtension(extName);
return extension.getProxy(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'exServiceLocal'<>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=exServiceLocal
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exServiceLocal) in AnnotationIocLoader(packages=[org.nutz.integration.dubbo.service, com.xhd])
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'exServiceLocal'<>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.xhd.shop.service.ex.ExService without AOP
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'exServiceLocal' to [app] 
Hello in ex service.
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_iobjs'<>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_iobjs
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_iobjs) in DubboIocLoader@1364614850
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_iobjs'<>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class java.lang.Object without AOP
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_iobjs' to [app] 
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_application'<class com.alibaba.dubbo.config.ApplicationConfig>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_application
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_application) in DubboIocLoader@1364614850
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_application'<class com.alibaba.dubbo.config.ApplicationConfig>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.alibaba.dubbo.config.ApplicationConfig without AOP
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_application' to [app] 
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_registry'<class com.alibaba.dubbo.config.RegistryConfig>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_registry
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_registry) in DubboIocLoader@1364614850
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_registry'<class com.alibaba.dubbo.config.RegistryConfig>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.alibaba.dubbo.config.RegistryConfig without AOP
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_registry' to [app] 
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo'<class com.alibaba.dubbo.config.ProtocolConfig>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo) in DubboIocLoader@1364614850
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo'<class com.alibaba.dubbo.config.ProtocolConfig>
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.alibaba.dubbo.config.ProtocolConfig without AOP
DEBUG 2017-09-10 15:13:19 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo' to [app] 
DEBUG 2017-09-10 15:13:20 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.cache;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class CacheFactory$Adpative implements com.alibaba.dubbo.cache.CacheFactory {
public com.alibaba.dubbo.cache.Cache getCache(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("cache", "lru");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.cache.CacheFactory) name from url(" + url.toString() + ") use keys([cache])");
com.alibaba.dubbo.cache.CacheFactory extension = (com.alibaba.dubbo.cache.CacheFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.cache.CacheFactory.class).getExtension(extName);
return extension.getCache(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:20 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.monitor;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class MonitorFactory$Adpative implements com.alibaba.dubbo.monitor.MonitorFactory {
public com.alibaba.dubbo.monitor.Monitor getMonitor(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.monitor.MonitorFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.monitor.MonitorFactory extension = (com.alibaba.dubbo.monitor.MonitorFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.monitor.MonitorFactory.class).getExtension(extName);
return extension.getMonitor(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:20 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.validation;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Validation$Adpative implements com.alibaba.dubbo.validation.Validation {
public com.alibaba.dubbo.validation.Validator getValidator(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("validation", "jvalidation");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.validation.Validation) name from url(" + url.toString() + ") use keys([validation])");
com.alibaba.dubbo.validation.Validation extension = (com.alibaba.dubbo.validation.Validation)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.validation.Validation.class).getExtension(extName);
return extension.getValidator(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-10 15:13:20 [com.alibaba.dubbo.config.AbstractConfig.exportLocal(510)] -  [DUBBO] Export dubbo service com.xhd.shop.api.service.IExService to local registry, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-10 15:13:20 [com.alibaba.dubbo.config.AbstractConfig.doExportUrlsFor1Protocol(470)] -  [DUBBO] Export dubbo service com.xhd.shop.api.service.IExService to url dubbo://192.168.1.32:20880/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=22428&side=provider&timestamp=1505027599857, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-10 15:13:20 [com.alibaba.dubbo.config.AbstractConfig.doExportUrlsFor1Protocol(481)] -  [DUBBO] Register dubbo service com.xhd.shop.api.service.IExService url dubbo://192.168.1.32:20880/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=22428&side=provider&timestamp=1505027599857 to registry registry://localhost:2181/com.alibaba.dubbo.registry.RegistryService?application=xhd-server&dubbo=2.5.3&pid=22428&registry=zookeeper&timestamp=1505027599827, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:20 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc.cluster;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Cluster$Adpative implements com.alibaba.dubbo.rpc.cluster.Cluster {
public com.alibaba.dubbo.rpc.Invoker join(com.alibaba.dubbo.rpc.cluster.Directory arg0) throws com.alibaba.dubbo.rpc.cluster.Directory {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.cluster.Directory argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.cluster.Directory argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = url.getParameter("cluster", "failover");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.cluster.Cluster) name from url(" + url.toString() + ") use keys([cluster])");
com.alibaba.dubbo.rpc.cluster.Cluster extension = (com.alibaba.dubbo.rpc.cluster.Cluster)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.cluster.Cluster.class).getExtension(extName);
return extension.join(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:20 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.registry;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class RegistryFactory$Adpative implements com.alibaba.dubbo.registry.RegistryFactory {
public com.alibaba.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.registry.RegistryFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.registry.RegistryFactory extension = (com.alibaba.dubbo.registry.RegistryFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.registry.RegistryFactory.class).getExtension(extName);
return extension.getRegistry(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:20 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.remoting;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Transporter$Adpative implements com.alibaba.dubbo.remoting.Transporter {
public com.alibaba.dubbo.remoting.Client connect(com.alibaba.dubbo.common.URL arg0, com.alibaba.dubbo.remoting.ChannelHandler arg1) throws com.alibaba.dubbo.common.URL {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("client", url.getParameter("transporter", "netty"));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.Transporter) name from url(" + url.toString() + ") use keys([client, transporter])");
com.alibaba.dubbo.remoting.Transporter extension = (com.alibaba.dubbo.remoting.Transporter)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.Transporter.class).getExtension(extName);
return extension.connect(arg0, arg1);
}
public com.alibaba.dubbo.remoting.Server bind(com.alibaba.dubbo.common.URL arg0, com.alibaba.dubbo.remoting.ChannelHandler arg1) throws com.alibaba.dubbo.common.URL {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("server", url.getParameter("transporter", "netty"));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.Transporter) name from url(" + url.toString() + ") use keys([server, transporter])");
com.alibaba.dubbo.remoting.Transporter extension = (com.alibaba.dubbo.remoting.Transporter)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.Transporter.class).getExtension(extName);
return extension.bind(arg0, arg1);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:20 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.remoting;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Dispatcher$Adpative implements com.alibaba.dubbo.remoting.Dispatcher {
public com.alibaba.dubbo.remoting.ChannelHandler dispatch(com.alibaba.dubbo.remoting.ChannelHandler arg0, com.alibaba.dubbo.common.URL arg1) {
if (arg1 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg1;
String extName = url.getParameter("dispatcher", url.getParameter("dispather", url.getParameter("channel.handler", "all")));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.Dispatcher) name from url(" + url.toString() + ") use keys([dispatcher, dispather, channel.handler])");
com.alibaba.dubbo.remoting.Dispatcher extension = (com.alibaba.dubbo.remoting.Dispatcher)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.Dispatcher.class).getExtension(extName);
return extension.dispatch(arg0, arg1);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:20 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.common.threadpool;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ThreadPool$Adpative implements com.alibaba.dubbo.common.threadpool.ThreadPool {
public java.util.concurrent.Executor getExecutor(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("threadpool", "fixed");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.common.threadpool.ThreadPool) name from url(" + url.toString() + ") use keys([threadpool])");
com.alibaba.dubbo.common.threadpool.ThreadPool extension = (com.alibaba.dubbo.common.threadpool.ThreadPool)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.common.threadpool.ThreadPool.class).getExtension(extName);
return extension.getExecutor(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:20 [org.jboss.netty.channel.socket.nio.NioProviderMetadata.debug(70)] -  [DUBBO] Using the autodetected NIO constraint level: 0, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-10 15:13:20 [com.alibaba.dubbo.remoting.transport.AbstractServer.<init>(69)] -  [DUBBO] Start NettyServer bind /0.0.0.0:20880, export /192.168.1.32:20880, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:20 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.remoting.zookeeper;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ZookeeperTransporter$Adpative implements com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter {
public com.alibaba.dubbo.remoting.zookeeper.ZookeeperClient connect(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("client", url.getParameter("transporter", "zkclient"));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter) name from url(" + url.toString() + ") use keys([client, transporter])");
com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter extension = (com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter.class).getExtension(extName);
return extension.connect(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-10 15:13:21 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.loadProperties(232)] -  [DUBBO] Load registry store file C:\Users\guojx\.dubbo\dubbo-registry-localhost.cache, data: {com.sunivo.messagecenter.services.IEmailSendService:1.0.0=empty://192.168.1.32:9090/com.sunivo.messagecenter.services.IEmailSendService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.messagecenter.services.IEmailSendService&methods=sendEmail&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963288019&version=1.0.0, com.sunivo.nutzdubbo.services.IHelloService:1.0.0=empty://192.168.1.32:9090/com.sunivo.nutzdubbo.services.IHelloService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.nutzdubbo.services.IHelloService&methods=sayHello&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963287512&version=1.0.0, com.sunivo.nutzdubbo.services.IPetService:1.0.1=empty://192.168.1.32:9090/com.sunivo.nutzdubbo.services.IPetService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.nutzdubbo.services.IPetService&methods=createPet&pid=15248&revision=1.0.1&side=provider&threads=200&timestamp=1504963283970&version=1.0.1, com.sunivo.nutzdubbo.services.IPetService:1.0.0=empty://192.168.1.32:9090/com.sunivo.nutzdubbo.services.IPetService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.nutzdubbo.services.IPetService&methods=createPet&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963283066&version=1.0.0, com.xhd.api.service.IHelloXhdService:1.0.0=empty://192.168.1.32:9090/com.xhd.api.service.IHelloXhdService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.xhd.api.service.IHelloXhdService&methods=hello&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963287730&version=1.0.0}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:21 [org.I0Itec.zkclient.ZkConnection.connect(63)] - Creating new ZookKeeper instance to connect to localhost:2181.
INFO  2017-09-10 15:13:21 [org.I0Itec.zkclient.ZkEventThread.run(64)] - Starting ZkClient event thread.
DEBUG 2017-09-10 15:13:21 [org.I0Itec.zkclient.ZkClient.connect(874)] - Awaiting connection to Zookeeper server
DEBUG 2017-09-10 15:13:21 [org.I0Itec.zkclient.ZkClient.waitForKeeperState(628)] - Waiting for keeper state SyncConnected
DEBUG 2017-09-10 15:13:21 [org.I0Itec.zkclient.ZkClient.process(351)] - Received event: WatchedEvent state:SyncConnected type:None path:null
INFO  2017-09-10 15:13:21 [org.I0Itec.zkclient.ZkClient.processStateChanged(449)] - zookeeper state changed (SyncConnected)
DEBUG 2017-09-10 15:13:21 [org.I0Itec.zkclient.ZkClient.process(395)] - Leaving process event
DEBUG 2017-09-10 15:13:21 [org.I0Itec.zkclient.ZkClient.waitForKeeperState(638)] - State is SyncConnected
INFO  2017-09-10 15:13:21 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.register(302)] -  [DUBBO] Register: dubbo://192.168.1.32:20880/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=22428&side=provider&timestamp=1505027599857, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-10 15:13:21 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.subscribe(325)] -  [DUBBO] Subscribe: provider://192.168.1.32:20880/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&category=configurators&check=false&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=22428&side=provider&timestamp=1505027599857, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-10 15:13:21 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.notify(422)] -  [DUBBO] Notify urls for subscribe url provider://192.168.1.32:20880/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&category=configurators&check=false&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=22428&side=provider&timestamp=1505027599857, urls: [empty://192.168.1.32:20880/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&category=configurators&check=false&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=22428&side=provider&timestamp=1505027599857], dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:21 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc.cluster;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class RouterFactory$Adpative implements com.alibaba.dubbo.rpc.cluster.RouterFactory {
public com.alibaba.dubbo.rpc.cluster.Router getRouter(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getProtocol();
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.cluster.RouterFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.cluster.RouterFactory extension = (com.alibaba.dubbo.rpc.cluster.RouterFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.cluster.RouterFactory.class).getExtension(extName);
return extension.getRouter(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-10 15:13:21 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc.cluster;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ConfiguratorFactory$Adpative implements com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory {
public com.alibaba.dubbo.rpc.cluster.Configurator getConfigurator(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getProtocol();
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory extension = (com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory.class).getExtension(extName);
return extension.getConfigurator(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1

Creating new ZookKeeper instance to connect to localhost:2181

似乎ok了? 看看注册了没

可以了 注册到dubbo里面去了, 想问问你这个改了bean的名字就可以是什么, 还有一个thred.sleep生产的时候总不能这样搞吧- -

插件生成的代理IocBean的名字是接口名,然后首字母小写,刚好跟你定义的名字重复了

这样写咯, 需要自动关掉的时候就把KEEP_RUNNING设置为false

while (Global.KEEP_RUNNING) {
   Lang.quiteSleep(5000);
}

现在是服务端啦

测试用例

public class Runner {
    Logger logger = LoggerFactory.getLogger(getClass());
    Ioc ioc;

    @Before
    public void init() {
        // 载入配置
        try{
        ComboIocLoader loader = new ComboIocLoader("*anno", "org.nutz.integration.dubbo.service","com.xhd",
                "*dubbo", "dubbo-client.xml");
        ioc = new NutIoc(loader);
        ioc.get(DubboManager.class);
            while (true) {
                Lang.quiteSleep(5000);
            }
        }catch (Throwable e){
            e.printStackTrace();
        }
    }
    @Test
    public void test() {
        IExService exService = ioc.get(IExService.class, "exService");
        String res = exService.hello("guoguo");a
        logger.info("res: {}", res);
    }
}

dubbo-client.xml

<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:dubbo="http://code.alibabatech.com/schema/dubbo"
       xsi:schemaLocation="http://www.springframework.org/schema/beans        http://www.springframework.org/schema/beans/spring-beans.xsd        http://code.alibabatech.com/schema/dubbo        http://code.alibabatech.com/schema/dubbo/dubbo.xsd">


    <dubbo:application name="xhd-manage"/>

    <dubbo:registry address="zookeeper://localhost:2181" register="false"/>

    <!-- ref对应bean的name属性 -->
    <dubbo:reference id="exService" interface="com.xhd.shop.api.service.IExService" />

</beans>

启动的日志为什么没有我想要的呢

Connected to the target VM, address: '127.0.0.1:57948', transport: 'socket'
DEBUG 2017-09-10 15:42:47 [org.nutz.resource.Scans.printLocations(521)] - Locations count=43 time use 139ms
DEBUG 2017-09-10 15:42:47 [org.nutz.resource.Scans.scan(274)] - Found 0 resource by src( org/nutz/integration/dubbo/service/ ) , regex( ^.+[.]class$ )
DEBUG 2017-09-10 15:42:47 [org.nutz.resource.Scans.scan(274)] - Found 2 resource by src( com/xhd/ ) , regex( ^.+[.]class$ )
WARN  2017-09-10 15:42:47 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(57)] - NONE Annotation-Class found!! Check your ioc configure!! packages=[org.nutz.integration.dubbo.service, com.xhd]
DEBUG 2017-09-10 15:42:47 [org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(110)] - found dubbo -- org.nutz.integration.dubbo.DubboIocLoader
INFO  2017-09-10 15:42:48 [com.alibaba.dubbo.common.logger.LoggerFactory.?(?)] - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
INFO  2017-09-10 15:42:48 [org.nutz.ioc.impl.NutIoc.<init>(98)] - NutIoc init begin ...
INFO  2017-09-10 15:42:48 [org.nutz.ioc.impl.NutIoc.<init>(115)] - ... NutIoc init complete
DEBUG 2017-09-10 15:42:48 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-10 15:42:48 [org.nutz.ioc.aop.SimpleAopMaker.<init>(79)] - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
DEBUG 2017-09-10 15:42:48 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubboManager
DEBUG 2017-09-10 15:42:48 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubboManager) in DubboIocLoader@135640095
DEBUG 2017-09-10 15:42:48 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-10 15:42:48 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.DubboManager without AOP
DEBUG 2017-09-10 15:42:48 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubboManager' to [app] 
DEBUG 2017-09-10 15:42:48 [org.nutz.castor.Castors.reload(115)] - Using 95 castor for Castors

。。。。

客户端客户端...

还是名字的问题

id="exService" 不能跟接口名称一样, 换一下就好了

今天写了在client写了一个小小的demo....
对框架不是很熟 抛出了这个异常 望指导一下

WARN  2017-09-11 11:51:51 [org.nutz.mvc.impl.processor.FailProcessor.process(28)] - Error@/index/hello :
org.nutz.ioc.IocException: IocBean[indexModule] throw Exception when creating
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:116)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.EncodingProcessor.process(EncodingProcessor.java:27)
	at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
	at org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor.process(UpdateRequestAttributesProcessor.java:15)
	at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:44)
	at org.nutz.mvc.impl.ActionInvoker.invoke(ActionInvoker.java:67)
	at org.nutz.mvc.ActionHandler.handle(ActionHandler.java:31)
	at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:202)
	at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:536)
	at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:915)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:539)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:212)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:405)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:582)
Caused by: java.lang.RuntimeException: IocBean[indexModule] fail at field=[exService]
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:56)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:135)
	... 28 more
Caused by: org.nutz.ioc.IocException: IocBean[class:com.xhd.shop.api.service.IExService] none ioc bean match class=com.xhd.shop.api.service.IExService
	at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:399)
	at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
	at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
	... 30 more

nutzmore里面有demo, 先把demo跑一下吧

nutzmore 服务已经写入 client启动 报错


org.nutz.ioc.IocException: IocBean[dubboWayService] throw Exception when creating at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:150) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239) at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146) at org.nutz.integration.dubbo.service.DubboClientTest.test_simple_hi(DubboClientTest.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78) at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) Caused by: org.nutz.lang.InvokingException: Fail to invoke [org.nutz.integration.dubbo.ReferenceBean].get() by args: For the reason: Failed to check the status of the service net.wendal.nutzbook.service.DubboWayService. No provider available for the service net.wendal.nutzbook.service.DubboWayService from the url zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?application=nutzcn-client&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886 to the consumer 192.168.1.163 use dubbo version 2.5.3 at org.nutz.lang.Invoking.invoke(Invoking.java:195) at org.nutz.lang.Mirror.invoke(Mirror.java:1120) at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:78) at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67) at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:115) ... 28 more Caused by: java.lang.IllegalStateException: Failed to check the status of the service net.wendal.nutzbook.service.DubboWayService. No provider available for the service net.wendal.nutzbook.service.DubboWayService from the url zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?application=nutzcn-client&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886 to the consumer 192.168.1.163 use dubbo version 2.5.3 at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:420) at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:300) at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:138) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.nutz.lang.Invoking$NullArgInvoker.invoke(Invoking.java:77) at org.nutz.lang.Invoking.invoke(Invoking.java:192) ... 32 more [INFO ] 13:36:50.910 com.alibaba.dubbo.config.AbstractConfig$1.run(AbstractConfig.java:450) - [DUBBO] Run shutdown hook now., dubbo version: 2.5.3, current host: 192.168.1.163 [INFO ] 13:36:50.911 com.alibaba.dubbo.registry.support.AbstractRegistryFactory.destroyAll(AbstractRegistryFactory.java:63) - [DUBBO] Close all registries [zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?application=nutzcn-client&dubbo=2.5.3&interface=com.alibaba.dubbo.registry.RegistryService&pid=26136&register=false&timestamp=1505108209957], dubbo version: 2.5.3, current host: 192.168.1.163 [INFO ] 13:36:50.912 com.alibaba.dubbo.registry.support.AbstractRegistry.destroy(AbstractRegistry.java:485) - [DUBBO] Destroy registry:zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?application=nutzcn-client&dubbo=2.5.3&interface=com.alibaba.dubbo.registry.RegistryService&pid=26136&register=false&timestamp=1505108209957, dubbo version: 2.5.3, current host: 192.168.1.163 [INFO ] 13:36:50.912 com.alibaba.dubbo.registry.support.AbstractRegistry.unsubscribe(AbstractRegistry.java:343) - [DUBBO] Unsubscribe: consumer://192.168.1.163/net.wendal.nutzbook.service.DubboWayService?application=nutzcn-client&category=providers,configurators,routers&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886, dubbo version: 2.5.3, current host: 192.168.1.163 [INFO ] 13:36:50.912 com.alibaba.dubbo.registry.support.AbstractRegistry.destroy(AbstractRegistry.java:510) - [DUBBO] Destroy unsubscribe url consumer://192.168.1.163/net.wendal.nutzbook.service.DubboWayService?application=nutzcn-client&category=providers,configurators,routers&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886, dubbo version: 2.5.3, current host: 192.168.1.163 [DEBUG] 13:36:50.913 org.I0Itec.zkclient.ZkClient.close(ZkClient.java:915) - Closing ZkClient... [INFO ] 13:36:50.913 org.I0Itec.zkclient.ZkEventThread.run(ZkEventThread.java:82) - Terminate ZkClient event thread. [DEBUG] 13:36:50.913 org.I0Itec.zkclient.ZkConnection.close(ZkConnection.java:77) - Closing ZooKeeper connected to localhost:2181 [DEBUG] 13:36:50.913 org.apache.zookeeper.ZooKeeper.close(ZooKeeper.java:527) - Closing session: 0x15e6e9c33ff0048 [DEBUG] 13:36:50.913 org.apache.zookeeper.ClientCnxn.close(ClientCnxn.java:1287) - Closing client for session: 0x15e6e9c33ff0048 [DEBUG] 13:36:50.935 org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:838) - Reading reply sessionid:0x15e6e9c33ff0048, packet:: clientPath:null serverPath:null finished:false header:: 16,-11 replyHeader:: 16,1467,0 request:: null response:: null [DEBUG] 13:36:50.936 org.apache.zookeeper.ClientCnxn.disconnect(ClientCnxn.java:1271) - Disconnecting client for session: 0x15e6e9c33ff0048 [DEBUG] 13:36:50.936 org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1147) - An exception was thrown while closing send thread for session 0x15e6e9c33ff0048 : Unable to read additional data from server sessionid 0x15e6e9c33ff0048, likely server has closed socket [INFO ] 13:36:50.936 org.apache.zookeeper.ZooKeeper.close(ZooKeeper.java:538) - Session: 0x15e6e9c33ff0048 closed [INFO ] 13:36:50.936 org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:520) - EventThread shut down [DEBUG] 13:36:50.936 org.I0Itec.zkclient.ZkClient.close(ZkClient.java:928) - Closing ZkClient...done Process finished with exit code -1

不连zk的时候正常不?

application对应上了吗?

好像你默认是广播哩 application没问题 demo跑不起来,, 自己的跑起来了....

哦? 找到原因了?

是啊 新手不太理解nutz的ioc加载,,可能我的server是个jar而已,改了自己的方法居然行了,,, 不过现在好像 事务不知道为啥不行,, 在IocBy 上加了一个*tx 启动就报错

贴完整@IocBy和报错信息

另外,路径中不能带空格,中文等特殊字符,不然容易出诡异的问题

这个是我服务提供方的, 因为我消费者web工程不需要关注事务 是吧?


public class Runner { static Log log = Logs.get(); static Ioc ioc; public static void main(String[] args) { // 载入配置 try { ComboIocLoader loader = new ComboIocLoader("*anno","*tx", "com.xhd", "*dubbo", "dubbo-server.xml", "*js","ioc/dao.js"); ioc = new NutIoc(loader); DBSetup(ioc); ioc.get(DubboManager.class); while (true) { Lang.quiteSleep(5000); } } catch (Throwable e) { e.printStackTrace(); } } private static void DBSetup(Ioc ioc) { Dao dao = ioc.get(Dao.class); Daos.createTablesInPackage(dao, "com.xhd", false); log.info("hello dbsetup start..."); }
错误信息:
WARN  2017-09-11 15:57:01 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(57)] - NONE Annotation-Class found!! Check your ioc configure!! packages=[]
org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.aop.interceptor.ioc.TransIocLoader'
 by args: [@(com.xhd)]
 because: No suitable Constructor or Factory Method!!
	at org.nutz.lang.Mirror.born(Mirror.java:988)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:118)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:80)
	at com.xhd.shop.service.runner.Runner.main(Runner.java:23)

Process finished with exit code 0

去掉 *tx,,一切又正常了。。。

ComboIocLoader loader = new ComboIocLoader("*anno",,  "com.xhd",
                    "*dubbo", "dubbo-server.xml", "*js","ioc/dao.js","*tx");

米字开头是类名或缩写,然后接着是0个或多个参数,然后再到下一个米字开头的类名或缩写及参数,不能随意穿插的。

好棒呀 可以了~~~ 谢谢大佬

这个.. 为什么我写了一个简单的http请求 第一次请求的时间会很长,,然后接下去就不会了。
接口是这样

 @At("/say")
    @Ok("json")
    public String  getFK(@Param("name")String name){
        return storeInfoUCC.sayHello(name);
    }

日志是这样

DEBUG 2017-09-11 16:15:06 [org.nutz.mvc.impl.UrlMappingImpl.get(101)] - Found mapping for [GET] path=/index/say : IndexModule.getFK(IndexModule.java:28)
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=indexModule
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(indexModule) in AnnotationIocLoader(packages=[com.xhd])
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.xhd.shop.manage.module.IndexModule without AOP
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'indexModule' to [app] 
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.val.ReferTypeValue.get(64)] - name=exService not found, search for type=com.xhd.shop.api.service.IExService
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.map.MapLoader.load(67)] - Loading define for name=dao
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dao) in JsonLoader(paths=[ioc/])
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(indexModule) in AnnotationIocLoader(packages=[com.xhd])
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubboManager) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_iobjs) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_application) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_registry) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exServiceLocal) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'exServiceLocal'<interface com.xhd.shop.api.service.IExService>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=exServiceLocal
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exServiceLocal) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'exServiceLocal'<interface com.xhd.shop.api.service.IExService>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'exServiceLocal' to [app] 
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_reference_exServiceLocal'<>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_reference_exServiceLocal
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_reference_exServiceLocal) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_reference_exServiceLocal'<>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.ReferenceBean without AOP
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_reference_exServiceLocal' to [app] 
DEBUG 2017-09-11 16:15:06 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Protocol$Adpative implements com.alibaba.dubbo.rpc.Protocol {
public void destroy() {throw new UnsupportedOperationException("method public abstract void com.alibaba.dubbo.rpc.Protocol.destroy() of interface com.alibaba.dubbo.rpc.Protocol is not adaptive method!");
}
public int getDefaultPort() {throw new UnsupportedOperationException("method public abstract int com.alibaba.dubbo.rpc.Protocol.getDefaultPort() of interface com.alibaba.dubbo.rpc.Protocol is not adaptive method!");
}
public com.alibaba.dubbo.rpc.Exporter export(com.alibaba.dubbo.rpc.Invoker arg0) throws com.alibaba.dubbo.rpc.Invoker {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.Protocol) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.Protocol extension = (com.alibaba.dubbo.rpc.Protocol)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.Protocol.class).getExtension(extName);
return extension.export(arg0);
}
public com.alibaba.dubbo.rpc.Invoker refer(java.lang.Class arg0, com.alibaba.dubbo.common.URL arg1) throws java.lang.Class {
if (arg1 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg1;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.Protocol) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.Protocol extension = (com.alibaba.dubbo.rpc.Protocol)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.Protocol.class).getExtension(extName);
return extension.refer(arg0, arg1);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 16:15:06 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc.cluster;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Cluster$Adpative implements com.alibaba.dubbo.rpc.cluster.Cluster {
public com.alibaba.dubbo.rpc.Invoker join(com.alibaba.dubbo.rpc.cluster.Directory arg0) throws com.alibaba.dubbo.rpc.cluster.Directory {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.cluster.Directory argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.cluster.Directory argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = url.getParameter("cluster", "failover");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.cluster.Cluster) name from url(" + url.toString() + ") use keys([cluster])");
com.alibaba.dubbo.rpc.cluster.Cluster extension = (com.alibaba.dubbo.rpc.cluster.Cluster)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.cluster.Cluster.class).getExtension(extName);
return extension.join(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 16:15:06 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ProxyFactory$Adpative implements com.alibaba.dubbo.rpc.ProxyFactory {
public java.lang.Object getProxy(com.alibaba.dubbo.rpc.Invoker arg0) throws com.alibaba.dubbo.rpc.Invoker {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = url.getParameter("proxy", "javassist");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.ProxyFactory) name from url(" + url.toString() + ") use keys([proxy])");
com.alibaba.dubbo.rpc.ProxyFactory extension = (com.alibaba.dubbo.rpc.ProxyFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.ProxyFactory.class).getExtension(extName);
return extension.getProxy(arg0);
}
public com.alibaba.dubbo.rpc.Invoker getInvoker(java.lang.Object arg0, java.lang.Class arg1, com.alibaba.dubbo.common.URL arg2) throws java.lang.Object {
if (arg2 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg2;
String extName = url.getParameter("proxy", "javassist");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.ProxyFactory) name from url(" + url.toString() + ") use keys([proxy])");
com.alibaba.dubbo.rpc.ProxyFactory extension = (com.alibaba.dubbo.rpc.ProxyFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.ProxyFactory.class).getExtension(extName);
return extension.getInvoker(arg0, arg1, arg2);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_iobjs'<>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_iobjs
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_iobjs) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_iobjs'<>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class java.lang.Object without AOP
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_iobjs' to [app] 
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_application'<class com.alibaba.dubbo.config.ApplicationConfig>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_application
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_application) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_application'<class com.alibaba.dubbo.config.ApplicationConfig>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.alibaba.dubbo.config.ApplicationConfig without AOP
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_application' to [app] 
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_registry'<class com.alibaba.dubbo.config.RegistryConfig>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_registry
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_registry) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_registry'<class com.alibaba.dubbo.config.RegistryConfig>
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.alibaba.dubbo.config.RegistryConfig without AOP
DEBUG 2017-09-11 16:15:06 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_registry' to [app] 
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.registry;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class RegistryFactory$Adpative implements com.alibaba.dubbo.registry.RegistryFactory {
public com.alibaba.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.registry.RegistryFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.registry.RegistryFactory extension = (com.alibaba.dubbo.registry.RegistryFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.registry.RegistryFactory.class).getExtension(extName);
return extension.getRegistry(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.remoting.zookeeper;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ZookeeperTransporter$Adpative implements com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter {
public com.alibaba.dubbo.remoting.zookeeper.ZookeeperClient connect(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("client", url.getParameter("transporter", "zkclient"));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter) name from url(" + url.toString() + ") use keys([client, transporter])");
com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter extension = (com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter.class).getExtension(extName);
return extension.connect(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-11 16:15:07 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.loadProperties(232)] -  [DUBBO] Load registry store file C:\Users\guojx\.dubbo\dubbo-registry-localhost.cache, data: {com.xhd.shop.api.service.IExService=empty://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=configurators&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=19340&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117500631 empty://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=19340&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117500631 dubbo://192.168.1.163:20881/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=19324&side=provider&timestamp=1505117382244, com.xhd.shop.api.service.storeinfo.IStoreInfoUCC=empty://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=configurators&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=19340&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117501482 empty://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=19340&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117501482 dubbo://192.168.1.163:20881/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?anyhost=true&application=xhd-server&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=19324&side=provider&timestamp=1505117381414, net.wendal.nutzbook.service.DubboWayService=empty://192.168.1.163/net.wendal.nutzbook.service.DubboWayService?application=nutzcn-client&category=configurators&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886 empty://192.168.1.163/net.wendal.nutzbook.service.DubboWayService?application=nutzcn-client&category=routers&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886 empty://192.168.1.163/net.wendal.nutzbook.service.DubboWayService?application=nutzcn-client&category=providers&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886, com.xhd.api.service.IHelloXhdService:1.0.0=empty://192.168.1.32:9090/com.xhd.api.service.IHelloXhdService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.xhd.api.service.IHelloXhdService&methods=hello&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963287730&version=1.0.0, com.sunivo.nutzdubbo.services.IHelloService:1.0.0=empty://192.168.1.32:9090/com.sunivo.nutzdubbo.services.IHelloService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.nutzdubbo.services.IHelloService&methods=sayHello&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963287512&version=1.0.0, org.nutz.integration.dubbo.service.DemoService=empty://192.168.1.163:54779/org.nutz.integration.dubbo.service.DemoService?anyhost=true&application=hello-world-app&category=configurators&check=false&dubbo=2.5.3&interface=org.nutz.integration.dubbo.service.DemoService&methods=hi&notify=false&pid=25296&side=provider&timestamp=1505108197444, com.sunivo.nutzdubbo.services.IPetService:1.0.1=empty://192.168.1.32:9090/com.sunivo.nutzdubbo.services.IPetService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.nutzdubbo.services.IPetService&methods=createPet&pid=15248&revision=1.0.1&side=provider&threads=200&timestamp=1504963283970&version=1.0.1, com.sunivo.nutzdubbo.services.IPetService:1.0.0=empty://192.168.1.32:9090/com.sunivo.nutzdubbo.services.IPetService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.nutzdubbo.services.IPetService&methods=createPet&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963283066&version=1.0.0, com.sunivo.messagecenter.services.IEmailSendService:1.0.0=empty://192.168.1.32:9090/com.sunivo.messagecenter.services.IEmailSendService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.messagecenter.services.IEmailSendService&methods=sendEmail&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963288019&version=1.0.0}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 16:15:07 [org.I0Itec.zkclient.ZkConnection.connect(63)] - Creating new ZookKeeper instance to connect to localhost:2181.
INFO  2017-09-11 16:15:07 [org.I0Itec.zkclient.ZkEventThread.run(64)] - Starting ZkClient event thread.
DEBUG 2017-09-11 16:15:07 [org.I0Itec.zkclient.ZkClient.connect(874)] - Awaiting connection to Zookeeper server
DEBUG 2017-09-11 16:15:07 [org.I0Itec.zkclient.ZkClient.waitForKeeperState(628)] - Waiting for keeper state SyncConnected
DEBUG 2017-09-11 16:15:07 [org.I0Itec.zkclient.ZkClient.process(351)] - Received event: WatchedEvent state:SyncConnected type:None path:null
INFO  2017-09-11 16:15:07 [org.I0Itec.zkclient.ZkClient.processStateChanged(449)] - zookeeper state changed (SyncConnected)
DEBUG 2017-09-11 16:15:07 [org.I0Itec.zkclient.ZkClient.process(395)] - Leaving process event
DEBUG 2017-09-11 16:15:07 [org.I0Itec.zkclient.ZkClient.waitForKeeperState(638)] - State is SyncConnected
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc.cluster;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class RouterFactory$Adpative implements com.alibaba.dubbo.rpc.cluster.RouterFactory {
public com.alibaba.dubbo.rpc.cluster.Router getRouter(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getProtocol();
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.cluster.RouterFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.cluster.RouterFactory extension = (com.alibaba.dubbo.rpc.cluster.RouterFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.cluster.RouterFactory.class).getExtension(extName);
return extension.getRouter(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc.cluster;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ConfiguratorFactory$Adpative implements com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory {
public com.alibaba.dubbo.rpc.cluster.Configurator getConfigurator(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getProtocol();
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory extension = (com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory.class).getExtension(extName);
return extension.getConfigurator(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-11 16:15:07 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.subscribe(325)] -  [DUBBO] Subscribe: consumer://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=providers,configurators,routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707028, dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 16:15:07 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.notify(422)] -  [DUBBO] Notify urls for subscribe url consumer://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=providers,configurators,routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707028, urls: [dubbo://192.168.1.163:20881/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=19324&side=provider&timestamp=1505117382244, empty://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=configurators&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707028, empty://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707028], dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.remoting;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Transporter$Adpative implements com.alibaba.dubbo.remoting.Transporter {
public com.alibaba.dubbo.remoting.Client connect(com.alibaba.dubbo.common.URL arg0, com.alibaba.dubbo.remoting.ChannelHandler arg1) throws com.alibaba.dubbo.common.URL {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("client", url.getParameter("transporter", "netty"));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.Transporter) name from url(" + url.toString() + ") use keys([client, transporter])");
com.alibaba.dubbo.remoting.Transporter extension = (com.alibaba.dubbo.remoting.Transporter)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.Transporter.class).getExtension(extName);
return extension.connect(arg0, arg1);
}
public com.alibaba.dubbo.remoting.Server bind(com.alibaba.dubbo.common.URL arg0, com.alibaba.dubbo.remoting.ChannelHandler arg1) throws com.alibaba.dubbo.common.URL {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("server", url.getParameter("transporter", "netty"));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.Transporter) name from url(" + url.toString() + ") use keys([server, transporter])");
com.alibaba.dubbo.remoting.Transporter extension = (com.alibaba.dubbo.remoting.Transporter)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.Transporter.class).getExtension(extName);
return extension.bind(arg0, arg1);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.remoting;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Dispatcher$Adpative implements com.alibaba.dubbo.remoting.Dispatcher {
public com.alibaba.dubbo.remoting.ChannelHandler dispatch(com.alibaba.dubbo.remoting.ChannelHandler arg0, com.alibaba.dubbo.common.URL arg1) {
if (arg1 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg1;
String extName = url.getParameter("dispatcher", url.getParameter("dispather", url.getParameter("channel.handler", "all")));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.Dispatcher) name from url(" + url.toString() + ") use keys([dispatcher, dispather, channel.handler])");
com.alibaba.dubbo.remoting.Dispatcher extension = (com.alibaba.dubbo.remoting.Dispatcher)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.Dispatcher.class).getExtension(extName);
return extension.dispatch(arg0, arg1);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.common.threadpool;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ThreadPool$Adpative implements com.alibaba.dubbo.common.threadpool.ThreadPool {
public java.util.concurrent.Executor getExecutor(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("threadpool", "fixed");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.common.threadpool.ThreadPool) name from url(" + url.toString() + ") use keys([threadpool])");
com.alibaba.dubbo.common.threadpool.ThreadPool extension = (com.alibaba.dubbo.common.threadpool.ThreadPool)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.common.threadpool.ThreadPool.class).getExtension(extName);
return extension.getExecutor(arg0);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 16:15:07 [com.alibaba.dubbo.remoting.transport.AbstractClient.connect(287)] -  [DUBBO] Successed connect to server /192.168.1.163:20881 from NettyClient 192.168.1.163 using dubbo version 2.5.3, channel is NettyChannel [channel=[id: 0x49c8a3d6, /192.168.1.163:51858 => /192.168.1.163:20881]], dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 16:15:07 [com.alibaba.dubbo.remoting.transport.AbstractClient.<init>(105)] -  [DUBBO] Start NettyClient DESKTOP-1RNH2VH/192.168.1.163 connect to the server /192.168.1.163:20881, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.cache;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class CacheFactory$Adpative implements com.alibaba.dubbo.cache.CacheFactory {
public com.alibaba.dubbo.cache.Cache getCache(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("cache", "lru");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.cache.CacheFactory) name from url(" + url.toString() + ") use keys([cache])");
com.alibaba.dubbo.cache.CacheFactory extension = (com.alibaba.dubbo.cache.CacheFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.cache.CacheFactory.class).getExtension(extName);
return extension.getCache(arg0);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.monitor;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class MonitorFactory$Adpative implements com.alibaba.dubbo.monitor.MonitorFactory {
public com.alibaba.dubbo.monitor.Monitor getMonitor(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.monitor.MonitorFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.monitor.MonitorFactory extension = (com.alibaba.dubbo.monitor.MonitorFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.monitor.MonitorFactory.class).getExtension(extName);
return extension.getMonitor(arg0);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:07 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.validation;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Validation$Adpative implements com.alibaba.dubbo.validation.Validation {
public com.alibaba.dubbo.validation.Validator getValidator(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("validation", "jvalidation");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.validation.Validation) name from url(" + url.toString() + ") use keys([validation])");
com.alibaba.dubbo.validation.Validation extension = (com.alibaba.dubbo.validation.Validation)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.validation.Validation.class).getExtension(extName);
return extension.getValidator(arg0);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 16:15:07 [com.alibaba.dubbo.config.AbstractConfig.createProxy(423)] -  [DUBBO] Refer dubbo service com.xhd.shop.api.service.IExService from url zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=xhd-manage&check=false&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707028, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.val.ReferTypeValue.get(64)] - name=storeInfoUCC not found, search for type=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.map.MapLoader.load(67)] - Loading define for name=dao
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dao) in JsonLoader(paths=[ioc/])
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(indexModule) in AnnotationIocLoader(packages=[com.xhd])
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubboManager) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_iobjs) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_application) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_registry) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exServiceLocal) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(storeInfoUCCLocal) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'storeInfoUCCLocal'<interface com.xhd.shop.api.service.storeinfo.IStoreInfoUCC>
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=storeInfoUCCLocal
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(storeInfoUCCLocal) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'storeInfoUCCLocal'<interface com.xhd.shop.api.service.storeinfo.IStoreInfoUCC>
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'storeInfoUCCLocal' to [app] 
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_reference_storeInfoUCCLocal'<>
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_reference_storeInfoUCCLocal
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_reference_storeInfoUCCLocal) in DubboIocLoader@1655081931
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_reference_storeInfoUCCLocal'<>
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.ReferenceBean without AOP
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_reference_storeInfoUCCLocal' to [app] 
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_iobjs'<>
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_application'<class com.alibaba.dubbo.config.ApplicationConfig>
DEBUG 2017-09-11 16:15:07 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_registry'<class com.alibaba.dubbo.config.RegistryConfig>
INFO  2017-09-11 16:15:07 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.subscribe(325)] -  [DUBBO] Subscribe: consumer://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=providers,configurators,routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707752, dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 16:15:07 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.notify(422)] -  [DUBBO] Notify urls for subscribe url consumer://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=providers,configurators,routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707752, urls: [dubbo://192.168.1.163:20881/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?anyhost=true&application=xhd-server&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=19324&side=provider&timestamp=1505117381414, empty://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=configurators&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707752, empty://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707752], dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 16:15:07 [com.alibaba.dubbo.config.AbstractConfig.createProxy(423)] -  [DUBBO] Refer dubbo service com.xhd.shop.api.service.storeinfo.IStoreInfoUCC from url zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=xhd-manage&check=false&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=13660&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505117707752, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:08 [com.alibaba.dubbo.remoting.transport.DecodeHandler.decode(60)] -  [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:08 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/say 1389ms
DEBUG 2017-09-11 16:15:12 [org.nutz.mvc.impl.UrlMappingImpl.get(101)] - Found mapping for [GET] path=/index/say : IndexModule.getFK(IndexModule.java:28)
DEBUG 2017-09-11 16:15:12 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 16:15:12 [com.alibaba.dubbo.remoting.transport.DecodeHandler.decode(60)] -  [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:12 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/say 7ms
DEBUG 2017-09-11 16:15:20 [org.nutz.mvc.impl.UrlMappingImpl.get(101)] - Found mapping for [GET] path=/index/say : IndexModule.getFK(IndexModule.java:28)
DEBUG 2017-09-11 16:15:20 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 16:15:20 [com.alibaba.dubbo.remoting.transport.DecodeHandler.decode(60)] -  [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:20 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/say 4ms
DEBUG 2017-09-11 16:15:24 [org.nutz.mvc.impl.UrlMappingImpl.get(101)] - Found mapping for [GET] path=/index/say : IndexModule.getFK(IndexModule.java:28)
DEBUG 2017-09-11 16:15:24 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 16:15:24 [com.alibaba.dubbo.remoting.transport.DecodeHandler.decode(60)] -  [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:24 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/say 5ms
DEBUG 2017-09-11 16:16:41 [com.alibaba.dubbo.remoting.exchange.support.header.HeartbeatHandler.received(72)] -  [DUBBO] Received heartbeat from remote channel /192.168.1.163:20881, cause: The channel has no data-transmission exceeds a heartbeat period: 60000ms, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:17:41 [com.alibaba.dubbo.remoting.exchange.support.header.HeartbeatHandler.received(72)] -  [DUBBO] Received heartbeat from remote channel /192.168.1.163:20881, cause: The channel has no data-transmission exceeds a heartbeat period: 60000ms, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:18:41 [com.alibaba.dubbo.remoting.exchange.support.header.HeartbeatHandler.received(72)] -  [DUBBO] Received heartbeat from remote channel /192.168.1.163:20881, cause: The channel has no data-transmission exceeds a heartbeat period: 60000ms, dubbo version: 2.5.3, current host: 192.168.1.163

很久是多久,在日志里面分析出来

DEBUG 2017-09-11 16:15:08 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/say 1389ms
DEBUG 2017-09-11 16:15:12 [org.nutz.mvc.impl.UrlMappingImpl.get(101)] - Found mapping for [GET] path=/index/say : IndexModule.getFK(IndexModule.java:28)
DEBUG 2017-09-11 16:15:12 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 16:15:12 [com.alibaba.dubbo.remoting.transport.DecodeHandler.decode(60)] -  [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:12 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/say 7ms
DEBUG 2017-09-11 16:15:20 [org.nutz.mvc.impl.UrlMappingImpl.get(101)] - Found mapping for [GET] path=/index/say : IndexModule.getFK(IndexModule.java:28)
DEBUG 2017-09-11 16:15:20 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 16:15:20 [com.alibaba.dubbo.remoting.transport.DecodeHandler.decode(60)] -  [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:20 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/say 4ms
DEBUG 2017-09-11 16:15:24 [org.nutz.mvc.impl.UrlMappingImpl.get(101)] - Found mapping for [GET] path=/index/say : IndexModule.getFK(IndexModule.java:28)
DEBUG 2017-09-11 16:15:24 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 16:15:24 [com.alibaba.dubbo.remoting.transport.DecodeHandler.decode(60)] -  [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 16:15:24 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/say 5ms

日志通通调到trace吧😄

"C:\Program Files\Java\jdk1.8.0_131\bin\java" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51281,suspend=y,server=n -Dmaven.multiModuleProjectDirectory=G:\xhd\xhd-shop\xhd-manage "-Dmaven.home=E:\Program Files\JetBrains\IntelliJ IDEA 173.2099.14\plugins\maven\lib\maven3" "-Dclassworlds.conf=E:\Program Files\JetBrains\IntelliJ IDEA 173.2099.14\plugins\maven\lib\maven3\bin\m2.conf" -Dfile.encoding=UTF-8 -classpath "E:\Program Files\JetBrains\IntelliJ IDEA 173.2099.14\plugins\maven\lib\maven3\boot\plexus-classworlds-2.5.2.jar;E:\Program Files\JetBrains\IntelliJ IDEA 173.2099.14\lib\idea_rt.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.3 jetty:run
Connected to the target VM, address: '127.0.0.1:51281', transport: 'socket'
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building xhd-manage 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> maven-jetty-plugin:6.1.21:run (default-cli) > test-compile @ xhd-manage >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ xhd-manage ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 5 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ xhd-manage ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to G:\xhd\xhd-shop\xhd-manage\target\classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ xhd-manage ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory G:\xhd\xhd-shop\xhd-manage\src\test\resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ xhd-manage ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< maven-jetty-plugin:6.1.21:run (default-cli) < test-compile @ xhd-manage <<<
[INFO] 
[INFO] --- maven-jetty-plugin:6.1.21:run (default-cli) @ xhd-manage ---
[INFO] Configuring Jetty for project: xhd-manage
[INFO] Webapp source directory = G:\xhd\xhd-shop\xhd-manage\src\main\webapp
[INFO] Reload Mechanic: automatic
[INFO] Classes = G:\xhd\xhd-shop\xhd-manage\target\classes
[INFO] Logging to org.slf4j.impl.SimpleLogger(org.mortbay.log) via org.mortbay.log.Slf4jLog
[INFO] Context path = /xhd-manage
[INFO] Tmp directory =  determined at runtime
[INFO] Web defaults = org/mortbay/jetty/webapp/webdefault.xml
[INFO] Web overrides =  none
[INFO] web.xml file = G:\xhd\xhd-shop\xhd-manage\src\main\webapp\WEB-INF\web.xml
[INFO] Webapp directory = G:\xhd\xhd-shop\xhd-manage\src\main\webapp
[INFO] Starting jetty 6.1.21 ...
[INFO] jetty-6.1.21
[INFO] No Transaction manager found - if your webapp requires one, please configure one.
INFO  2017-09-11 17:10:26 [org.nutz.mvc.NutFilter._init(85)] - NutFilter[nutz] starting ...
DEBUG 2017-09-11 17:10:26 [org.nutz.resource.Scans.printLocations(521)] - Locations count=4 time use 7ms
INFO  2017-09-11 17:10:26 [org.nutz.resource.impl.ErrorResourceLocation.<init>(28)] - [loc=G:\xhd\xhd-shop\xhd-manage\src\main\webapp\WEB-INF\classes]not exist
DEBUG 2017-09-11 17:10:26 [org.nutz.resource.Scans.printLocations(521)] - Locations count=5 time use 2ms
DEBUG 2017-09-11 17:10:26 [org.nutz.castor.Castors.reload(115)] - Using 95 castor for Castors
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.config.AbstractNutConfig.createLoading(59)] - Loading by class org.nutz.mvc.impl.NutLoading
INFO  2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(55)] - Nutz Version : 1.r.62 
INFO  2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(56)] - Nutz.Mvc[nutz] is initializing ...
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(60)] - Web Container Information:
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(61)] -  - Default Charset : UTF-8
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(62)] -  - Current . path  : G:\xhd\xhd-shop\xhd-manage\.
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(63)] -  - Java Version    : 1.8.0_131
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(64)] -  - File separator  : \
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(65)] -  - Timezone        : Asia/Shanghai
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(66)] -  - OS              : Windows 10 amd64
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(67)] -  - ServerInfo      : jetty/6.1.21
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(68)] -  - Servlet API     : 2.5
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(73)] -  - ContextPath     : /xhd-manage
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(74)] -  - context.tempdir : G:\xhd\xhd-shop\xhd-manage\target\work
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(75)] -  - MainModule      : com.xhd.shop.manage.module.MainModule
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.createContext(235)] - >> app.root = G:/xhd/xhd-shop/xhd-manage/src/main/webapp
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.createIoc(376)] - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.xhd", "*dubbo", "dubbo-client.xml"],init=[])
DEBUG 2017-09-11 17:10:26 [org.nutz.resource.Scans.scan(274)] - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.loader.json.JsonLoader.<init>(49)] - loading [dao.js]
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.loader.json.JsonLoader.<init>(57)] - Loaded 1 bean define from path=[ioc/] --> [dao]
DEBUG 2017-09-11 17:10:26 [org.nutz.resource.Scans.scan(274)] - Found 8 resource by src( com/xhd/ ) , regex( ^.+[.]class$ )
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(76)] - Found @IocBean : class com.xhd.shop.manage.module.IndexModule
INFO  2017-09-11 17:10:26 [org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(52)] - Found 1 classes in 1 base-packages!
beans = ["indexModule"]
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(110)] - found dubbo -- org.nutz.integration.dubbo.DubboIocLoader
INFO  2017-09-11 17:10:26 [com.alibaba.dubbo.common.logger.LoggerFactory.?(?)] - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
INFO  2017-09-11 17:10:26 [org.nutz.ioc.impl.NutIoc.<init>(98)] - NutIoc init begin ...
INFO  2017-09-11 17:10:26 [org.nutz.ioc.impl.NutIoc.<init>(115)] - ... NutIoc init complete
INFO  2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.evalUrlMapping(159)] - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.createViewMakers(366)] - @Views(DefaultViewMaker.class)
DEBUG 2017-09-11 17:10:26 [org.nutz.resource.Scans.scan(274)] - Found 1 resource by src( chain/xhd-admin-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion.<init>(37)] - ActionChain Config:
{
   "default": {
      "ps": ["com.xhd.shop.manage.processor.LogTimeProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "org.nutz.mvc.impl.processor.ActionFiltersProcessor", "org.nutz.mvc.impl.processor.AdaptorProcessor", "org.nutz.mvc.impl.processor.MethodInvokeProcessor", "org.nutz.mvc.impl.processor.ViewProcessor"],
      "error": "org.nutz.mvc.impl.processor.FailProcessor"
   }
}
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.createChainMaker(263)] - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.Loadings.scanModules(154)] - module class location 'file:/G:/xhd/xhd-shop/xhd-manage/target/classes/'
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.Loadings.scanModuleInPackage(184)] -  > scan 'com.xhd.shop.manage.module'
DEBUG 2017-09-11 17:10:26 [org.nutz.resource.Scans.scan(274)] - Found 2 resource by src( com/xhd/shop/manage/module/ ) , regex( ^.+[.]class$ )
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.Loadings.checkModule(199)] -    >> add 'com.xhd.shop.manage.module.IndexModule'
WARN  2017-09-11 17:10:26 [org.nutz.mvc.impl.processor.ViewProcessor.init(29)] - Not a good idea : Return String ,and using JsonView!! (Using @Ok("raw") or return map/list/pojo)--> IndexModule.getName(...)
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.UrlMappingImpl.print(146)] -    '/index/hello'              >> (IndexModule.java:22).getName         : String     | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
WARN  2017-09-11 17:10:26 [org.nutz.mvc.impl.processor.ViewProcessor.init(29)] - Not a good idea : Return String ,and using JsonView!! (Using @Ok("raw") or return map/list/pojo)--> IndexModule.getFK(...)
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.UrlMappingImpl.print(146)] -    '/index/say'                >> (IndexModule.java:28).getFK           : String     | @Ok(json ) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
INFO  2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.evalUrlMapping(217)] - Found 2 module methods
DEBUG 2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.evalLocalization(331)] - @Localization not define
INFO  2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.evalSetup(271)] - Setup application...
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.aop.SimpleAopMaker.<init>(79)] - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubboManager
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubboManager) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubboManager'<class org.nutz.integration.dubbo.DubboManager>
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.DubboManager without AOP
DEBUG 2017-09-11 17:10:26 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubboManager' to [app] 
INFO  2017-09-11 17:10:26 [org.nutz.mvc.impl.NutLoading.load(141)] - Nutz.Mvc[nutz] is up in 334ms
[INFO] Opened G:\xhd\xhd-shop\xhd-manage\target\2017_09_11.request.log
[INFO] Started SelectChannelConnector@0.0.0.0:8882
[INFO] Started Jetty Server
DEBUG 2017-09-11 17:10:31 [org.nutz.mvc.impl.UrlMappingImpl.get(101)] - Found mapping for [GET] path=/index/hello : IndexModule.getName(IndexModule.java:22)
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=indexModule
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(indexModule) in AnnotationIocLoader(packages=[com.xhd])
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.xhd.shop.manage.module.IndexModule without AOP
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'indexModule' to [app] 
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.val.ReferTypeValue.get(64)] - name=exService not found, search for type=com.xhd.shop.api.service.IExService
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.map.MapLoader.load(67)] - Loading define for name=dao
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dao) in JsonLoader(paths=[ioc/])
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(indexModule) in AnnotationIocLoader(packages=[com.xhd])
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubboManager) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_iobjs) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_application) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_registry) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exServiceLocal) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'exServiceLocal'<interface com.xhd.shop.api.service.IExService>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=exServiceLocal
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exServiceLocal) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'exServiceLocal'<interface com.xhd.shop.api.service.IExService>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'exServiceLocal' to [app] 
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_reference_exServiceLocal'<>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_reference_exServiceLocal
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_reference_exServiceLocal) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_reference_exServiceLocal'<>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.ReferenceBean without AOP
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_reference_exServiceLocal' to [app] 
DEBUG 2017-09-11 17:10:31 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Protocol$Adpative implements com.alibaba.dubbo.rpc.Protocol {
public void destroy() {throw new UnsupportedOperationException("method public abstract void com.alibaba.dubbo.rpc.Protocol.destroy() of interface com.alibaba.dubbo.rpc.Protocol is not adaptive method!");
}
public int getDefaultPort() {throw new UnsupportedOperationException("method public abstract int com.alibaba.dubbo.rpc.Protocol.getDefaultPort() of interface com.alibaba.dubbo.rpc.Protocol is not adaptive method!");
}
public com.alibaba.dubbo.rpc.Exporter export(com.alibaba.dubbo.rpc.Invoker arg0) throws com.alibaba.dubbo.rpc.Invoker {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.Protocol) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.Protocol extension = (com.alibaba.dubbo.rpc.Protocol)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.Protocol.class).getExtension(extName);
return extension.export(arg0);
}
public com.alibaba.dubbo.rpc.Invoker refer(java.lang.Class arg0, com.alibaba.dubbo.common.URL arg1) throws java.lang.Class {
if (arg1 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg1;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.Protocol) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.Protocol extension = (com.alibaba.dubbo.rpc.Protocol)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.Protocol.class).getExtension(extName);
return extension.refer(arg0, arg1);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 17:10:31 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc.cluster;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Cluster$Adpative implements com.alibaba.dubbo.rpc.cluster.Cluster {
public com.alibaba.dubbo.rpc.Invoker join(com.alibaba.dubbo.rpc.cluster.Directory arg0) throws com.alibaba.dubbo.rpc.cluster.Directory {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.cluster.Directory argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.cluster.Directory argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = url.getParameter("cluster", "failover");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.cluster.Cluster) name from url(" + url.toString() + ") use keys([cluster])");
com.alibaba.dubbo.rpc.cluster.Cluster extension = (com.alibaba.dubbo.rpc.cluster.Cluster)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.cluster.Cluster.class).getExtension(extName);
return extension.join(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 17:10:31 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ProxyFactory$Adpative implements com.alibaba.dubbo.rpc.ProxyFactory {
public java.lang.Object getProxy(com.alibaba.dubbo.rpc.Invoker arg0) throws com.alibaba.dubbo.rpc.Invoker {
if (arg0 == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument == null");
if (arg0.getUrl() == null) throw new IllegalArgumentException("com.alibaba.dubbo.rpc.Invoker argument getUrl() == null");com.alibaba.dubbo.common.URL url = arg0.getUrl();
String extName = url.getParameter("proxy", "javassist");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.ProxyFactory) name from url(" + url.toString() + ") use keys([proxy])");
com.alibaba.dubbo.rpc.ProxyFactory extension = (com.alibaba.dubbo.rpc.ProxyFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.ProxyFactory.class).getExtension(extName);
return extension.getProxy(arg0);
}
public com.alibaba.dubbo.rpc.Invoker getInvoker(java.lang.Object arg0, java.lang.Class arg1, com.alibaba.dubbo.common.URL arg2) throws java.lang.Object {
if (arg2 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg2;
String extName = url.getParameter("proxy", "javassist");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.ProxyFactory) name from url(" + url.toString() + ") use keys([proxy])");
com.alibaba.dubbo.rpc.ProxyFactory extension = (com.alibaba.dubbo.rpc.ProxyFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.ProxyFactory.class).getExtension(extName);
return extension.getInvoker(arg0, arg1, arg2);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_iobjs'<>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_iobjs
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_iobjs) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_iobjs'<>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class java.lang.Object without AOP
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_iobjs' to [app] 
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_application'<class com.alibaba.dubbo.config.ApplicationConfig>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_application
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_application) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_application'<class com.alibaba.dubbo.config.ApplicationConfig>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.alibaba.dubbo.config.ApplicationConfig without AOP
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_application' to [app] 
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_registry'<class com.alibaba.dubbo.config.RegistryConfig>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_registry
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_registry) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_registry'<class com.alibaba.dubbo.config.RegistryConfig>
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class com.alibaba.dubbo.config.RegistryConfig without AOP
DEBUG 2017-09-11 17:10:31 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_registry' to [app] 
DEBUG 2017-09-11 17:10:31 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.registry;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class RegistryFactory$Adpative implements com.alibaba.dubbo.registry.RegistryFactory {
public com.alibaba.dubbo.registry.Registry getRegistry(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.registry.RegistryFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.registry.RegistryFactory extension = (com.alibaba.dubbo.registry.RegistryFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.registry.RegistryFactory.class).getExtension(extName);
return extension.getRegistry(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 17:10:31 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.remoting.zookeeper;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ZookeeperTransporter$Adpative implements com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter {
public com.alibaba.dubbo.remoting.zookeeper.ZookeeperClient connect(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("client", url.getParameter("transporter", "zkclient"));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter) name from url(" + url.toString() + ") use keys([client, transporter])");
com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter extension = (com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.zookeeper.ZookeeperTransporter.class).getExtension(extName);
return extension.connect(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-11 17:10:31 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.loadProperties(232)] -  [DUBBO] Load registry store file C:\Users\guojx\.dubbo\dubbo-registry-localhost.cache, data: {com.xhd.shop.api.service.IExService=empty://192.168.1.163:20881/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&category=configurators&check=false&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=13868&side=provider&timestamp=1505121015639, com.xhd.shop.api.service.storeinfo.IStoreInfoUCC=empty://192.168.1.163:20881/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?anyhost=true&application=xhd-server&category=configurators&check=false&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=13868&side=provider&timestamp=1505121014768, net.wendal.nutzbook.service.DubboWayService=empty://192.168.1.163/net.wendal.nutzbook.service.DubboWayService?application=nutzcn-client&category=configurators&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886 empty://192.168.1.163/net.wendal.nutzbook.service.DubboWayService?application=nutzcn-client&category=routers&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886 empty://192.168.1.163/net.wendal.nutzbook.service.DubboWayService?application=nutzcn-client&category=providers&dubbo=2.5.3&interface=net.wendal.nutzbook.service.DubboWayService&methods=hi,redisGet,redisSet&pid=26136&side=consumer&timestamp=1505108209886, com.xhd.api.service.IHelloXhdService:1.0.0=empty://192.168.1.32:9090/com.xhd.api.service.IHelloXhdService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.xhd.api.service.IHelloXhdService&methods=hello&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963287730&version=1.0.0, com.sunivo.nutzdubbo.services.IHelloService:1.0.0=empty://192.168.1.32:9090/com.sunivo.nutzdubbo.services.IHelloService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.nutzdubbo.services.IHelloService&methods=sayHello&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963287512&version=1.0.0, org.nutz.integration.dubbo.service.DemoService=empty://192.168.1.163:54779/org.nutz.integration.dubbo.service.DemoService?anyhost=true&application=hello-world-app&category=configurators&check=false&dubbo=2.5.3&interface=org.nutz.integration.dubbo.service.DemoService&methods=hi&notify=false&pid=25296&side=provider&timestamp=1505108197444, com.sunivo.nutzdubbo.services.IPetService:1.0.1=empty://192.168.1.32:9090/com.sunivo.nutzdubbo.services.IPetService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.nutzdubbo.services.IPetService&methods=createPet&pid=15248&revision=1.0.1&side=provider&threads=200&timestamp=1504963283970&version=1.0.1, com.sunivo.nutzdubbo.services.IPetService:1.0.0=empty://192.168.1.32:9090/com.sunivo.nutzdubbo.services.IPetService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.nutzdubbo.services.IPetService&methods=createPet&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963283066&version=1.0.0, com.sunivo.messagecenter.services.IEmailSendService:1.0.0=empty://192.168.1.32:9090/com.sunivo.messagecenter.services.IEmailSendService?anyhost=true&application=provider&category=configurators&check=false&dubbo=2.5.3&interface=com.sunivo.messagecenter.services.IEmailSendService&methods=sendEmail&pid=15248&revision=1.0.0&side=provider&threads=200&timestamp=1504963288019&version=1.0.0}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 17:10:31 [org.I0Itec.zkclient.ZkConnection.connect(63)] - Creating new ZookKeeper instance to connect to localhost:2181.
INFO  2017-09-11 17:10:31 [org.I0Itec.zkclient.ZkEventThread.run(64)] - Starting ZkClient event thread.
DEBUG 2017-09-11 17:10:31 [org.I0Itec.zkclient.ZkClient.connect(874)] - Awaiting connection to Zookeeper server
DEBUG 2017-09-11 17:10:31 [org.I0Itec.zkclient.ZkClient.waitForKeeperState(628)] - Waiting for keeper state SyncConnected
DEBUG 2017-09-11 17:10:32 [org.I0Itec.zkclient.ZkClient.process(351)] - Received event: WatchedEvent state:SyncConnected type:None path:null
INFO  2017-09-11 17:10:32 [org.I0Itec.zkclient.ZkClient.processStateChanged(449)] - zookeeper state changed (SyncConnected)
DEBUG 2017-09-11 17:10:32 [org.I0Itec.zkclient.ZkClient.process(395)] - Leaving process event
DEBUG 2017-09-11 17:10:32 [org.I0Itec.zkclient.ZkClient.waitForKeeperState(638)] - State is SyncConnected
DEBUG 2017-09-11 17:10:32 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc.cluster;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class RouterFactory$Adpative implements com.alibaba.dubbo.rpc.cluster.RouterFactory {
public com.alibaba.dubbo.rpc.cluster.Router getRouter(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getProtocol();
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.cluster.RouterFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.cluster.RouterFactory extension = (com.alibaba.dubbo.rpc.cluster.RouterFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.cluster.RouterFactory.class).getExtension(extName);
return extension.getRouter(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
DEBUG 2017-09-11 17:10:32 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.rpc.cluster;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ConfiguratorFactory$Adpative implements com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory {
public com.alibaba.dubbo.rpc.cluster.Configurator getConfigurator(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getProtocol();
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory extension = (com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.rpc.cluster.ConfiguratorFactory.class).getExtension(extName);
return extension.getConfigurator(arg0);
}
}, dubbo version: 2.5.3, current host: 127.0.0.1
INFO  2017-09-11 17:10:32 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.subscribe(325)] -  [DUBBO] Subscribe: consumer://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=providers,configurators,routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121031885, dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 17:10:32 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.notify(422)] -  [DUBBO] Notify urls for subscribe url consumer://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=providers,configurators,routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121031885, urls: [dubbo://192.168.1.163:20881/com.xhd.shop.api.service.IExService?anyhost=true&application=xhd-server&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=13868&side=provider&timestamp=1505121015639, empty://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=configurators&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121031885, empty://192.168.1.163/com.xhd.shop.api.service.IExService?application=xhd-manage&category=routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121031885], dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:32 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.remoting;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Transporter$Adpative implements com.alibaba.dubbo.remoting.Transporter {
public com.alibaba.dubbo.remoting.Client connect(com.alibaba.dubbo.common.URL arg0, com.alibaba.dubbo.remoting.ChannelHandler arg1) throws com.alibaba.dubbo.common.URL {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("client", url.getParameter("transporter", "netty"));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.Transporter) name from url(" + url.toString() + ") use keys([client, transporter])");
com.alibaba.dubbo.remoting.Transporter extension = (com.alibaba.dubbo.remoting.Transporter)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.Transporter.class).getExtension(extName);
return extension.connect(arg0, arg1);
}
public com.alibaba.dubbo.remoting.Server bind(com.alibaba.dubbo.common.URL arg0, com.alibaba.dubbo.remoting.ChannelHandler arg1) throws com.alibaba.dubbo.common.URL {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("server", url.getParameter("transporter", "netty"));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.Transporter) name from url(" + url.toString() + ") use keys([server, transporter])");
com.alibaba.dubbo.remoting.Transporter extension = (com.alibaba.dubbo.remoting.Transporter)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.Transporter.class).getExtension(extName);
return extension.bind(arg0, arg1);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:32 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.remoting;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Dispatcher$Adpative implements com.alibaba.dubbo.remoting.Dispatcher {
public com.alibaba.dubbo.remoting.ChannelHandler dispatch(com.alibaba.dubbo.remoting.ChannelHandler arg0, com.alibaba.dubbo.common.URL arg1) {
if (arg1 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg1;
String extName = url.getParameter("dispatcher", url.getParameter("dispather", url.getParameter("channel.handler", "all")));
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.remoting.Dispatcher) name from url(" + url.toString() + ") use keys([dispatcher, dispather, channel.handler])");
com.alibaba.dubbo.remoting.Dispatcher extension = (com.alibaba.dubbo.remoting.Dispatcher)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.remoting.Dispatcher.class).getExtension(extName);
return extension.dispatch(arg0, arg1);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:32 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.common.threadpool;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class ThreadPool$Adpative implements com.alibaba.dubbo.common.threadpool.ThreadPool {
public java.util.concurrent.Executor getExecutor(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("threadpool", "fixed");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.common.threadpool.ThreadPool) name from url(" + url.toString() + ") use keys([threadpool])");
com.alibaba.dubbo.common.threadpool.ThreadPool extension = (com.alibaba.dubbo.common.threadpool.ThreadPool)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.common.threadpool.ThreadPool.class).getExtension(extName);
return extension.getExecutor(arg0);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 17:10:32 [com.alibaba.dubbo.remoting.transport.AbstractClient.connect(287)] -  [DUBBO] Successed connect to server /192.168.1.163:20881 from NettyClient 192.168.1.163 using dubbo version 2.5.3, channel is NettyChannel [channel=[id: 0x7641fce6, /192.168.1.163:51293 => /192.168.1.163:20881]], dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 17:10:32 [com.alibaba.dubbo.remoting.transport.AbstractClient.<init>(105)] -  [DUBBO] Start NettyClient DESKTOP-1RNH2VH/192.168.1.163 connect to the server /192.168.1.163:20881, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:32 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.cache;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class CacheFactory$Adpative implements com.alibaba.dubbo.cache.CacheFactory {
public com.alibaba.dubbo.cache.Cache getCache(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("cache", "lru");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.cache.CacheFactory) name from url(" + url.toString() + ") use keys([cache])");
com.alibaba.dubbo.cache.CacheFactory extension = (com.alibaba.dubbo.cache.CacheFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.cache.CacheFactory.class).getExtension(extName);
return extension.getCache(arg0);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:32 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.monitor;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class MonitorFactory$Adpative implements com.alibaba.dubbo.monitor.MonitorFactory {
public com.alibaba.dubbo.monitor.Monitor getMonitor(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = ( url.getProtocol() == null ? "dubbo" : url.getProtocol() );
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.monitor.MonitorFactory) name from url(" + url.toString() + ") use keys([protocol])");
com.alibaba.dubbo.monitor.MonitorFactory extension = (com.alibaba.dubbo.monitor.MonitorFactory)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.monitor.MonitorFactory.class).getExtension(extName);
return extension.getMonitor(arg0);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:32 [com.alibaba.dubbo.common.extension.ExtensionLoader.createAdaptiveExtensionClassCode(943)] -  [DUBBO] package com.alibaba.dubbo.validation;
import com.alibaba.dubbo.common.extension.ExtensionLoader;
public class Validation$Adpative implements com.alibaba.dubbo.validation.Validation {
public com.alibaba.dubbo.validation.Validator getValidator(com.alibaba.dubbo.common.URL arg0) {
if (arg0 == null) throw new IllegalArgumentException("url == null");
com.alibaba.dubbo.common.URL url = arg0;
String extName = url.getParameter("validation", "jvalidation");
if(extName == null) throw new IllegalStateException("Fail to get extension(com.alibaba.dubbo.validation.Validation) name from url(" + url.toString() + ") use keys([validation])");
com.alibaba.dubbo.validation.Validation extension = (com.alibaba.dubbo.validation.Validation)ExtensionLoader.getExtensionLoader(com.alibaba.dubbo.validation.Validation.class).getExtension(extName);
return extension.getValidator(arg0);
}
}, dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 17:10:32 [com.alibaba.dubbo.config.AbstractConfig.createProxy(423)] -  [DUBBO] Refer dubbo service com.xhd.shop.api.service.IExService from url zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=xhd-manage&check=false&dubbo=2.5.3&interface=com.xhd.shop.api.service.IExService&methods=getExBO,hello&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121031885, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.val.ReferTypeValue.get(64)] - name=storeInfoUCC not found, search for type=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.map.MapLoader.load(67)] - Loading define for name=dao
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dao) in JsonLoader(paths=[ioc/])
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(indexModule) in AnnotationIocLoader(packages=[com.xhd])
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubboManager) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_iobjs) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_application) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_registry) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(exServiceLocal) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(storeInfoUCCLocal) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'storeInfoUCCLocal'<interface com.xhd.shop.api.service.storeinfo.IStoreInfoUCC>
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=storeInfoUCCLocal
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(storeInfoUCCLocal) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'storeInfoUCCLocal'<interface com.xhd.shop.api.service.storeinfo.IStoreInfoUCC>
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'storeInfoUCCLocal' to [app] 
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_reference_storeInfoUCCLocal'<>
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.NutIoc.get(177)] - 	 >> Load definition name=dubbo_reference_storeInfoUCCLocal
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.loader.combo.ComboIocLoader.load(161)] - Found IocObject(dubbo_reference_storeInfoUCCLocal) in DubboIocLoader@82973602
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.NutIoc.get(209)] - 	 >> Make...'dubbo_reference_storeInfoUCCLocal'<>
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(70)] - Load class org.nutz.integration.dubbo.ReferenceBean without AOP
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.ScopeContext.save(64)] - Save object 'dubbo_reference_storeInfoUCCLocal' to [app] 
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_iobjs'<>
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_application'<class com.alibaba.dubbo.config.ApplicationConfig>
DEBUG 2017-09-11 17:10:32 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'dubbo_registry'<class com.alibaba.dubbo.config.RegistryConfig>
INFO  2017-09-11 17:10:32 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.subscribe(325)] -  [DUBBO] Subscribe: consumer://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=providers,configurators,routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121032636, dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 17:10:32 [com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.notify(422)] -  [DUBBO] Notify urls for subscribe url consumer://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=providers,configurators,routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121032636, urls: [dubbo://192.168.1.163:20881/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?anyhost=true&application=xhd-server&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=13868&side=provider&timestamp=1505121014768, empty://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=configurators&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121032636, empty://192.168.1.163/com.xhd.shop.api.service.storeinfo.IStoreInfoUCC?application=xhd-manage&category=routers&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121032636], dubbo version: 2.5.3, current host: 192.168.1.163
INFO  2017-09-11 17:10:32 [com.alibaba.dubbo.config.AbstractConfig.createProxy(423)] -  [DUBBO] Refer dubbo service com.xhd.shop.api.service.storeinfo.IStoreInfoUCC from url zookeeper://localhost:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=xhd-manage&check=false&dubbo=2.5.3&interface=com.xhd.shop.api.service.storeinfo.IStoreInfoUCC&methods=sayHello,load,save&pid=27220&revision=1.0.0-SNAPSHOT&side=consumer&timestamp=1505121032636, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:32 [com.alibaba.dubbo.remoting.transport.DecodeHandler.decode(60)] -  [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:33 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/hello 1629ms
DEBUG 2017-09-11 17:10:49 [org.nutz.mvc.impl.UrlMappingImpl.get(101)] - Found mapping for [GET] path=/index/hello : IndexModule.getName(IndexModule.java:22)
DEBUG 2017-09-11 17:10:49 [org.nutz.ioc.impl.NutIoc.get(151)] - Get 'indexModule'<class com.xhd.shop.manage.module.IndexModule>
DEBUG 2017-09-11 17:10:49 [com.alibaba.dubbo.remoting.transport.DecodeHandler.decode(60)] -  [DUBBO] Decode decodeable message com.alibaba.dubbo.rpc.protocol.dubbo.DecodeableRpcResult, dubbo version: 2.5.3, current host: 192.168.1.163
DEBUG 2017-09-11 17:10:49 [com.xhd.shop.manage.processor.LogTimeProcessor.process(33)] - [GET ]URI=/xhd-manage/index/hello 5ms

后面两次请求, 一次是启动web项目 第一次请求,一次为第二次请求

第一次请求耗时1629ms? 感觉还能接受了吧

你可以给我解释一下 我比较不懂,, 为啥第一次请求和第二次请求差这么多啊

dubbo也需要初始化, nutz ioc是完全懒加载, 使用到某个bean的时候,才会初始化.

你可以这样,让初始化发生在启动时候, 一样是MainSetup的init方法

nc.getIoc().get(IndexModule.class);

好,那我就这样, 至少心里舒服点 哈哈~~

今天启动服务main,抛出。

"C:\Program Files\Java\jdk1.8.0_131\bin\java" "-javaagent:E:\Program Files\JetBrains\IntelliJ IDEA 173.2099.14\lib\idea_rt.jar=50674:E:\Program Files\JetBrains\IntelliJ IDEA 173.2099.14\bin" -Dfile.encoding=UTF-8 -classpath "C:\Program Files\Java\jdk1.8.0_131\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_131\jre\lib\rt.jar;G:\xhd\xhd-shop\xhd-service\target\classes;G:\xhd\xhd-shop\xhd-api\target\classes;C:\Users\guojx\.m2\repository\org\nutz\nutz\1.r.62\nutz-1.r.62.jar;C:\Users\guojx\.m2\repository\com\alibaba\dubbo\2.5.3\dubbo-2.5.3.jar;C:\Users\guojx\.m2\repository\org\javassist\javassist\3.15.0-GA\javassist-3.15.0-GA.jar;C:\Users\guojx\.m2\repository\org\jboss\netty\netty\3.2.5.Final\netty-3.2.5.Final.jar;C:\Users\guojx\.m2\repository\com\github\sgroschupf\zkclient\0.1\zkclient-0.1.jar;C:\Users\guojx\.m2\repository\org\apache\zookeeper\zookeeper\3.3.3\zookeeper-3.3.3.jar;C:\Users\guojx\.m2\repository\jline\jline\0.9.94\jline-0.9.94.jar;C:\Users\guojx\.m2\repository\log4j\log4j\1.2.14\log4j-1.2.14.jar;C:\Users\guojx\.m2\repository\org\slf4j\slf4j-api\1.7.5\slf4j-api-1.7.5.jar;C:\Users\guojx\.m2\repository\org\slf4j\slf4j-log4j12\1.7.5\slf4j-log4j12-1.7.5.jar;C:\Users\guojx\.m2\repository\org\nutz\nutz-integration-dubbo\1.r.62\nutz-integration-dubbo-1.r.62.jar;C:\Users\guojx\.m2\repository\com\alibaba\druid\1.0.26\druid-1.0.26.jar;C:\Users\guojx\.m2\repository\org\codehaus\jackson\jackson-mapper-asl\1.9.13\jackson-mapper-asl-1.9.13.jar;C:\Users\guojx\.m2\repository\org\codehaus\jackson\jackson-core-asl\1.9.13\jackson-core-asl-1.9.13.jar;C:\Users\guojx\.m2\repository\mysql\mysql-connector-java\5.1.40\mysql-connector-java-5.1.40.jar;C:\Users\guojx\.m2\repository\commons-beanutils\commons-beanutils\1.9.3\commons-beanutils-1.9.3.jar;C:\Users\guojx\.m2\repository\commons-logging\commons-logging\1.2\commons-logging-1.2.jar;C:\Users\guojx\.m2\repository\commons-collections\commons-collections\3.2.2\commons-collections-3.2.2.jar;C:\Users\guojx\.m2\repository\commons-lang\commons-lang\2.6\commons-lang-2.6.jar" com.xhd.shop.service.runner.Runner
2017-09-14 11:40:35,293 org.nutz.resource.Scans.printLocations(Scans.java:521) DEBUG - Locations count=46 time use 90ms
2017-09-14 11:40:35,349 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 60 resource by src( com/xhd/ ) , regex( ^.+[.]class$ )
2017-09-14 11:40:35,407 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.xhd.shop.service.base.ucc.CommonDBService
2017-09-14 11:40:35,419 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.xhd.shop.service.base.ucc.CommonService
2017-09-14 11:40:35,419 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.xhd.shop.service.ex.ExService
2017-09-14 11:40:35,420 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.xhd.shop.service.index.impl.IndexUCCImpl
2017-09-14 11:40:35,423 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.xhd.shop.service.storeinfo.impl.StoreInfoUCCImpl
2017-09-14 11:40:35,427 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.xhd.shop.service.sys.role.impl.RoleUCCImpl
2017-09-14 11:40:35,429 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.xhd.shop.service.sys.user.impl.HtUserUCCImpl
2017-09-14 11:40:35,432 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.xhd.shop.service.utils.DateUtils
2017-09-14 11:40:35,433 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:76) DEBUG - Found @IocBean : class com.xhd.shop.service.utils.IdCardUtils
2017-09-14 11:40:35,487 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 95 castor for Castors
2017-09-14 11:40:35,494 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:52) INFO  - Found 9 classes in 1 base-packages!
beans = ["roleUCCImpl", "idCardUtils", "storeInfoUCCImplLocal", "exServiceLocal", "commonService", "indexUCCImpl", "htUserUCCImpl", "commonDBService", "dateUtils"]
2017-09-14 11:40:35,496 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:110) DEBUG - found dubbo -- org.nutz.integration.dubbo.DubboIocLoader
2017-09-14 11:40:35,614  INFO  - using logger: com.alibaba.dubbo.common.logger.log4j.Log4jLoggerAdapter
2017-09-14 11:40:35,654 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 1 resource by src( ioc/dao.js ) , regex( ^(.+[.])(js|json)$ )
2017-09-14 11:40:35,654 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:49) DEBUG - loading [dao.js]
2017-09-14 11:40:35,658 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:57) DEBUG - Loaded 3 bean define from path=[ioc/dao.js] --> [conf, dao, dataSource]
2017-09-14 11:40:35,663 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:40) DEBUG - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2017-09-14 11:40:35,667 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) INFO  - NutIoc init begin ...
2017-09-14 11:40:35,669 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) INFO  - ... NutIoc init complete
2017-09-14 11:40:35,669 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2017-09-14 11:40:35,670 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) DEBUG - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017-09-14 11:40:35,671 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=dao
2017-09-14 11:40:35,672 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
org.nutz.ioc.IocException: IocBean[dao] For object [dao] - type:[interface org.nutz.dao.Dao]
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:218)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
	at com.xhd.shop.service.runner.Runner.DBSetup(Runner.java:39)
	at com.xhd.shop.service.runner.Runner.main(Runner.java:27)
Caused by: org.nutz.ioc.ObjectLoadException: Wrong type name: 'org.nutz.dao.ucc.NutDao'
	at org.nutz.ioc.IocLoading.E(IocLoading.java:32)
	at org.nutz.ioc.IocLoading.map2iobj(IocLoading.java:59)
	at org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:86)
	at org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:147)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180)
	... 4 more
Caused by: java.lang.ClassNotFoundException: org.nutz.dao.ucc.NutDao
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.nutz.lang.Lang.loadClass(Lang.java:2063)
	at org.nutz.ioc.IocLoading.map2iobj(IocLoading.java:55)
	... 7 more
2017-09-14 11:40:35,680 com.alibaba.dubbo.config.AbstractConfig$1.run(AbstractConfig.java:450) INFO  -  [DUBBO] Run shutdown hook now., dubbo version: 2.5.3, current host: 127.0.0.1
2017-09-14 11:40:35,681 com.alibaba.dubbo.registry.support.AbstractRegistryFactory.destroyAll(AbstractRegistryFactory.java:63) INFO  -  [DUBBO] Close all registries [], dubbo version: 2.5.3, current host: 127.0.0.1

Process finished with exit code 0

Caused by: java.lang.ClassNotFoundException: org.nutz.dao.ucc.NutDao

ucc应该是impl

这? 怎么修正

dao.js写错了吧

添加回复
请先登陆
回到顶部