NutzCN Logo
问答 lunix dubbo部署最新的nutzwk
发布于 1985天前 作者 qq_856b85c9 1763 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

lunix上jkd,maven,redis,zookeeper都已经全部配置成功
项目我拉取的最新的nutzwk
然后现在sys.jar已经执行成功了

[DEBUG] 11:37:01.457 com.alibaba.dubbo.registry.integration.RegistryProtocol$OverrideListener.notify(RegistryProtocol.java:368) -  [DUBBO] subscribe url: provider://119.23.28.149:21881/cn.wizzer.app.sys.modules.services.SysUnitService?anyhost=true&application=wk-nb-dubbo-sys&category=configurators&check=false&dubbo=sys&generic=false&interface=cn.wizzer.app.sys.modules.services.SysUnitService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,updateAndIncrIfMatch,getMap,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteAndChild,save,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31624&revision=sys&side=provider&timestamp=1539229021425, override urls: [empty://119.23.28.149:21881/cn.wizzer.app.sys.modules.services.SysUnitService?anyhost=true&application=wk-nb-dubbo-sys&category=configurators&check=false&dubbo=sys&generic=false&interface=cn.wizzer.app.sys.modules.services.SysUnitService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,updateAndIncrIfMatch,getMap,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteAndChild,save,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31624&revision=sys&side=provider&timestamp=1539229021425], dubbo version: sys, current host: 119.23.28.149
[DEBUG] 11:37:01.458 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dubboRpcSysMainLauncher'<class cn.wizzer.app.sys.commons.core.DubboRpcSysMainLauncher>
[DEBUG] 11:37:01.458 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - 	 >> Load definition name=dubboRpcSysMainLauncher
[DEBUG] 11:37:01.458 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(dubboRpcSysMainLauncher) in AnnotationIocLoader(packages=[cn.wizzer])
[DEBUG] 11:37:01.459 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - 	 >> Make...'dubboRpcSysMainLauncher'<class cn.wizzer.app.sys.commons.core.DubboRpcSysMainLauncher>
[DEBUG] 11:37:01.459 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'dubboRpcSysMainLauncher' to [app] 
[DEBUG] 11:37:01.459 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class cn.wizzer.app.sys.commons.core.DubboRpcSysMainLauncher without AOP
[DEBUG] 11:37:01.460 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dao'<interface org.nutz.dao.Dao>
[DEBUG] 11:37:01.463 org.nutz.resource.Scans.scan(Scans.java:280) - Found 34 resource by src( cn/wizzer/app/sys/ ) , regex( ^.+[.]class$ )
[DEBUG] 11:37:01.628 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) - SELECT COUNT(*) FROM sys_user 
[DEBUG] 11:37:01.630 org.nutz.dao.impl.interceptor.DaoTimeInterceptor.filter(DaoTimeInterceptor.java:28) - time=1ms, sql=SELECT COUNT(*) FROM sys_user 
[INFO ] 11:37:01.635 org.nutz.boot.NbApp.execute(NbApp.java:214) - wk-nb-dubbo-sys started : 2439ms

上面是sys.jar部分执行日志,dubbo的sys以及web端配置的端口都设置的20881
但是为什么会出现下列的问题

[ERROR] 11:38:35.789 org.nutz.boot.NbApp.execute(NbApp.java:219) - something happen!!
org.nutz.ioc.IocException: IocBean[webPlatformMainLauncher] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
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 org.nutz.boot.NbApp.execute(NbApp.java:209)
at org.nutz.boot.NbApp.run(NbApp.java:178)
at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:44)
Caused by: java.lang.RuntimeException: IocBean[webPlatformMainLauncher] fail at field=[globals]
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)
... 6 more
Caused by: org.nutz.ioc.IocException: IocBean[globals] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:60)
at org.nutz.ioc.weaver.FieldInjector.inject(FieldInjector.java:32)
... 8 more
Caused by: java.lang.RuntimeException: IocBean[globals] fail at field=[sysConfigService]
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)
... 11 more
Caused by: org.nutz.ioc.IocException: IocBean[s77cffohk2g64rtk4ara5rjfsj] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
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)
... 13 more
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.sys.modules.services.SysConfigService. No provider available for the service cn.wizzer.app.sys.modules.services.SysConfigService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=wk-nb-web-platform&check=false&default.retries=0&default.timeout=300000&dubbo=web&generic=false&interface=cn.wizzer.app.sys.modules.services.SysConfigService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,getAllList,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31918®ister.ip=119.23.28.149&remote.timestamp=1539229021361&revision=web&side=consumer×tamp=1539229115728 to the consumer 119.23.28.149 use dubbo version web
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)
... 17 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysConfigService. No provider available for the service cn.wizzer.app.sys.modules.services.SysConfigService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=wk-nb-web-platform&check=false&default.retries=0&default.timeout=300000&dubbo=web&generic=false&interface=cn.wizzer.app.sys.modules.services.SysConfigService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,getAllList,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31918®ister.ip=119.23.28.149&remote.timestamp=1539229021361&revision=web&side=consumer×tamp=1539229115728 to the consumer 119.23.28.149 use dubbo version web
at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:422)
at com.alibaba.dubbo.config.ReferenceConfig.init(ReferenceConfig.java:333)
at com.alibaba.dubbo.config.ReferenceConfig.get(ReferenceConfig.java:163)
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)
... 21 more
[INFO ] 11:38:35.793 org.eclipse.jetty.server.AbstractConnector.doStop(AbstractConnector.java:341) - Stopped ServerConnector@408a247c{HTTP/1.1,[http/1.1]}{0.0.0.0:8081}
[INFO ] 11:38:35.793 org.eclipse.jetty.server.session.HouseKeeper.stopScavenging(HouseKeeper.java:167) - node0 Stopped scavenging
[INFO ] 11:38:35.796 org.eclipse.jetty.server.handler.ContextHandler.doStop(ContextHandler.java:1040) - Stopped o.e.j.w.WebAppContext@30e92cb9{/,[jar:file:/project/file/web.jar!/static/],UNAVAILABLE}
[INFO ] 11:38:35.800 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:287) - org.nutz.ioc.impl.NutIoc@1236303587 is closing. startup date [18-10-11 11:38:31.173] [DEBUG] 11:38:35.801 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object '44cqrl10h8hd8oo0hrcp9r7c66' ...
[DEBUG] 11:38:35.801 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'jedisPoolConfig' ...
[DEBUG] 11:38:35.801 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'jedisPool' ...
[DEBUG] 11:38:35.803 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'dubboRegistryConfig' ...
[DEBUG] 11:38:35.803 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'dubboApplicationConfig' ...
[DEBUG] 11:38:35.803 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object '3sjjmhvie2i6gouhodn1liugt9' ...
[DEBUG] 11:38:35.803 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'jedisAgent' ...
[DEBUG] 11:38:35.803 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'shiroRedisCacheManager' ...
[DEBUG] 11:38:35.803 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'shiroEhcacheCacheManager' ...
[DEBUG] 11:38:35.803 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'shiroLcacheCacheManager' ...
[DEBUG] 11:38:35.803 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'shiroCacheManager' ...
[DEBUG] 11:38:35.804 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'shiroEnvironmentLoaderListener' ...
[DEBUG] 11:38:35.804 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'dubboAnnotationBean' ...
[DEBUG] 11:38:35.804 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'dubbo_iobjs' ...
[DEBUG] 11:38:35.804 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'dubboManager' ...
[INFO ] 11:38:35.804 com.alibaba.dubbo.registry.support.AbstractRegistryFactory.destroyAll(AbstractRegistryFactory.java:64) - [DUBBO] Close all registries [zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-platform&dubbo=web&interface=com.alibaba.dubbo.registry.RegistryService&pid=31918&timestamp=1539229112315], dubbo version: web, current host: 119.23.28.149
[INFO ] 11:38:35.804 com.alibaba.dubbo.registry.support.AbstractRegistry.destroy(AbstractRegistry.java:451) - [DUBBO] Destroy registry:zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?application=wk-nb-web-platform&dubbo=web&interface=com.alibaba.dubbo.registry.RegistryService&pid=31918&timestamp=1539229112315, dubbo version: web, current host: 119.23.28.149
[INFO ] 11:38:35.804 com.alibaba.dubbo.registry.support.AbstractRegistry.unregister(AbstractRegistry.java:284) - [DUBBO] Unregister: consumer://119.23.28.149/cn.wizzer.app.sys.modules.services.SysConfigService?application=wk-nb-web-platform&category=consumers&check=false&default.retries=0&default.timeout=300000&dubbo=web&interface=cn.wizzer.app.sys.modules.services.SysConfigService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,getAllList,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31918&revision=web&side=consumer×tamp=1539229115728, dubbo version: web, current host: 119.23.28.149
[DEBUG] 11:38:35.812 org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:843) - Reading reply sessionid:0x1006d4547950005, packet:: clientPath:null serverPath:null finished:false header:: 23,2 replyHeader:: 23,152,0 request:: '/dubbo/cn.wizzer.app.sys.modules.services.SysConfigService/consumers/consumer%253A%252F%252F119.23.28.149%252Fcn.wizzer.app.sys.modules.services.SysConfigService%253Fapplication%253Dwk-nb-web-platform%2526category%253Dconsumers%2526check%253Dfalse%2526default.retries%253D0%2526default.timeout%253D300000%2526dubbo%253Dweb%2526interface%253Dcn.wizzer.app.sys.modules.services.SysConfigService%2526methods%253DupdateWithVersion%252Cdata%252CinsertRelation%252CinsertWith%252CinsertOrUpdate%252Cdao%252CgetMaxId%252CgetSubPath%252Cquery%252Ccount%252CgetField%252CvDelete%252Clist%252Cexecute%252Cfetchx%252CgetMap%252CupdateAndIncrIfMatch%252CupdateLinks%252CgetEntityClass%252CfetchLinks%252CupdateRelation%252CfastInsert%252CgetAllList%252Cupdate%252Cinsert%252CinsertLinks%252CgetParentPath%252Cdelete%252CupdateIgnoreNull%252ClistPageLinks%252Cclear%252CgetEntity%252CupdateWith%252Cfetch%252Cexists%252ClistPage%2526pid%253D31918%2526revision%253Dweb%2526side%253Dconsumer%2526timestamp%253D1539229115728,-1 response:: null
[INFO ] 11:38:35.812 com.alibaba.dubbo.registry.support.AbstractRegistry.destroy(AbstractRegistry.java:460) - [DUBBO] Destroy unregister url consumer://119.23.28.149/cn.wizzer.app.sys.modules.services.SysConfigService?application=wk-nb-web-platform&category=consumers&check=false&default.retries=0&default.timeout=300000&dubbo=web&interface=cn.wizzer.app.sys.modules.services.SysConfigService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,getAllList,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31918&revision=web&side=consumer×tamp=1539229115728, dubbo version: web, current host: 119.23.28.149
[INFO ] 11:38:35.813 com.alibaba.dubbo.registry.support.AbstractRegistry.unregister(AbstractRegistry.java:284) - [DUBBO] Unregister: consumer://119.23.28.149/cn.wizzer.app.sys.modules.services.SysUserService?application=wk-nb-web-platform&category=consumers&check=false&default.retries=0&default.timeout=300000&dubbo=web&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=31918&revision=web&side=consumer×tamp=1539229112210, dubbo version: web, current host: 119.23.28.149
[DEBUG] 11:38:35.815 org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:843) - Reading reply sessionid:0x1006d4547950005, packet:: clientPath:null serverPath:null finished:false header:: 24,2 replyHeader:: 24,153,0 request:: '/dubbo/cn.wizzer.app.sys.modules.services.SysUserService/consumers/consumer%253A%252F%252F119.23.28.149%252Fcn.wizzer.app.sys.modules.services.SysUserService%253Fapplication%253Dwk-nb-web-platform%2526category%253Dconsumers%2526check%253Dfalse%2526default.retries%253D0%2526default.timeout%253D300000%2526dubbo%253Dweb%2526interface%253Dcn.wizzer.app.sys.modules.services.SysUserService%2526methods%253DupdateWithVersion%252Cdata%252CinsertRelation%252ChasChildren%252CinsertWith%252CfillMenu%252CinsertOrUpdate%252Cdao%252CgetRoleMenus%252CgetDatas%252CgetMaxId%252CgetSubPath%252Cquery%252Ccount%252CgetField%252CvDelete%252Clist%252Cexecute%252Cfetchx%252CgetMenusAndButtons%252CgetMap%252CupdateAndIncrIfMatch%252CupdateLinks%252CgetEntityClass%252CfetchLinks%252CupdateRelation%252CfastInsert%252CdeleteById%252Cupdate%252Cinsert%252CinsertLinks%252CgetParentPath%252Cdelete%252CupdateIgnoreNull%252ClistPageLinks%252Cclear%252CgetEntity%252CupdateWith%252Cfetch%252Cexists%252CgetRoleCodeList%252CdeleteByIds%252ClistPage%2526pid%253D31918%2526revision%253Dweb%2526side%253Dconsumer%2526timestamp%253D1539229112210,-1 response:: null
[INFO ] 11:38:35.816 com.alibaba.dubbo.registry.support.AbstractRegistry.destroy(AbstractRegistry.java:460) - [DUBBO] Destroy unregister url consumer://119.23.28.149/cn.wizzer.app.sys.modules.services.SysUserService?application=wk-nb-web-platform&category=consumers&check=false&default.retries=0&default.timeout=300000&dubbo=web&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=31918&revision=web&side=consumer×tamp=1539229112210, dubbo version: web, current host: 119.23.28.149
[INFO ] 11:38:35.816 com.alibaba.dubbo.registry.support.AbstractRegistry.unsubscribe(AbstractRegistry.java:317) - [DUBBO] Unsubscribe: consumer://119.23.28.149/cn.wizzer.app.sys.modules.services.SysUserService?application=wk-nb-web-platform&category=providers,configurators,routers&default.retries=0&default.timeout=300000&dubbo=web&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=31918&revision=web&side=consumer×tamp=1539229112210, dubbo version: web, current host: 119.23.28.149
[INFO ] 11:38:35.816 com.alibaba.dubbo.registry.support.AbstractRegistry.destroy(AbstractRegistry.java:476) - [DUBBO] Destroy unsubscribe url consumer://119.23.28.149/cn.wizzer.app.sys.modules.services.SysUserService?application=wk-nb-web-platform&category=providers,configurators,routers&default.retries=0&default.timeout=300000&dubbo=web&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=31918&revision=web&side=consumer×tamp=1539229112210, dubbo version: web, current host: 119.23.28.149
[INFO ] 11:38:35.817 com.alibaba.dubbo.registry.support.AbstractRegistry.unsubscribe(AbstractRegistry.java:317) - [DUBBO] Unsubscribe: consumer://119.23.28.149/cn.wizzer.app.sys.modules.services.SysConfigService?application=wk-nb-web-platform&category=providers,configurators,routers&default.retries=0&default.timeout=300000&dubbo=web&interface=cn.wizzer.app.sys.modules.services.SysConfigService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,getAllList,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31918&revision=web&side=consumer×tamp=1539229115728, dubbo version: web, current host: 119.23.28.149
[INFO ] 11:38:35.817 com.alibaba.dubbo.registry.support.AbstractRegistry.destroy(AbstractRegistry.java:476) - [DUBBO] Destroy unsubscribe url consumer://119.23.28.149/cn.wizzer.app.sys.modules.services.SysConfigService?application=wk-nb-web-platform&category=providers,configurators,routers&default.retries=0&default.timeout=300000&dubbo=web&interface=cn.wizzer.app.sys.modules.services.SysConfigService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,getAllList,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31918&revision=web&side=consumer×tamp=1539229115728, dubbo version: web, current host: 119.23.28.149
[DEBUG] 11:38:35.817 org.apache.curator.framework.imps.CuratorFrameworkImpl.close(CuratorFrameworkImpl.java:344) - Closing
[INFO ] 11:38:35.818 org.apache.curator.framework.imps.CuratorFrameworkImpl.backgroundOperationsLoop(CuratorFrameworkImpl.java:937) - backgroundOperationsLoop exiting
[DEBUG] 11:38:35.818 org.apache.curator.CuratorZookeeperClient.close(CuratorZookeeperClient.java:222) - Closing
[DEBUG] 11:38:35.818 org.apache.curator.ConnectionState.close(ConnectionState.java:117) - Closing
[DEBUG] 11:38:35.819 org.apache.zookeeper.ZooKeeper.close(ZooKeeper.java:673) - Closing session: 0x1006d4547950005
[DEBUG] 11:38:35.820 org.apache.zookeeper.ClientCnxn.close(ClientCnxn.java:1370) - Closing client for session: 0x1006d4547950005
[DEBUG] 11:38:35.821 org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:843) - Reading reply sessionid:0x1006d4547950005, packet:: clientPath:null serverPath:null finished:false header:: 25,-11 replyHeader:: 25,154,0 request:: null response:: null
[DEBUG] 11:38:35.821 org.apache.zookeeper.ClientCnxn.disconnect(ClientCnxn.java:1354) - Disconnecting client for session: 0x1006d4547950005
[INFO ] 11:38:35.821 org.apache.zookeeper.ZooKeeper.close(ZooKeeper.java:684) - Session: 0x1006d4547950005 closed
[INFO ] 11:38:35.822 org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:519) - EventThread shut down for session: 0x1006d4547950005
[INFO ] 11:38:35.822 com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.destroy(DubboProtocol.java:438) - [DUBBO] Close dubbo connect: 119.23.28.149:0-->/119.23.28.149:21881, dubbo version: web, current host: 119.23.28.149
[INFO ] 11:38:35.822 com.alibaba.dubbo.rpc.protocol.AbstractProtocol.destroy(AbstractProtocol.java:63) - [DUBBO] Destroy reference: dubbo://119.23.28.149:21881/cn.wizzer.app.sys.modules.services.SysConfigService?anyhost=true&application=wk-nb-web-platform&check=false&default.retries=0&default.timeout=300000&dubbo=sys&generic=false&interface=cn.wizzer.app.sys.modules.services.SysConfigService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,updateAndIncrIfMatch,getMap,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,getAllList,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31918®ister.ip=119.23.28.149&remote.timestamp=1539229021361&revision=web&side=consumer×tamp=1539229115728, dubbo version: web, current host: 119.23.28.149
[WARN ] 11:38:38.589 com.alibaba.dubbo.remoting.transport.AbstractClient$1.run(AbstractClient.java:171) - [DUBBO] client reconnect to 119.23.28.149:21881 find error . url: dubbo://119.23.28.149:21881/cn.wizzer.app.sys.modules.services.SysUserService?anyhost=true&application=wk-nb-web-platform&check=false&codec=dubbo&default.retries=0&default.timeout=300000&dubbo=sys&generic=false&heartbeat=60000&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,getMenusAndButtons,updateAndIncrIfMatch,getMap,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=31918®ister.ip=119.23.28.149&remote.timestamp=1539229021219&revision=web&side=consumer×tamp=1539229112210, dubbo version: web, current host: 119.23.28.149
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://119.23.28.149:21881/cn.wizzer.app.sys.modules.services.SysUserService?anyhost=true&application=wk-nb-web-platform&check=false&codec=dubbo&default.retries=0&default.timeout=300000&dubbo=sys&generic=false&heartbeat=60000&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,getMenusAndButtons,updateAndIncrIfMatch,getMap,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=31918®ister.ip=119.23.28.149&remote.timestamp=1539229021219&revision=web&side=consumer×tamp=1539229112210) failed to connect to server /119.23.28.149:21881 client-side timeout 3000ms (elapsed: 3000ms) from netty client 119.23.28.149 using dubbo version web
at com.alibaba.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:127)
at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:275)
at com.alibaba.dubbo.remoting.transport.AbstractClient$1.run(AbstractClient.java:156)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[INFO ] 11:38:38.591 com.alibaba.dubbo.rpc.protocol.AbstractProtocol.destroy(AbstractProtocol.java:63) - [DUBBO] Destroy reference: dubbo://119.23.28.149:21881/cn.wizzer.app.sys.modules.services.SysUserService?anyhost=true&application=wk-nb-web-platform&check=false&default.retries=0&default.timeout=300000&dubbo=sys&generic=false&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,hasChildren,insertWith,fillMenu,insertOrUpdate,dao,getRoleMenus,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,fetchx,execute,getMenusAndButtons,updateAndIncrIfMatch,getMap,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,deleteById,insertLinks,update,insert,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=31918®ister.ip=119.23.28.149&remote.timestamp=1539229021219&revision=web&side=consumer×tamp=1539229112210, dubbo version: web, current host: 119.23.28.149
[INFO ] 11:38:38.591 com.alibaba.dubbo.registry.support.AbstractRegistryFactory.destroyAll(AbstractRegistryFactory.java:64) - [DUBBO] Close all registries [], dubbo version: web, current host: 119.23.28.149

8 回复

看上去是启动顺序的问题,同样的jar,在windows上ok吗?

是没问题的,可以启动。因为之前写都是在windows环境下执行的,到项目要部署的时候才发现有这么多的问题

failed to connect to server /119.23.28.149:21881 client-side timeout 3000ms

我觉得是连不上zk呢, 防火墙问题?

我使用了 ufw disable
Firewall stopped and disabled on system startup
防火墙应该已经关闭了

是119.23.28.149这台的防火墙, 或者是zk没有监听0.0.0.0,只监听了127.0.0.1

这是要跨主机连zk的节奏??

那请问下怎么设置监听0.0.0.0,119.23.28.149是本机的ip,也不需要跨主机,就是在本机上部署的

能不能这样, 你本地把jar, zk在一个独立的环境配合, 然后直接拷贝到服务器上跑

For the reason: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysConfigService. No provider available for the service cn.wizzer.app.sys.modules.services.SysConfigService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=wk-nb-web-platform&check=false&default.retries=0&default.timeout=300000&dubbo=web&generic=false&interface=cn.wizzer.app.sys.modules.services.SysConfigService&methods=updateWithVersion,data,insertRelation,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,getEntityClass,fetchLinks,updateRelation,fastInsert,getAllList,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,listPageLinks,clear,getEntity,updateWith,fetch,exists,listPage&pid=31918®ister.ip=119.23.28.149&remote.timestamp=1539229021361&revision=web&side=consumer×tamp=1539229115728 to the consumer 119.23.28.149 use dubbo version web

这报错奇怪

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