NutzCN Logo
新闻 NutzWk 5.0.1基于Nutzboot微服务分布式版本发布
发布于 2438天前 作者 大鲨鱼 4931 次浏览 复制 上一个帖子 下一个帖子
标签:

重要的新闻都很短~~

more:

https://github.com/Wizzercn/NutzWk

23 回复

恭祝 新版发布!抽空来研究

围观,之前一直在潜水,有时间学习一下

太棒了,新项目正好开启

来自炫酷的 NutzCN

赞!新项目正准备用!

问一下大鲨鱼,那个NutzWk-NutzBoot版本的是不是还没有完成,分布式版本是用NutzWk-NutzBoot-Dubbo版本?

@kartking 哦那是多余分支,待我删除。。

shiroEhcacheCacheManager
我看了下新的版本shiro的缓存没有启用,每次验证权的时候都提示

[DEBUG] 14:51:58.295 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234) - No authorizationCache instance set.  Checking for a cacheManager...
[DEBUG] 14:51:58.295 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:248) - No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.

@qq_6d1ec279 哪个版本,怎么重现问题?Redis启动了么?

redis启动了,最新的版本,这个是点击菜单
微信
微信会员
会员列表

[DEBUG] 17:14:05.663 org.nutz.plugins.cache.impl.lcache.CachePubSub.onPMessage(CachePubSub.java:15) - channel=LCache:shiro-activeSessionCache, msg=r693uahp54i7rrr7crn3bdetfh:s5agcdaq6mjunraipglv27if7j
[DEBUG] 17:14:05.665 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [POST] path=/platform/wx/user/data/ : WxUserController.data(WxUserController.java:61)
[DEBUG] 17:14:05.669 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) - Get 'wxUserController'<class cn.wizzer.app.web.modules.controllers.platform.wx.WxUserController>
[DEBUG] 17:14:05.672 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234) - No authorizationCache instance set.  Checking for a cacheManager...
[DEBUG] 17:14:05.672 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:248) - No cache or cacheManager properties have been set.  Authorization cache cannot be obtained.
[DEBUG] 17:14:05.673 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) - SELECT * FROM sys_role  WHERE id IN (SELECT roleId FROM sys_user_role WHERE userId='6a57408b49a048b4aee148329d1ca85b')
[DEBUG] 17:14:05.674 org.nutz.dao.impl.interceptor.DaoTimeInterceptor.filter(DaoTimeInterceptor.java:28) - time=1ms, sql=SELECT * FROM sys_role  WHERE id IN (SELECT roleId FROM sys_user_role WHERE userId='6a57408b49a048b4aee148329d1ca85b')
[DEBUG] 17:14:05.675 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) - SELECT * FROM sys_menu  WHERE id IN (SELECT menuId FROM sys_role_menu WHERE roleId='6beaa752c530491fabe184a2a5b85960')
[DEBUG] 17:14:05.688 org.nutz.dao.impl.interceptor.DaoTimeInterceptor.filter(DaoTimeInterceptor.java:28) - time=12ms, sql=SELECT * FROM sys_menu  WHERE id IN (SELECT menuId FROM sys_role_menu WHERE roleId='6beaa752c530491fabe184a2a5b85960')
[DEBUG] 17:14:05.707 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) - SELECT COUNT(*) FROM wx_user 
[DEBUG] 17:14:05.708 org.nutz.dao.impl.interceptor.DaoTimeInterceptor.filter(DaoTimeInterceptor.java:28) - time=0ms, sql=SELECT COUNT(*) FROM wx_user 
[DEBUG] 17:14:05.709 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) - SELECT * FROM wx_user  ORDER BY opAt DESC   LIMIT 0, 10 
[DEBUG] 17:14:05.710 org.nutz.dao.impl.interceptor.DaoTimeInterceptor.filter(DaoTimeInterceptor.java:28) - time=1ms, sql=SELECT * FROM wx_user  ORDER BY opAt DESC   LIMIT 0, 10 

shiro下的realm的缓存?? 默认没加

@qq_6d1ec279 添加了 shiro.realm.cache.enable=false 配置项,你可以启用 realm缓存,但修改密码之后记得clear缓存,要不新密码不生效。
如:

RealmSecurityManager securityManager =  
     (RealmSecurityManager) SecurityUtils.getSecurityManager();  
    PlatformAuthorizingRealm platformUserRealm = (PlatformAuthorizingRealm) securityManager.getRealms().iterator().next();  
    platformUserRealm.clearCachedAuthenticationInfo(subject().getPrincipals());  

@qq_6d1ec279 还有角色信息变了,角色权限变了,用户状态变了等处,按理也需要清空缓存,所以这个默认false最好,日志提示无所谓啦,,你可以测试看看?

角色变了,权限变了,用户状态变了,其实就是要把用户踢下线就好了

nutzwk5.0.1跑起来后,尝试登录三次密码错误后,进行验证码验证发现总是返回验证码错误;debug会打印两次验证码如下:

DEBUG] 12:43:26.469 org.apache.shiro.web.servlet.SimpleCookie.readValue(SimpleCookie.java:389) - Found 'sid' cookie value [tbmgrv9088j5uonk2ikoa19k8p]
[DEBUG] 12:43:26.475 org.nutz.plugins.cache.impl.lcache.LCache.fire(LCache.java:96) - fire channel=LCache:shiro-activeSessionCache msg=72vua5i70khjcoehmetl0u9d6h:tbmgrv9088j5uonk2ikoa19k8p
[DEBUG] 12:43:26.475 org.nutz.plugins.cache.impl.lcache.CachePubSub.onPMessage(CachePubSub.java:15) - channel=LCache:shiro-activeSessionCache, msg=72vua5i70khjcoehmetl0u9d6h:tbmgrv9088j5uonk2ikoa19k8p
[DEBUG] 12:43:26.475 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [POST] path=/platform/login/doLogin : SysLoginController.doLogin(SysLoginController.java:157)
[DEBUG] 12:43:26.477 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'sysLoginController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController>
[DEBUG] 12:43:26.585 org.apache.shiro.web.servlet.SimpleCookie.addCookieHeader(SimpleCookie.java:226) - Added HttpServletResponse Cookie [rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Fri, 30-Mar-2018 04:43:26 GMT]
[DEBUG] 12:43:26.585 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [POST]URI=/platform/login/doLogin 109ms
[DEBUG] 12:43:26.591 org.apache.shiro.web.servlet.SimpleCookie.readValue(SimpleCookie.java:389) - Found 'sid' cookie value [tbmgrv9088j5uonk2ikoa19k8p]
[DEBUG] 12:43:26.594 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [GET] path=/platform/login/captcha : SysLoginController.next(SysLoginController.java:239)
[DEBUG] 12:43:26.595 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'sysLoginController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController>
[DEBUG] 12:43:26.596 cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController.next(SysLoginController.java:245) - 1751:::::::::::::::
[DEBUG] 12:43:26.612 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [GET ]URI=/platform/login/captcha 18ms
[DEBUG] 12:43:30.906 org.apache.zookeeper.ClientCnxn$SendThread.readResponse(ClientCnxn.java:742) - Got ping response for sessionid: 0x100022319ad0004 after 0ms
[DEBUG] 12:43:32.748 org.apache.shiro.web.servlet.SimpleCookie.readValue(SimpleCookie.java:389) - Found 'sid' cookie value [tbmgrv9088j5uonk2ikoa19k8p]
[DEBUG] 12:43:32.752 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [POST] path=/platform/login/doLogin : SysLoginController.doLogin(SysLoginController.java:157)
[DEBUG] 12:43:32.753 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'sysLoginController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController>
[DEBUG] 12:43:32.846 org.apache.shiro.web.servlet.SimpleCookie.addCookieHeader(SimpleCookie.java:226) - Added HttpServletResponse Cookie [rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Fri, 30-Mar-2018 04:43:32 GMT]
[DEBUG] 12:43:32.847 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [POST]URI=/platform/login/doLogin 95ms
[DEBUG] 12:43:32.859 org.apache.shiro.web.servlet.SimpleCookie.readValue(SimpleCookie.java:389) - Found 'sid' cookie value [tbmgrv9088j5uonk2ikoa19k8p]
[DEBUG] 12:43:32.866 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [GET] path=/platform/login/captcha : SysLoginController.next(SysLoginController.java:239)
[DEBUG] 12:43:32.867 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'sysLoginController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController>
[DEBUG] 12:43:32.868 cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController.next(SysLoginController.java:245) - 7800:::::::::::::::
[DEBUG] 12:43:32.889 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [GET ]URI=/platform/login/captcha 23ms
[DEBUG] 12:43:36.881 com.alibaba.dubbo.remoting.exchange.support.header.HeartBeatTask.run(HeartBeatTask.java:64) -  [DUBBO] Send heartbeat to remote channel /10.188.7.3:55010, cause: The channel has no data-transmission exceeds a heartbeat period: 60000ms, dubbo version: 2.6.1, current host: 10.188.7.3
[DEBUG] 12:43:36.882 com.alibaba.dubbo.remoting.exchange.support.header.HeartbeatHandler.received(HeartbeatHandler.java:80) -  [DUBBO] Receive heartbeat response in thread New I/O client worker #1-1, dubbo version: 2.6.1, current host: 10.188.7.3
[DEBUG] 12:43:37.547 com.alibaba.dubbo.remoting.exchange.support.header.HeartbeatHandler.received(HeartbeatHandler.java:70) -  [DUBBO] Received heartbeat from remote channel /10.188.7.3:55020, cause: The channel has no data-transmission exceeds a heartbeat period: 60000ms, dubbo version: 2.6.1, current host: 10.188.7.3
[DEBUG] 12:43:41.670 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@553ca297].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.670 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [GET] path=/platform/login : SysLoginController.login(SysLoginController.java:64)
[DEBUG] 12:43:41.671 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'sysLoginController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController>
[DEBUG] 12:43:41.671 org.apache.shiro.session.mgt.DefaultSessionManager.create(DefaultSessionManager.java:175) - Creating new EIS record for new session instance [org.apache.shiro.session.mgt.SimpleSession,id=null]
[DEBUG] 12:43:41.672 org.nutz.plugins.cache.impl.lcache.LCache.fire(LCache.java:96) - fire channel=LCache:shiro-activeSessionCache msg=72vua5i70khjcoehmetl0u9d6h:26p0ub2m86hesrocgt4fs09hg4
[DEBUG] 12:43:41.672 org.nutz.plugins.cache.impl.lcache.CachePubSub.onPMessage(CachePubSub.java:15) - channel=LCache:shiro-activeSessionCache, msg=72vua5i70khjcoehmetl0u9d6h:26p0ub2m86hesrocgt4fs09hg4
[DEBUG] 12:43:41.672 org.nutz.plugins.cache.impl.lcache.LCache.fire(LCache.java:96) - fire channel=LCache:shiro-activeSessionCache msg=72vua5i70khjcoehmetl0u9d6h:26p0ub2m86hesrocgt4fs09hg4
[DEBUG] 12:43:41.673 org.nutz.plugins.cache.impl.lcache.CachePubSub.onPMessage(CachePubSub.java:15) - channel=LCache:shiro-activeSessionCache, msg=72vua5i70khjcoehmetl0u9d6h:26p0ub2m86hesrocgt4fs09hg4
[DEBUG] 12:43:41.673 org.apache.shiro.web.servlet.SimpleCookie.addCookieHeader(SimpleCookie.java:226) - Added HttpServletResponse Cookie [sid=26p0ub2m86hesrocgt4fs09hg4; Path=/; Max-Age=946080000; Expires=Mon, 23-Mar-2048 04:43:41 GMT; HttpOnly]
[DEBUG] 12:43:41.773 org.nutz.plugins.cache.impl.lcache.LCache.fire(LCache.java:96) - fire channel=LCache:shiro-activeSessionCache msg=72vua5i70khjcoehmetl0u9d6h:26p0ub2m86hesrocgt4fs09hg4
[DEBUG] 12:43:41.773 org.nutz.plugins.cache.impl.lcache.CachePubSub.onPMessage(CachePubSub.java:15) - channel=LCache:shiro-activeSessionCache, msg=72vua5i70khjcoehmetl0u9d6h:26p0ub2m86hesrocgt4fs09hg4
[DEBUG] 12:43:41.774 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [GET ]URI=/platform/login 103ms
[DEBUG] 12:43:41.783 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@18107a09].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.789 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@3062aae7].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.790 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@3f121de4].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.795 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@21598ef1].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.796 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@49505605].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.803 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@24f91fea].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.804 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@3270cffc].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.804 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@32a5ac82].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.805 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@1e9bc00].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.806 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@6bea352a].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.812 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@7db83346].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.813 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@5ff9f5bc].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.815 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@1d5e9a6b].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.818 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@dc7bc15].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.820 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@51b35e32].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.824 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@6f21b080].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.824 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@9c0f4eb].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.824 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [GET] path=/platform/login/captcha : SysLoginController.next(SysLoginController.java:239)
[DEBUG] 12:43:41.825 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'sysLoginController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController>
[DEBUG] 12:43:41.825 org.apache.shiro.session.mgt.DefaultSessionManager.create(DefaultSessionManager.java:175) - Creating new EIS record for new session instance [org.apache.shiro.session.mgt.SimpleSession,id=null]
[DEBUG] 12:43:41.826 org.nutz.plugins.cache.impl.lcache.LCache.fire(LCache.java:96) - fire channel=LCache:shiro-activeSessionCache msg=72vua5i70khjcoehmetl0u9d6h:4efdnbvftiia7pbp7pj3g1vh8l
[DEBUG] 12:43:41.826 org.nutz.plugins.cache.impl.lcache.CachePubSub.onPMessage(CachePubSub.java:15) - channel=LCache:shiro-activeSessionCache, msg=72vua5i70khjcoehmetl0u9d6h:4efdnbvftiia7pbp7pj3g1vh8l
[DEBUG] 12:43:41.827 org.nutz.plugins.cache.impl.lcache.LCache.fire(LCache.java:96) - fire channel=LCache:shiro-activeSessionCache msg=72vua5i70khjcoehmetl0u9d6h:4efdnbvftiia7pbp7pj3g1vh8l
[DEBUG] 12:43:41.827 org.nutz.plugins.cache.impl.lcache.CachePubSub.onPMessage(CachePubSub.java:15) - channel=LCache:shiro-activeSessionCache, msg=72vua5i70khjcoehmetl0u9d6h:4efdnbvftiia7pbp7pj3g1vh8l
[DEBUG] 12:43:41.827 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@2067383b].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.827 org.apache.shiro.web.servlet.SimpleCookie.addCookieHeader(SimpleCookie.java:226) - Added HttpServletResponse Cookie [sid=4efdnbvftiia7pbp7pj3g1vh8l; Path=/; Max-Age=946080000; Expires=Mon, 23-Mar-2048 04:43:41 GMT; HttpOnly]
[DEBUG] 12:43:41.828 cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController.next(SysLoginController.java:245) - 3005:::::::::::::::
[DEBUG] 12:43:41.830 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@6b42ce90].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.834 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@600df3d8].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.837 org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:218) - Unable to resolve session ID from SessionKey [org.apache.shiro.web.session.mgt.WebSessionKey@48c533c9].  Returning null to indicate a session could not be found.
[DEBUG] 12:43:41.847 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [GET ]URI=/platform/login/captcha 22ms

wk5.0.1 关闭了一个晚饭的时间,再次启动就起不来了,我和朋友的情况一摸一样。前面都是正常使用。晚上突然就报错了。仅platfromMainLauncher报的错如下:

[WARN ] 22:40:25.758 com.alibaba.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:98) -  [DUBBO] Failed to start NettyClient zjj/10.188.16.130 connect to the server /10.188.16.81:55010 (check == false, ignore and retry later!), cause: client(url: dubbo://10.188.16.81:55010/cn.wizzer.app.sys.modules.services.SysUserService?anyhost=true&application=wk-nb-web-platform&check=false&codec=dubbo&dubbo=2.6.1&generic=false&heartbeat=60000&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,insertWith,fillMenu,insertOrUpdate,dao,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=10252&register.ip=10.188.16.130&remote.timestamp=1522492439200&side=consumer&timestamp=1522507224024) failed to connect to server /10.188.16.81:55010, error message is:connection timed out, dubbo version: 2.6.1, current host: 10.188.16.130
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://10.188.16.81:55010/cn.wizzer.app.sys.modules.services.SysUserService?anyhost=true&application=wk-nb-web-platform&check=false&codec=dubbo&dubbo=2.6.1&generic=false&heartbeat=60000&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,insertWith,fillMenu,insertOrUpdate,dao,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=10252&register.ip=10.188.16.130&remote.timestamp=1522492439200&side=consumer&timestamp=1522507224024) failed to connect to server /10.188.16.81:55010, error message is:connection timed out
	at com.alibaba.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:122)
	at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:266)
	at com.alibaba.dubbo.remoting.transport.AbstractClient.<init>(AbstractClient.java:89)
	at com.alibaba.dubbo.remoting.transport.netty.NettyClient.<init>(NettyClient.java:59)
	at com.alibaba.dubbo.remoting.transport.netty.NettyTransporter.connect(NettyTransporter.java:35)
	at com.alibaba.dubbo.remoting.Transporter$Adaptive.connect(Transporter$Adaptive.java)
	at com.alibaba.dubbo.remoting.Transporters.connect(Transporters.java:75)
	at com.alibaba.dubbo.remoting.exchange.support.header.HeaderExchanger.connect(HeaderExchanger.java:38)
	at com.alibaba.dubbo.remoting.exchange.Exchangers.connect(Exchangers.java:109)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.initClient(DubboProtocol.java:405)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getSharedClient(DubboProtocol.java:373)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.getClients(DubboProtocol.java:350)
	at com.alibaba.dubbo.rpc.protocol.dubbo.DubboProtocol.refer(DubboProtocol.java:332)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:100)
	at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:65)
	at com.alibaba.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:65)
	at com.alibaba.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
	at com.alibaba.dubbo.registry.integration.RegistryDirectory.toInvokers(RegistryDirectory.java:385)
	at com.alibaba.dubbo.registry.integration.RegistryDirectory.refreshInvoker(RegistryDirectory.java:251)
	at com.alibaba.dubbo.registry.integration.RegistryDirectory.notify(RegistryDirectory.java:221)
	at com.alibaba.dubbo.registry.support.AbstractRegistry.notify(AbstractRegistry.java:407)
	at com.alibaba.dubbo.registry.support.FailbackRegistry.doNotify(FailbackRegistry.java:273)
	at com.alibaba.dubbo.registry.support.FailbackRegistry.notify(FailbackRegistry.java:259)
	at com.alibaba.dubbo.registry.zookeeper.ZookeeperRegistry.doSubscribe(ZookeeperRegistry.java:182)
	at com.alibaba.dubbo.registry.support.FailbackRegistry.subscribe(FailbackRegistry.java:189)
	at com.alibaba.dubbo.registry.integration.RegistryDirectory.subscribe(RegistryDirectory.java:159)
	at com.alibaba.dubbo.registry.integration.RegistryProtocol.doRefer(RegistryProtocol.java:302)
	at com.alibaba.dubbo.registry.integration.RegistryProtocol.refer(RegistryProtocol.java:283)
	at com.alibaba.dubbo.rpc.protocol.ProtocolFilterWrapper.refer(ProtocolFilterWrapper.java:98)
	at com.alibaba.dubbo.rpc.protocol.ProtocolListenerWrapper.refer(ProtocolListenerWrapper.java:63)
	at com.alibaba.dubbo.qos.protocol.QosProtocolWrapper.refer(QosProtocolWrapper.java:63)
	at com.alibaba.dubbo.rpc.Protocol$Adaptive.refer(Protocol$Adaptive.java)
	at com.alibaba.dubbo.config.ReferenceConfig.createProxy(ReferenceConfig.java:394)
	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)
	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)
	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)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.boot.starter.shiro.ShiroEnvStarter.getWebSecurityManager(ShiroEnvStarter.java:133)
	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)
	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)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.createWebSecurityManager(NbResourceBasedWebEnvironment.java:85)
	at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.configure(NbResourceBasedWebEnvironment.java:45)
	at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.init(NbResourceBasedWebEnvironment.java:39)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
	at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
	at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
	at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
	at org.nutz.boot.starter.shiro.NbShiroEnvironmentLoaderListener.contextInitialized(NbShiroEnvironmentLoaderListener.java:40)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)
	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:785)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)
	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:419)
	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:386)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:122)
	at org.nutz.boot.AppContext.startServers(AppContext.java:298)
	at org.nutz.boot.NbApp.execute(NbApp.java:204)
	at org.nutz.boot.NbApp.run(NbApp.java:177)
	at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:41)
Caused by: java.net.ConnectException: connection timed out
	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:371)
	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:283)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

继续贴

[ERROR] 22:40:25.817 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:146) - Shiro environment initialization failed
org.nutz.ioc.IocException: IocBean[shiroWebSecurityManager] 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.boot.starter.shiro.NbResourceBasedWebEnvironment.createWebSecurityManager(NbResourceBasedWebEnvironment.java:85)
	at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.configure(NbResourceBasedWebEnvironment.java:45)
	at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.init(NbResourceBasedWebEnvironment.java:39)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
	at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
	at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
	at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
	at org.nutz.boot.starter.shiro.NbShiroEnvironmentLoaderListener.contextInitialized(NbShiroEnvironmentLoaderListener.java:40)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)
	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:785)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)
	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:419)
	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:386)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:122)
	at org.nutz.boot.AppContext.startServers(AppContext.java:298)
	at org.nutz.boot.NbApp.execute(NbApp.java:204)
	at org.nutz.boot.NbApp.run(NbApp.java:177)
	at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:41)
Caused by: org.nutz.lang.InvokingException: Fail to invoke [org.nutz.boot.starter.shiro.ShiroEnvStarter].getWebSecurityManager() by args:
For the reason: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysUserService. No provider available for the service cn.wizzer.app.sys.modules.services.SysUserService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=wk-nb-web-platform&check=false&dubbo=2.6.1&generic=false&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,insertWith,fillMenu,insertOrUpdate,dao,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=10252&register.ip=10.188.16.130&remote.timestamp=1522492439200&side=consumer&timestamp=1522507224024 to the consumer 10.188.16.130 use dubbo version 2.6.1
	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)
	... 32 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysUserService. No provider available for the service cn.wizzer.app.sys.modules.services.SysUserService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=wk-nb-web-platform&check=false&dubbo=2.6.1&generic=false&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,insertWith,fillMenu,insertOrUpdate,dao,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=10252&register.ip=10.188.16.130&remote.timestamp=1522492439200&side=consumer&timestamp=1522507224024 to the consumer 10.188.16.130 use dubbo version 2.6.1
	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)
	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)
	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)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.boot.starter.shiro.ShiroEnvStarter.getWebSecurityManager(ShiroEnvStarter.java:133)
	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)
	... 36 more
[DEBUG] 22:40:25.817 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - 	 >> Load definition name=jedisPool
[WARN ] 22:40:25.819 org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:554) - Failed startup of context o.e.j.w.WebAppContext@655a01d8{/,[file:///F:/Resource/NutzWk/wk-app/wk-nb-web-platform/target/classes/static/, file:///F:/Resource/NutzWk/wk-app/wk-nb-web-platform/target/classes/webapp/],UNAVAILABLE}
org.nutz.ioc.IocException: IocBean[shiroWebSecurityManager] 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.boot.starter.shiro.NbResourceBasedWebEnvironment.createWebSecurityManager(NbResourceBasedWebEnvironment.java:85)
	at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.configure(NbResourceBasedWebEnvironment.java:45)
	at org.nutz.boot.starter.shiro.NbResourceBasedWebEnvironment.init(NbResourceBasedWebEnvironment.java:39)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
	at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
	at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
	at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
	at org.nutz.boot.starter.shiro.NbShiroEnvironmentLoaderListener.contextInitialized(NbShiroEnvironmentLoaderListener.java:40)
	at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
	at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:558)
	at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:370)
	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:785)
	at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:287)
	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:419)
	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:386)
	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
	at org.nutz.boot.starter.jetty.JettyStarter.start(JettyStarter.java:122)
	at org.nutz.boot.AppContext.startServers(AppContext.java:298)
	at org.nutz.boot.NbApp.execute(NbApp.java:204)
	at org.nutz.boot.NbApp.run(NbApp.java:177)
	at cn.wizzer.app.web.commons.core.WebPlatformMainLauncher.main(WebPlatformMainLauncher.java:41)
Caused by: org.nutz.lang.InvokingException: Fail to invoke [org.nutz.boot.starter.shiro.ShiroEnvStarter].getWebSecurityManager() by args:
 
For the reason: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysUserService. No provider available for the service cn.wizzer.app.sys.modules.services.SysUserService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=wk-nb-web-platform&check=false&dubbo=2.6.1&generic=false&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,insertWith,fillMenu,insertOrUpdate,dao,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=10252&register.ip=10.188.16.130&remote.timestamp=1522492439200&side=consumer&timestamp=1522507224024 to the consumer 10.188.16.130 use dubbo version 2.6.1
	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)
	... 32 more
Caused by: java.lang.IllegalStateException: Failed to check the status of the service cn.wizzer.app.sys.modules.services.SysUserService. No provider available for the service cn.wizzer.app.sys.modules.services.SysUserService from the url zookeeper://127.0.0.1:2181/com.alibaba.dubbo.registry.RegistryService?anyhost=true&application=wk-nb-web-platform&check=false&dubbo=2.6.1&generic=false&interface=cn.wizzer.app.sys.modules.services.SysUserService&methods=updateWithVersion,data,insertRelation,insertWith,fillMenu,insertOrUpdate,dao,getDatas,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMenusAndButtons,getMap,updateAndIncrIfMatch,updateLinks,fetchLinks,updateRelation,fastInsert,deleteById,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,getRoleCodeList,deleteByIds,listPage&pid=10252&register.ip=10.188.16.130&remote.timestamp=1522492439200&side=consumer&timestamp=1522507224024 to the consumer 10.188.16.130 use dubbo version 2.6.1
	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)
	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)
	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)
	at org.nutz.ioc.weaver.DefaultWeaver.fill(DefaultWeaver.java:67)
	at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:138)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
	at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
	at org.nutz.boot.starter.shiro.ShiroEnvStarter.getWebSecurityManager(ShiroEnvStarter.java:133)
	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)
	... 36 more

下午还能正常跑,然后晚上一直是这个问题!就是运行TaskMainLauncher这一个时有这样的异常。

[WARN ] 23:27:18.959 com.alibaba.dubbo.remoting.transport.AbstractClient$1.run(AbstractClient.java:170) -  [DUBBO] client reconnect to 10.182.1.75:55010 find error . url: dubbo://10.182.1.75:55010/cn.wizzer.app.sys.modules.services.SysTaskService?anyhost=true&application=wk-nb-task&check=false&codec=dubbo&dubbo=2.6.1&generic=false&heartbeat=60000&interface=cn.wizzer.app.sys.modules.services.SysTaskService&methods=updateWithVersion,insertRelation,data,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,fetchLinks,updateRelation,fastInsert,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,listPage&pid=8628&register.ip=10.182.1.75&remote.timestamp=1522510012158&side=consumer&timestamp=1522510034811, dubbo version: 2.6.1, current host: 10.182.1.75
com.alibaba.dubbo.remoting.RemotingException: client(url: dubbo://10.182.1.75:55010/cn.wizzer.app.sys.modules.services.SysTaskService?anyhost=true&application=wk-nb-task&check=false&codec=dubbo&dubbo=2.6.1&generic=false&heartbeat=60000&interface=cn.wizzer.app.sys.modules.services.SysTaskService&methods=updateWithVersion,insertRelation,data,insertWith,insertOrUpdate,dao,getMaxId,getSubPath,query,count,getField,vDelete,list,execute,fetchx,getMap,updateAndIncrIfMatch,updateLinks,fetchLinks,updateRelation,fastInsert,update,insert,insertLinks,getParentPath,delete,updateIgnoreNull,clear,getEntity,updateWith,fetch,exists,listPage&pid=8628&register.ip=10.182.1.75&remote.timestamp=1522510012158&side=consumer&timestamp=1522510034811) failed to connect to server /10.182.1.75:55010, error message is:connection timed out
	at com.alibaba.dubbo.remoting.transport.netty.NettyClient.doConnect(NettyClient.java:122)
	at com.alibaba.dubbo.remoting.transport.AbstractClient.connect(AbstractClient.java:266)
	at com.alibaba.dubbo.remoting.transport.AbstractClient$1.run(AbstractClient.java:155)
	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:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.net.ConnectException: connection timed out
	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.processConnectTimeout(NioClientSocketPipelineSink.java:371)
	at org.jboss.netty.channel.socket.nio.NioClientSocketPipelineSink$Boss.run(NioClientSocketPipelineSink.java:283)
	at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
	at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:44)
	... 3 more
[INFO ] 23:27:24.632 org.nutz.boot.starter.quartz.QuartzStarter$1.run(QuartzStarter.java:106) - Starting Quartz Scheduler now, after delay of 10 seconds
Exception in thread "Quartz Scheduler [defaultScheduler]" java.lang.RuntimeException: Could not start Quartz Scheduler after delay
	at org.nutz.boot.starter.quartz.QuartzStarter$1.run(QuartzStarter.java:111)
Caused by: org.quartz.SchedulerException: The Scheduler cannot be restarted after shutdown() has been called.
	at org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:529)
	at org.quartz.impl.StdScheduler.start(StdScheduler.java:142)
	at org.nutz.boot.starter.quartz.QuartzStarter$1.run(QuartzStarter.java:109)
failed to connect to server /10.182.1.75:55010, error message is:connection timed out

10.182.1.75 是什么机器? 服务者进程挂掉了吧

提问请新开贴,这个贴子太长,已锁定。

添加回复
该帖子已被锁定,不能回复.
回到顶部