NutzCN Logo
问答 框架获取不到dubbo服务
发布于 1691天前 作者 一直在猜疑 1284 次浏览 复制 上一个帖子 下一个帖子
标签:

11:03:52.372 org.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext@3cbf1ba4{/,[file:///data/nutzwk/, jar:file:/home/bestpay/wk-nb-web-platform-5.2.2.jar!/static/],UNAVAILABLE}
org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: IocBean[nameFromIdUtil] throw Exception when creating
at org.nutz.mvc.LoadingException$FC$ec7e633cb44d06f0dad61c084743721d.invoke(LoadingException.java)
at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:25)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:1022)
at org.nutz.lang.Lang.wrapThrow(Lang.java:207)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
at org.nutz.boot.starter.nutz.mvc.NbMvcLoading.load(NbMvcLoading.java:28)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
at org.eclipse.jetty.servlet.FilterHolder.initialize(FilterHolder.java:136)
at org.eclipse.jetty.servlet.ServletHandler.lambda$initialize$0(ServletHandler.java:750)
at java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
at java.util.stream.Streams$ConcatSpliterator.forEachRemaining(Streams.java:742)
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:580)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:744)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:369)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1497)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1459)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:852)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:278)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:138)
at org.eclipse.jetty.server.Server.start(Server.java:415)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:108)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:382)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:137)
at org.nutz.boot.AppContext.startServers(AppContext.java:310)
at org.nutz.boot.NbApp.execute(NbApp.java:206)
at org.nutz.boot.NbApp.run(NbApp.java:178)
at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:45)
Caused by: org.nutz.ioc.IocException: IocBean[nameFromIdUtil] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:153)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161)
at cn.wizzer.app.web.commons.processor.GlobalsSettingProcessor.init(GlobalsSettingProcessor.java:28)
at org.nutz.mvc.impl.NutActionChainMaker.eval(NutActionChainMaker.java:38)
at org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:54)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:205)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
... 29 common frames omitted
Caused by: java.lang.RuntimeException: IocBean[nameFromIdUtil] fail at field=[carrieroperator_basesenderService]
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:40)
at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
... 37 common frames omitted
Caused by: org.nutz.ioc.IocException: IocBean[unoa2oa1g0h3tq4flqo5fl33i4] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:153)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.getByType(NutIoc.java:457)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:66)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
... 39 common frames omitted
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 cn.wizzer.app.carrieroperator.modules.services.services.Carrieroperator_basesenderService. No provider available for the service cn.wizzer.app.carrieroperator.modules.services.services.Carrieroperator_basesenderService from the url zookeeper://172.17.45.14:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-platform&default.retries=0&default.timeout=300000&dubbo=2.0.2&interface=cn.wizzer.app.carrieroperator.modules.services.services.Carrieroperator_basesenderService&methods=updateWithVersion,insertRelation,data,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,updateAndIncrIfMatch,getMap,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPageMap,listPage&pid=29505&qos.enable=false®ister.ip=172.17.39.123&revision=5.2.2&side=consumer×tamp=1588734232031 to the consumer 172.17.39.123 use dubbo version 5.2.2
at org.nutz.lang.Invoking.invoke(Invoking.java:195)
at org.nutz.lang.Mirror.invoke(Mirror.java:1132)
at org.nutz.ioc.impl.ObjectMakerImpl$1.born(ObjectMakerImpl.java:80)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
... 43 common frames omitted
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.carrieroperator.modules.services.services.Carrieroperator_basesenderService. No provider available for the service cn.wizzer.app.carrieroperator.modules.services.services.Carrieroperator_basesenderService from the url zookeeper://172.17.45.14:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-platform&default.retries=0&default.timeout=300000&dubbo=2.0.2&interface=cn.wizzer.app.carrieroperator.modules.services.services.Carrieroperator_basesenderService&methods=updateWithVersion,insertRelation,data,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,updateAndIncrIfMatch,getMap,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPageMap,listPage&pid=29505&qos.enable=false®ister.ip=172.17.39.123&revision=5.2.2&side=consumer×tamp=1588734232031 to the consumer 172.17.39.123 use dubbo version 5.2.2
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:426)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:335)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:164)
at org.nutz.integration.dubbo.ReferenceBean.get(ReferenceBean.java:152)
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)
... 47 common frames omitted
[INFO ] 11:03:52.386 org.eclipse.jetty.server.AbstractConnector - Started ServerConnector@66420549{HTTP/1.1,[http/1.1]}{0.0.0.0:8086}
[INFO ] 11:03:52.387 org.eclipse.jetty.server.Server - Started @16834ms

[DEBUG] 11:03:52.387 org.nutz.boot.starter.jetty.JettyStarter - Jetty monitor props:

http.port : 8086
http.host : 0.0.0.0
http.idleTimeout : 300000
https.enable : false
welcome_files : index.html,index.htm,index.do

maxFormContentSize : 1073741824

[DEBUG] 11:03:52.387 org.nutz.boot.starter.logback.exts.LogbackStarter - logback loglevel is starting...
[DEBUG] 11:03:52.387 org.nutz.ioc.impl.NutIoc - Get 'loglevelService'<class org.nutz.boot.starter.logback.exts.loglevel.LoglevelService>
[ERROR] 11:03:52.387 org.nutz.boot.NbApp - something happen!!
java.lang.RuntimeException: Context 'app' had been deposed!
at org.nutz.lang.Lang.makeThrow(Lang.java:139)
at org.nutz.ioc.impl.ScopeContext.checkBuffer(ScopeContext.java:39)
at org.nutz.ioc.impl.ScopeContext.fetch(ScopeContext.java:55)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:180)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161)
at org.nutz.boot.starter.logback.exts.LogbackStarter.start(LogbackStarter.java:92)
at org.nutz.boot.AppContext.startServers(AppContext.java:310)
at org.nutz.boot.NbApp.execute(NbApp.java:206)
at org.nutz.boot.NbApp.run(NbApp.java:178)
at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:45)
[INFO ] 11:03:52.393 org.eclipse.jetty.server.AbstractConnector - Stopped ServerConnector@66420549{HTTP/1.1,[http/1.1]}{0.0.0.0:8086}
[INFO ] 11:03:52.393 org.eclipse.jetty.server.session - node0 Stopped scavenging

1 回复

关掉服务,重启zk

来自炫酷的 NutzCN

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