NutzCN Logo
问答 nutzwk整合undertow,一直进不去主页
发布于 2645天前 作者 wx_8av4gnsr0tjunfiq87qk 3830 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

按照https://github.com/nutzam/nutzmore/tree/master/nutz-plugins-undertow描述,根本运行不起来。报错:
[WARN ] 2017-08-04 09:23:38,988 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) - Error@/platform/login :
org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.
at org.apache.shiro.SecurityUtils.getSecurityManager(SecurityUtils.java:123)
at org.apache.shiro.subject.Subject$Builder.(Subject.java:627)
at org.apache.shiro.SecurityUtils.getSubject(SecurityUtils.java:56)
at cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController.login(SysLoginController.java:57)
at cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController$FM$login$a35f6ebc0a1eef31c8dcd6e1bc480f01.invoke(SysLoginController.java)
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:33)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.XssSqlFilterProcessor.process(XssSqlFilterProcessor.java:35)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.NutShiroProcessor.process(NutShiroProcessor.java:52)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
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.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.GlobalsSettingProcessor.process(GlobalsSettingProcessor.java:36)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:21)
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 io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:274)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:209)
at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:221)
at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(RequestDispatcherImpl.java:147)
at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
at cn.wizzer.app.web.commons.filter.RouteFilter.doFilter(RouteFilter.java:29)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.nutz.mvc.NutFilter.nextChain(NutFilter.java:230)
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:205)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)
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)
[DEBUG] 2017-08-04 09:23:39,334 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.
[DEBUG] 2017-08-04 09:23:41,412 io.undertow.util.PathMatcher.match(PathMatcher.java:97) - Matched default handler path /
[DEBUG] 2017-08-04 09:23:41,414 io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:86) - Attempting to authenticate HttpServerExchange{ GET / request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {}}, authentication required: false
[DEBUG] 2017-08-04 09:23:41,414 io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:246) - Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@24ac52f2 for HttpServerExchange{ GET / request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {}}
[DEBUG] 2017-08-04 09:23:41,414 io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:110) - Authentication result was ATTEMPTED for HttpServerExchange{ GET / request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {}}
[DEBUG] 2017-08-04 09:23:41,415 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [GET] path=/ : SysHomeController.index(SysHomeController.java:115)
[DEBUG] 2017-08-04 09:23:41,415 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'shiroUtil'<class cn.wizzer.framework.util.ShiroUtil>
[DEBUG] 2017-08-04 09:23:41,415 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dateUtil'<class cn.wizzer.framework.util.DateUtil>
[DEBUG] 2017-08-04 09:23:41,416 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'stringUtil'<class cn.wizzer.framework.util.StringUtil>
[DEBUG] 2017-08-04 09:23:41,416 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'sysHomeController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysHomeController>
[DEBUG] 2017-08-04 09:23:41,417 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) - >> Load definition name=sysHomeController
[DEBUG] 2017-08-04 09:23:41,417 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:161) - Found IocObject(sysHomeController) in AnnotationIocLoader(packages=[cn.wizzer])
[DEBUG] 2017-08-04 09:23:41,417 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) - >> Make...'sysHomeController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysHomeController>
[DEBUG] 2017-08-04 09:23:41,417 cn.wizzer.app.web.commons.plugin.PluginAopConfigure.getInterceptorPairList(PluginAopConfigure.java:33) - skip -- cn.wizzer.app.web.modules.controllers.platform.sys.SysHomeController
[DEBUG] 2017-08-04 09:23:41,418 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) - Load class cn.wizzer.app.web.modules.controllers.platform.sys.SysHomeController without AOP
[DEBUG] 2017-08-04 09:23:41,418 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) - Save object 'sysHomeController' to [app] [DEBUG] 2017-08-04 09:23:41,424 org.nutz.ioc.val.ReferTypeValue.get(ReferTypeValue.java:64) - name=menuService not found, search for type=cn.wizzer.app.sys.modules.services.SysMenuService
[DEBUG] 2017-08-04 09:23:41,424 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'sysMenuServiceImpl'<interface cn.wizzer.app.sys.modules.services.SysMenuService>
[DEBUG] 2017-08-04 09:23:41,427 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [GET ]URI=/ 11ms
[DEBUG] 2017-08-04 09:23:41,434 io.undertow.util.PathMatcher.match(PathMatcher.java:97) - Matched default handler path /sysadmin
[DEBUG] 2017-08-04 09:23:41,434 io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:86) - Attempting to authenticate HttpServerExchange{ GET /sysadmin request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {}}, authentication required: false
[DEBUG] 2017-08-04 09:23:41,435 io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:246) - Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@24ac52f2 for HttpServerExchange{ GET /sysadmin request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {}}
[DEBUG] 2017-08-04 09:23:41,435 io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:110) - Authentication result was ATTEMPTED for HttpServerExchange{ GET /sysadmin request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {}}
[DEBUG] 2017-08-04 09:23:41,435 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:110) - Search mapping for [GET] path=/sysadmin : NOT Action match
[DEBUG] 2017-08-04 09:23:41,435 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [GET] path=/platform/login : SysLoginController.login(SysLoginController.java:57)
[DEBUG] 2017-08-04 09:23:41,435 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'shiroUtil'<class cn.wizzer.framework.util.ShiroUtil>
[DEBUG] 2017-08-04 09:23:41,436 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dateUtil'<class cn.wizzer.framework.util.DateUtil>
[DEBUG] 2017-08-04 09:23:41,436 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'stringUtil'<class cn.wizzer.framework.util.StringUtil>
[DEBUG] 2017-08-04 09:23:41,436 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'sysLoginController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController>
[DEBUG] 2017-08-04 09:23:41,436 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [GET ]URI=/platform/login 1ms
[WARN ] 2017-08-04 09:23:41,436 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) - Error@/platform/login :
org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.
at org.apache.shiro.SecurityUtils.getSecurityManager(SecurityUtils.java:123)
at org.apache.shiro.subject.Subject$Builder.(Subject.java:627)
at org.apache.shiro.SecurityUtils.getSubject(SecurityUtils.java:56)
at cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController.login(SysLoginController.java:57)
at cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController$FM$login$a35f6ebc0a1eef31c8dcd6e1bc480f01.invoke(SysLoginController.java)
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:33)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.XssSqlFilterProcessor.process(XssSqlFilterProcessor.java:35)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.NutShiroProcessor.process(NutShiroProcessor.java:52)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
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.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.GlobalsSettingProcessor.process(GlobalsSettingProcessor.java:36)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:21)
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 io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:274)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:209)
at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:221)
at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(RequestDispatcherImpl.java:147)
at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
at cn.wizzer.app.web.commons.filter.RouteFilter.doFilter(RouteFilter.java:29)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at org.nutz.mvc.NutFilter.nextChain(NutFilter.java:230)
at org.nutz.mvc.NutFilter.doFilter(NutFilter.java:205)
at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)
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)
[DEBUG] 2017-08-04 09:23:59,342 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.
[DEBUG] 2017-08-04 09:24:01,443 io.undertow.server.session.InMemorySessionManager$SessionImpl.invalidate(InMemorySessionManager.java:549) - Invalidating session HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT for exchange null
[DEBUG] 2017-08-04 09:24:19,348 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.
[DEBUG] 2017-08-04 09:24:39,355 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.
[DEBUG] 2017-08-04 09:24:41,492 io.undertow.server.protocol.ParseTimeoutUpdater.run(ParseTimeoutUpdater.java:151) - Timing out idle connection from /0:0:0:0:0:0:0:1:55426
[DEBUG] 2017-08-04 09:24:59,357 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.
[DEBUG] 2017-08-04 09:25:19,352 org.quartz.impl.jdbcjobstore.JobStoreSupport$MisfireHandler.manage(JobStoreSupport.java:3949) - MisfireHandler: scanning for misfires...
[DEBUG] 2017-08-04 09:25:19,354 org.quartz.impl.jdbcjobstore.JobStoreSupport.doRecoverMisfires(JobStoreSupport.java:3198) - Found 0 triggers that missed their scheduled fire-time.
[DEBUG] 2017-08-04 09:25:19,363 org.quartz.impl.jdbcjobstore.JobStoreSupport$ClusterManager.manage(JobStoreSupport.java:3877) - ClusterManager: Check-in complete.
[DEBUG] 2017-08-04 09:25:21,633 io.undertow.util.PathMatcher.match(PathMatcher.java:97) - Matched default handler path /platform/login
[DEBUG] 2017-08-04 09:25:21,634 io.undertow.security.impl.SecurityContextImpl.authenticate(SecurityContextImpl.java:86) - Attempting to authenticate HttpServerExchange{ GET /platform/login request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {}}, authentication required: false
[DEBUG] 2017-08-04 09:25:21,635 io.undertow.security.impl.SecurityContextImpl$AuthAttempter.transition(SecurityContextImpl.java:246) - Authentication outcome was NOT_ATTEMPTED with method io.undertow.security.impl.CachedAuthenticatedSessionMechanism@24ac52f2 for HttpServerExchange{ GET /platform/login request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {}}
[DEBUG] 2017-08-04 09:25:21,635 io.undertow.security.impl.SecurityContextImpl.authTransition(SecurityContextImpl.java:110) - Authentication result was ATTEMPTED for HttpServerExchange{ GET /platform/login request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {}}
[DEBUG] 2017-08-04 09:25:21,635 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) - Found mapping for [GET] path=/platform/login : SysLoginController.login(SysLoginController.java:57)
[DEBUG] 2017-08-04 09:25:21,636 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'shiroUtil'<class cn.wizzer.framework.util.ShiroUtil>
[DEBUG] 2017-08-04 09:25:21,636 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'dateUtil'<class cn.wizzer.framework.util.DateUtil>
[DEBUG] 2017-08-04 09:25:21,636 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'stringUtil'<class cn.wizzer.framework.util.StringUtil>
[DEBUG] 2017-08-04 09:25:21,636 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) - Get 'sysLoginController'<class cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController>
[DEBUG] 2017-08-04 09:25:21,636 io.undertow.server.session.InMemorySessionManager.createSession(InMemorySessionManager.java:186) - Created session with id HL2Uc9_k9Ei7xvwOhoO7iZVM_r4QrkItbCrIcbxz for exchange HttpServerExchange{ GET /platform/login request {Accept=[text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8], Accept-Language=[zh-CN,zh;q=0.8,en;q=0.6], Accept-Encoding=[gzip, deflate, br], User-Agent=[Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36], Connection=[keep-alive], RA-Sid=[6FC8F1CA-20150702-063919-da6a22-e1d507], Cookie=[Idea-e061015d=575eceeb-713e-403e-843d-f7809d38ff9a; jeesite.session.id=xYUhECQNVDK9NZdgA72; Hm_lvt_82116c626a8d504a5c0675073362ef6f=1501669444; Hm_lpvt_82116c626a8d504a5c0675073362ef6f=1501670177; sid=e7978817-808b-4962-9304-2aa2ca61ba7a; wolfking.jeesite.session.id=10327b34dbe24836b730b6e5c328ec1c; theme=flat; tabmode=0; JSESSIONID=HDptMftpumecZbhSIrbZ5s18bD0teRa3Nu-B-VVT], Upgrade-Insecure-Requests=[1], RA-Ver=[3.0.8], Host=[localhost:8080]} response {X-Powered-By=[nutz/1.r.63-SNAPSHOT <nutzam.com>]}}
[DEBUG] 2017-08-04 09:25:21,637 cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) - [GET ]URI=/platform/login 1ms
[WARN ] 2017-08-04 09:25:21,637 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) - Error@/platform/login :
org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.
at org.apache.shiro.SecurityUtils.getSecurityManager(SecurityUtils.java:123)
at org.apache.shiro.subject.Subject$Builder.(Subject.java:627)
at org.apache.shiro.SecurityUtils.getSubject(SecurityUtils.java:56)
at cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController.login(SysLoginController.java:57)
at cn.wizzer.app.web.modules.controllers.platform.sys.SysLoginController$FM$login$a35f6ebc0a1eef31c8dcd6e1bc480f01.invoke(SysLoginController.java)
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:31)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.AdaptorProcessor.process(AdaptorProcessor.java:33)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ActionFiltersProcessor.process(ActionFiltersProcessor.java:58)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.XssSqlFilterProcessor.process(XssSqlFilterProcessor.java:35)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.NutShiroProcessor.process(NutShiroProcessor.java:52)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:123)
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.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.GlobalsSettingProcessor.process(GlobalsSettingProcessor.java:36)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.app.web.commons.processor.LogTimeProcessor.process(LogTimeProcessor.java:21)
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 io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:292)
at io.undertow.servlet.handlers.ServletInitialHandler.access$100(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:138)
at io.undertow.servlet.handlers.ServletInitialHandler$2.call(ServletInitialHandler.java:135)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.call(ServletRequestContextThreadSetupAction.java:48)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(ContextClassLoaderSetupAction.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:272)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:104)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:326)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:812)
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)

2 回复

回复按钮旁边就是 "插入代码或日志片段"的按钮,把完整日志发一下

问题是否已经解决?看着好像是SecurityManager的配置问题

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