NutzCN Logo
问答 subject.logout()后如何重定向到一个新页面(如www.baidu.com)
发布于 1621天前 作者 qq_28b95d2d 1837 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

shiro.ini如何配置登出跳转到另一个域而不是登录页面

43 回复

那还是在入口方法做吧

@qq_28b95d2d

@Ok(">>:${obj}")

subject.logout();
return "https://nutz.cn";

@qq_28b95d2d 那是不是应该贴一下后台报错的日志呢?

@wendal 2016-11-28 14:49:36,438 org.nutz.mvc.impl.processor.FailProcessor.process(FailProcessor.java:28) WARN - Error@/private/logout :
java.lang.IllegalStateException: org.apache.shiro.session.UnknownSessionException: There is no session with id [a4e07ec1-ffc8-479d-9b96-510993ba3ab1]
at org.apache.shiro.web.servlet.ShiroHttpSession.getKeyNames(ShiroHttpSession.java:147)
at org.apache.shiro.web.servlet.ShiroHttpSession.getAttributeNames(ShiroHttpSession.java:162)
at org.nutz.mvc.view.AbstractPathView.createContext(AbstractPathView.java:97)
at org.nutz.mvc.view.AbstractPathView.evalPath(AbstractPathView.java:53)
at org.nutz.mvc.view.ServerRedirectView.render(ServerRedirectView.java:27)
at org.nutz.mvc.impl.processor.ViewProcessor.process(ViewProcessor.java:43)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.MethodInvokeProcessor.process(MethodInvokeProcessor.java:28)
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:40)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.common.mvc.processor.NutShiroProcessor.process(NutShiroProcessor.java:54)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at org.nutz.mvc.impl.processor.ModuleProcessor.process(ModuleProcessor.java:113)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.common.mvc.processor.XSSProcessor.process(XSSProcessor.java:49)
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.common.mvc.processor.GlobalsSettingProcessor.process(GlobalsSettingProcessor.java:32)
at org.nutz.mvc.impl.processor.AbstractProcessor.doNext(AbstractProcessor.java:44)
at cn.wizzer.common.mvc.processor.LogTimeProcessor.process(LogTimeProcessor.java:21)
at org.nutz.mvc.impl.NutActionChain.doChain(NutActionChain.java:40)
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:183)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at cn.wizzer.common.mvc.filter.XssFilter.doFilter(XssFilter.java:38)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)
at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)
at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:528)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1099)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2508)
at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2497)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.shiro.session.UnknownSessionException: There is no session with id [a4e07ec1-ffc8-479d-9b96-510993ba3ab1]
at org.apache.shiro.session.mgt.eis.AbstractSessionDAO.readSession(AbstractSessionDAO.java:170)
at org.apache.shiro.session.mgt.eis.CachingSessionDAO.readSession(CachingSessionDAO.java:261)
at org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSessionFromDataSource(DefaultSessionManager.java:236)
at org.apache.shiro.session.mgt.DefaultSessionManager.retrieveSession(DefaultSessionManager.java:222)
at org.apache.shiro.session.mgt.AbstractValidatingSessionManager.doGetSession(AbstractValidatingSessionManager.java:118)
at org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupSession(AbstractNativeSessionManager.java:108)
at org.apache.shiro.session.mgt.AbstractNativeSessionManager.lookupRequiredSession(AbstractNativeSessionManager.java:112)
at org.apache.shiro.session.mgt.AbstractNativeSessionManager.getAttributeKeys(AbstractNativeSessionManager.java:201)
at org.apache.shiro.session.mgt.DelegatingSession.getAttributeKeys(DelegatingSession.java:134)
at org.apache.shiro.session.ProxiedSession.getAttributeKeys(ProxiedSession.java:114)
at org.apache.shiro.web.servlet.ShiroHttpSession.getKeyNames(ShiroHttpSession.java:145)
... 64 more

声明个resp参数,直接重定向完事

@wendal 咋写,写了不对耶

@At
@Ok("void")
public void logout2(HttpServletResponse resp) {
    subject.logout();
    resp.sendRedirect("https://nutz.cn");
}

@wendal 想在过滤器里实现跳转,
HttpServletResponse response = (HttpServletResponse) resp;
currentUser.logout();
response.sendRedirect("https://nutz.cn");
总是跳到首页,哪里错了吗

@qq_28b95d2d 啥过滤器

@wendal 自定义的过滤器(1.implements Filter;2./* )
过滤器逻辑是:判断是否符合某个条件(如a>0),如符合则跳转到 "https://nutz.cn" 。

那这东西跟shiro有毛线关系???

@wendal 过滤器应该重定向到"https://nutz.cn",但是被shiro转到index页面

根本没走你代码吧? resp.sendRedirect 不能撤销的吧?

@wendal 早,
代码走了response.sendRedirect("https://nutz.cn")(需要贴log?),
确实被转到了/index页面,怎么破

@qq_28b95d2d 那只能debug

@wendal
1.上面那个问题,本地重写了SessionManager,sendRedirect之后log显示走了SessionManager。(SessionManager只是对((HttpServletRequest) request).getRequestURI()做了些处理;打印的RequestURI(),显示sendRedirect之后URL为/avatar、/login、/plugins/toastr/toastr.min.js这些)
2.shiro.ini如何配置认证不成功跳转到"https://nutz.cn",而不是“/login”页面?(改了authc.loginUrl = /login 没奏效)

@wendal
1.为什么重定向不起作用呢
2.shiro.ini可以设置跳转到另外个域,设置不起作用呢

@wendal

 public void doFilter(ServletRequest req, ServletResponse resp,
            FilterChain chain) throws IOException, ServletException {
        HttpServletRequest request = (HttpServletRequest) req;
        HttpServletResponse response = (HttpServletResponse) resp;

        HttpSession session = request.getSession();
        Unified_portal unifiedPortal = (Unified_portal) session.getAttribute("unifiedPortal");

        if (unifiedPortal != null) {
          
            String endpoint1 = "http://www.djinfo.com.cn:9999/cxf/WSDemoService";
            String result1 = "call failed!";
            Call call1;
            try {
                call1 = (Call) new Service().createCall();
                call1.setTargetEndpointAddress(endpoint1);
                call1.setOperationName(new QName("http://wsTest.ws.djhome.platform.dj.com/",
                        "checkSession"));
                call1.addParameter("arg0", 
                        XMLType.XSD_STRING, 
                        ParameterMode.IN); 
                call1.setReturnType(XMLType.XSD_STRING);

                String token = unifiedPortal.getToken();
                String loginName = unifiedPortal.getUsername();
                String arg01 = EncryptUtil.encode(token + "&" + loginName);
                result1 = (String) call1.invoke(new Object[] { arg01 });
                if (!result1.contains("110")) {
                    chain.doFilter(request, response);
                    System.out.println("110110110110110110110110110110");
                } else {
                    try {
                        Subject currentUser = SecurityUtils.getSubject();
                        System.out.println("CCCCCCCCCCurrentUsercurrentUsercurrentUsercurrentUsercurrentUser");
                        Sys_user user = (Sys_user) currentUser.getPrincipal();
                        Sys_log log = Sys_log.c("info", "用户退出", user.getId(),
                                user.getUsername(), "用户:" + user.getUsername() + " 手动退出系统!",
                                null);
                        sysLogService.async(log);
                        userService.update(Chain.make("is_online", false),
                                Cnd.where("id", "=", user.getId()));
                        session.setAttribute("logout", "true");
                        currentUser.logout();
                        System.out.println("LLLLLLLLLLLLLLLLLLLLLLLLogoutlogoutlogoutlogoutlogoutlogout");

                    } catch (SessionException ise) {
                        log.debug(
                                "Encountered session exception during logout.  This can generally safely be ignored.",
                                ise);
                    } catch (Exception e) {
                        log.debug("Logout error", e);
                    }

                    // RequestDispatcher dispatcher =
                    // req.getRequestDispatcher("http://www.djinfo.com.cn:9999/");
                    // dispatcher.forward(req, resp);
                    // return;
					
                    System.out.println("sendRedirect ------------before----------");
                    response.sendRedirect("http://www.djinfo.com.cn:9999");
                    System.out.println("sendRedirect ------------after----------");
                    return;
                }

            } catch (Exception e) {
                System.out.println("ExceptionExceptionExceptionExceptionExceptionEx");
                e.printStackTrace();
            }
        } else {
            System.out.println("chainchainchainchainchainchainchainchainchainchain");
            chain.doFilter(request, response);
        }
    }
public class SessionManager extends DefaultWebSessionManager {

    public SessionManager() {
        super();
    }

    @Override
    protected Serializable getSessionId(ServletRequest request, ServletResponse response) {
        // 如果参数中包含“__sid”参数,则使用此sid会话。
        // 例如:http://localhost/project?__sid=xxx&__cookie=true
        // 其实这里还可以使用如下参数:cookie中的session名称:如:JSESSIONID=xxx,路径中的
        // ;JESSIONID=xxx,但建议还是使用 __sid参数。
        String url = ((HttpServletRequest) request).getRequestURI();
        System.out.println("request######url" + url);

        String sid = request.getParameter("jsid");
        if (StringUtils.isNotBlank(sid)) {
            // 是否将sid保存到cookie,浏览器模式下使用此参数。

            System.out.println("sidsidsidsidsidsid:" + sid);

            System.out.println("__cookie");
            HttpServletRequest rq = (HttpServletRequest) request;
            HttpServletResponse rs = (HttpServletResponse) response;
            Cookie template = getSessionIdCookie();
            Cookie cookie = new SimpleCookie(template);
            cookie.setValue(sid);
            cookie.saveTo(rq, rs);
            // 设置当前session状态
            request.setAttribute(ShiroHttpServletRequest.REFERENCED_SESSION_ID_SOURCE,
                    ShiroHttpServletRequest.URL_SESSION_ID_SOURCE); // session来源与url
            request.setAttribute(ShiroHttpServletRequest.REFERENCED_SESSION_ID, sid);
            request.setAttribute(ShiroHttpServletRequest.REFERENCED_SESSION_ID_IS_VALID, Boolean.TRUE);

            return sid;
        } else {
            System.out.println("endddddddddddddddddddddddddddddddd error");
            return super.getSessionId(request, response);
        }
    }

}
authc = cn.wizzer.common.mvc.filter.CaptchaFormAuthenticationFilter
authc.loginUrl  = /private/login
logout.redirectUrl= /private/login

[urls]
/private/doLogin    = anon
/private/language   = anon
/include/**         = anon
/**                 = anon
/private/**         = authc
这是syso的
request######url/dywms/services/SingleSignOn
endddddddddddddddddddddddddddddddd error
^^^^^^^validate^^^^^^^^^^^^^^
chainchainchainchainchainchainchainchainchainchain
----进入checkLogin--jsid:79e07df5-c55d-4f58-951b-e49f2aa8be52
subject.getSession().getId();79e07df5-c55d-4f58-951b-e49f2aa8be52
select cms_dealer_sale_type.id ,cms_dealer_sale_type.dealer_id as dealerId ,cms_dealer_sale_type.sale_type_id as saleTypeId ,cms_dealer_sale_type.contract_code as contractCode ,IFNULL(cms_dealer_sale_type.data_integrity,0) AS dataIntegrity,IFNULL(cms_dealer_sale_type.status1,0) AS status1 ,cms_dealer_sale_type.valid_start as validStart ,cms_dealer_sale_type.valid_end as validEnd ,cms_dealer_sale_type.mark as mark ,cms_dealer_sale_type.audit_contract_information as auditContractInformation,dc_sales_type.name as saleTypeName,dc_distributor.name as delearName from cms_dealer_sale_type cms_dealer_sale_type  inner join dc_sales_type dc_sales_type on cms_dealer_sale_type.sale_type_id = dc_sales_type.id  inner join dc_distributor on dc_distributor.id = cms_dealer_sale_type.dealer_id   WHERE (1=1 AND cms_dealer_sale_type.dealer_id=4053) ORDER BY cms_dealer_sale_type.id ASC  
select cms_activity.*,IFNULL(status,'1') STATUS,cpa.join_time from cms_activity  left join cms_activity_person cpa ON cms_activity.id = cpa.activity_id    WHERE (1=1 AND cpa.dealer_id=4053) GROUP BY  cms_activity.title,cpa.join_time  
select cms_dealer_sale_type.id ,cms_dealer_sale_type.dealer_id as dealerId ,cms_dealer_sale_type.sale_type_id as saleTypeId ,cms_dealer_sale_type.contract_code as contractCode ,IFNULL(cms_dealer_sale_type.data_integrity,0) AS dataIntegrity,IFNULL(cms_dealer_sale_type.status1,0) AS status1 ,cms_dealer_sale_type.valid_start as validStart ,cms_dealer_sale_type.valid_end as validEnd ,cms_dealer_sale_type.mark as mark ,cms_dealer_sale_type.audit_contract_information as auditContractInformation,cms_contract.name as contractName ,cms_contract_background_investigation.* from cms_contract_background_investigation cms_contract_background_investigation  inner join cms_dealer_sale_type cms_dealer_sale_type  on cms_contract_background_investigation.cdst_id = cms_dealer_sale_type.id  inner join cms_contract cms_contract on cms_contract.id = cms_contract_background_investigation.cs_id   WHERE (1=1 AND cms_contract_background_investigation.cdst_id=10) ORDER BY cms_contract_background_investigation.id ASC  
select cms_dealer_sale_type.id ,cms_dealer_sale_type.dealer_id as dealerId ,cms_dealer_sale_type.sale_type_id as saleTypeId ,cms_dealer_sale_type.contract_code as contractCode ,IFNULL(cms_dealer_sale_type.data_integrity,0) AS dataIntegrity,IFNULL(cms_dealer_sale_type.status1,0) AS status1 ,cms_dealer_sale_type.valid_start as validStart ,cms_dealer_sale_type.valid_end as validEnd ,cms_dealer_sale_type.mark as mark ,cms_dealer_sale_type.audit_contract_information as auditContractInformation,cms_contract.name as contractName ,cms_contract_background_investigation.* from cms_contract_background_investigation cms_contract_background_investigation  inner join cms_dealer_sale_type cms_dealer_sale_type  on cms_contract_background_investigation.cdst_id = cms_dealer_sale_type.id  inner join cms_contract cms_contract on cms_contract.id = cms_contract_background_investigation.cs_id   WHERE (1=1 AND cms_contract_background_investigation.cdst_id=11) ORDER BY cms_contract_background_investigation.id ASC  
select cms_dealer_sale_type.id ,cms_dealer_sale_type.dealer_id as dealerId ,cms_dealer_sale_type.sale_type_id as saleTypeId ,cms_dealer_sale_type.contract_code as contractCode ,IFNULL(cms_dealer_sale_type.data_integrity,0) AS dataIntegrity,IFNULL(cms_dealer_sale_type.status1,0) AS status1 ,cms_dealer_sale_type.valid_start as validStart ,cms_dealer_sale_type.valid_end as validEnd ,cms_dealer_sale_type.mark as mark ,cms_dealer_sale_type.audit_contract_information as auditContractInformation,cms_contract.name as contractName ,cms_contract_disclosure_information.* from cms_contract_disclosure_information cms_contract_disclosure_information  inner join cms_dealer_sale_type cms_dealer_sale_type  on cms_contract_disclosure_information.cdst_id = cms_dealer_sale_type.id  LEFT join cms_contract cms_contract on cms_contract.id = cms_contract_disclosure_information.cs_id   WHERE (1=1 AND cms_contract_disclosure_information.cdst_id=10) ORDER BY cms_contract_disclosure_information.id ASC  
select cms_dealer_sale_type.id ,cms_dealer_sale_type.dealer_id as dealerId ,cms_dealer_sale_type.sale_type_id as saleTypeId ,cms_dealer_sale_type.contract_code as contractCode ,IFNULL(cms_dealer_sale_type.data_integrity,0) AS dataIntegrity,IFNULL(cms_dealer_sale_type.status1,0) AS status1 ,cms_dealer_sale_type.valid_start as validStart ,cms_dealer_sale_type.valid_end as validEnd ,cms_dealer_sale_type.mark as mark ,cms_dealer_sale_type.audit_contract_information as auditContractInformation,cms_contract.name as contractName ,cms_contract_disclosure_information.* from cms_contract_disclosure_information cms_contract_disclosure_information  inner join cms_dealer_sale_type cms_dealer_sale_type  on cms_contract_disclosure_information.cdst_id = cms_dealer_sale_type.id  LEFT join cms_contract cms_contract on cms_contract.id = cms_contract_disclosure_information.cs_id   WHERE (1=1 AND cms_contract_disclosure_information.cdst_id=11) ORDER BY cms_contract_disclosure_information.id ASC  
SessionIdSingleton.sessionId:
request######url/dywms/private/index
sidsidsidsidsidsid:79e07df5-c55d-4f58-951b-e49f2aa8be52
__cookie
request######url/dywms/include/css/main.css
endddddddddddddddddddddddddddddddd error
^^^^^^^validate^^^^^^^^^^^^^^
AAAAAAAAAarg01LmB9U9UMCqgnKhw4ShPWLRQBORUOBy/k1Va4/BdzDzyOdx8/QQh9lI110MFSHz+eR9QbqXSO7kM7sxZPJdJwMtFQMY1baS9wZ97Ru6aMCwroUH1r1tu3nw==
request######url/dywms/include/css/skins/palette.2.css
endddddddddddddddddddddddddddddddd error
^^^^^^^validate^^^^^^^^^^^^^^
eeeeeeeeeeeeeeeeeeeeeeeLmB9U9UMCqgnKhw4ShPWLRQBORUOBy/k1Va4/BdzDzyOdx8/QQh9lI110MFSHz+eR9QbqXSO7kM7sxZPJdJwMtFQMY1baS9wZ97Ru6aMCwroUH1r1tu3nw==
CCCCCCCCCCurrentUsercurrentUsercurrentUsercurrentUsercurrentUser
AAAAAAAAAarg01LmB9U9UMCqgnKhw4ShPWLRQBORUOBy/k1Va4/BdzDzyOdx8/QQh9lI110MFSHz+eR9QbqXSO7kM7sxZPJdJwMtFQMY1baS9wZ97Ru6aMCwroUH1r1tu3nw==
LLLLLLLLLLLLLLLLLLLLLLLLogoutlogoutlogoutlogoutlogoutlogout
sendRedirect ------------before----------
sendRedirect -----http://www.djinfo.com.cn:9999-------after----------
request######url/dywms/include/css/www.baidu.com
endddddddddddddddddddddddddddddddd error
^^^^^^^validate^^^^^^^^^^^^^^
chainchainchainchainchainchainchainchainchainchain
request######url/dywms/WEB-INF/error/404.html
endddddddddddddddddddddddddddddddd error
eeeeeeeeeeeeeeeeeeeeeeeLmB9U9UMCqgnKhw4ShPWLRQBORUOBy/k1Va4/BdzDzyOdx8/QQh9lI110MFSHz+eR9QbqXSO7kM7sxZPJdJwMtFQMY1baS9wZ97Ru6aMCwroUH1r1tu3nw==
CCCCCCCCCCurrentUsercurrentUsercurrentUsercurrentUsercurrentUser
sendRedirect ------------before----------
sendRedirect -----http://www.djinfo.com.cn:9999-------after----------
request######url/dywms/private/avatar
endddddddddddddddddddddddddddddddd error
request######url/dywms/private/login
endddddddddddddddddddddddddddddddd error
request######url/dywms/include/css/skins/www.baidu.com
endddddddddddddddddddddddddddddddd error
^^^^^^^validate^^^^^^^^^^^^^^
chainchainchainchainchainchainchainchainchainchain
request######url/dywms/WEB-INF/error/404.html
endddddddddddddddddddddddddddddddd error
request######url/dywms/include/plugins/toastr/toastr.min.js
endddddddddddddddddddddddddddddddd error
^^^^^^^validate^^^^^^^^^^^^^^
chainchainchainchainchainchainchainchainchainchain
今天的日志
2016-11-29 08:38:13,612 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 08:38:13,629 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 08:38:13,748 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 08:38:14,580 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 08:38:15,800 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 08:40:41,631 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 08:40:41,844 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 08:40:42,181 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 08:40:43,940 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 08:40:46,964 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 08:45:11,271 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 08:55:23,747 org.apache.axis.configuration.EngineConfigurationFactoryServlet.getServerEngineConfig(EngineConfigurationFactoryServlet.java:162) ERROR - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2016-11-29 09:00:00,630 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 09:15:06,627 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 09:30:00,862 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 09:38:58,664 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 09:38:59,242 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 09:38:59,483 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 09:39:00,855 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 09:39:02,948 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 09:40:18,397 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 09:40:18,773 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 09:40:19,222 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 09:40:20,168 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 09:40:22,919 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 09:45:10,398 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 10:00:03,635 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 10:10:35,532 org.apache.axis.configuration.EngineConfigurationFactoryServlet.getServerEngineConfig(EngineConfigurationFactoryServlet.java:162) ERROR - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2016-11-29 10:15:00,599 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 10:30:09,631 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 10:32:10,360 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 10:32:10,452 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 10:32:10,561 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 10:32:11,056 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 10:32:14,569 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 10:44:59,398 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 10:44:59,612 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 10:44:59,637 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 10:45:01,836 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 10:45:04,744 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 10:45:05,343 org.apache.axis.configuration.EngineConfigurationFactoryServlet.getServerEngineConfig(EngineConfigurationFactoryServlet.java:162) ERROR - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2016-11-29 10:49:07,854 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 10:49:08,047 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 10:49:08,432 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 10:49:09,976 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 10:49:12,736 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 10:50:16,081 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 10:50:16,108 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 10:50:16,368 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 10:50:18,173 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 10:50:20,303 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 10:50:21,427 org.apache.axis.configuration.EngineConfigurationFactoryServlet.getServerEngineConfig(EngineConfigurationFactoryServlet.java:162) ERROR - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2016-11-29 10:53:34,727 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 10:53:34,852 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 10:53:35,219 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 10:53:36,405 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 10:53:39,516 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 10:53:40,310 org.apache.axis.configuration.EngineConfigurationFactoryServlet.getServerEngineConfig(EngineConfigurationFactoryServlet.java:162) ERROR - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2016-11-29 11:00:05,826 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 11:09:39,202 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 11:09:39,424 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 11:09:39,598 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 11:09:40,553 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 11:09:43,036 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 11:10:39,832 org.apache.axis.configuration.EngineConfigurationFactoryServlet.getServerEngineConfig(EngineConfigurationFactoryServlet.java:162) ERROR - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2016-11-29 11:15:13,830 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 11:21:22,831 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 11:21:22,872 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 11:21:23,174 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 11:21:24,786 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 11:21:27,493 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 11:21:28,679 org.apache.axis.configuration.EngineConfigurationFactoryServlet.getServerEngineConfig(EngineConfigurationFactoryServlet.java:162) ERROR - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2016-11-29 11:29:04,681 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 11:29:04,984 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 11:29:05,595 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 11:29:08,407 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 11:29:10,556 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 11:29:40,100 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 11:29:40,181 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 11:29:40,246 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 11:29:40,962 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 11:29:43,525 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 11:30:11,855 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 11:30:11,893 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 11:30:12,070 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 11:30:12,609 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 11:30:13,566 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 11:30:54,947 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 11:30:55,373 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 11:30:55,553 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 11:30:56,655 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 11:30:59,891 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 11:31:00,258 org.apache.axis.configuration.EngineConfigurationFactoryServlet.getServerEngineConfig(EngineConfigurationFactoryServlet.java:162) ERROR - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2016-11-29 11:39:12,844 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.modules.webservices.scanner.service.BaseScannerService) don't has @IocBean, but field(productService) has @Inject! Miss @IocBean ??
2016-11-29 11:39:12,946 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.ValidateFilter) don't has @IocBean, but field(sysLogService) has @Inject! Miss @IocBean ??
2016-11-29 11:39:12,956 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:227) WARN  - class(cn.wizzer.common.mvc.filter.XssFilter) don't has @IocBean, but field(sysUserUnifiedPortalService) has @Inject! Miss @IocBean ??
2016-11-29 11:39:14,187 org.nutz.mvc.impl.UrlMappingImpl.add(UrlMappingImpl.java:61) WARN  - Duplicate @At mapping ? path=/private/oauth/logout
2016-11-29 11:39:17,175 net.sf.ehcache.config.CacheConfiguration.isEternalValueConflictingWithTTIOrTTL(CacheConfiguration.java:850) WARN  - Cache 'sysCache' is set to eternal but also has TTI/TTL set.  To avoid this warning, clean up the config removing conflicting values of eternal, TTI and TTL. Effective configuration for Cache 'sysCache' will be eternal='true', timeToIdleSeconds='0', timeToLiveSeconds='0'.
2016-11-29 11:39:18,320 org.apache.axis.configuration.EngineConfigurationFactoryServlet.getServerEngineConfig(EngineConfigurationFactoryServlet.java:162) ERROR - Unable to find config file.  Creating new servlet engine config file: /WEB-INF/server-config.wsdd
2016-11-29 11:45:14,938 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 12:00:21,083 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException
2016-11-29 12:15:12,755 cn.wizzer.modules.bsc.dms.bat.DownloadLpOrderSyncJob.execute(DownloadLpOrderSyncJob.java:36) ERROR - java.lang.reflect.InvocationTargetException

ShiroFilter过滤器拦截了导致的

@wendal
ShiroFilter过滤器拦截了导致的,不知道是不是

自定义的Filter在shiro和nutz之间?

@wendal

ShiroFilter
org.apache.shiro.web.servlet.ShiroFilter

staticSecurityManagerEnabled
true



ShiroFilter
/*
REQUEST
FORWARD
INCLUDE
ERROR

```
啥意思

ShiroFilter
org.apache.shiro.web.servlet.ShiroFilter

staticSecurityManagerEnabled
true



ShiroFilter
/*
REQUEST
FORWARD
INCLUDE
ERROR


validateFilter
cn.wizzer.common.mvc.filter.ValidateFilter


validateFilter
/*

重新发,要用代码块包起来

@wendal

<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
  <display-name>NutzFw</display-name>
  <listener>
    <listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
  </listener>
  <listener>
    <listener-class>cn.wizzer.common.mvc.listener.MySessionListener</listener-class>
  </listener>
  <listener>
    <listener-class>cn.wizzer.common.mvc.listener.delearsaletype.ProductLineListener</listener-class>
  </listener>
  <listener>
    <listener-class>cn.wizzer.common.mvc.listener.active.ActiveListener</listener-class>
  </listener>
  
  <filter>
    <filter-name>ShiroFilter</filter-name>
    <filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
    <init-param>
      <param-name>staticSecurityManagerEnabled</param-name>
      <param-value>true</param-value>
    </init-param>
  </filter>
  <filter-mapping>
    <filter-name>ShiroFilter</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
    <dispatcher>FORWARD</dispatcher>
    <dispatcher>INCLUDE</dispatcher>
    <dispatcher>ERROR</dispatcher>
  </filter-mapping>
  
  <filter>
    <filter-name>xss</filter-name>
    <filter-class>cn.wizzer.common.mvc.filter.XssFilter</filter-class>
  </filter>
  <filter-mapping>
    <filter-name>xss</filter-name>
    <url-pattern>/*</url-pattern>
    <dispatcher>REQUEST</dispatcher>
  </filter-mapping>
  <filter>

 <filter-name>nutz</filter-name>
    <filter-class>org.nutz.mvc.NutFilter</filter-class>
    <init-param>
      <param-name>modules</param-name>
      <param-value>cn.wizzer.modules.MainModule</param-value>
    </init-param>
    <init-param>
      <param-name>ignore</param-name>
      <param-value>^(.+[.])(jsp|png|gif|jpg|js|css|jspx|jpeg|html|mp3|mp4)$</param-value>
    </init-param>
  </filter>
  <filter-mapping>
    <filter-name>nutz</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>

  <filter>  
         <filter-name>validateFilter</filter-name>  
         <filter-class>cn.wizzer.common.mvc.filter.ValidateFilter</filter-class>  
     </filter>  
     <filter-mapping>  
         <filter-name>validateFilter</filter-name>  
         <url-pattern>/*</url-pattern>  
     </filter-mapping>  

 <servlet>
    <servlet-name>DruidStatView</servlet-name>
    <servlet-class>com.alibaba.druid.support.http.StatViewServlet</servlet-class>
    <init-param>
      <param-name>allow</param-name>
      <param-value>127.0.0.1</param-value>
    </init-param>
  </servlet>
  <servlet-mapping>
    <servlet-name>DruidStatView</servlet-name>
    <url-pattern>/druid/*</url-pattern>
  </servlet-mapping>
  <error-page>
    <error-code>403</error-code>
    <location>/WEB-INF/error/403.html</location>
  </error-page>
  <error-page>
    <error-code>404</error-code>
    <location>/WEB-INF/error/404.html</location>
  </error-page>
 <!-- 
  <servlet>
    <description>Apache CXF Endpoint</description>
    <display-name>cxf</display-name>
    <servlet-name>cxf</servlet-name>
    <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
  </servlet>
  <servlet-mapping>
    <servlet-name>cxf</servlet-name>
    <url-pattern>/services/*</url-pattern>
  </servlet-mapping>
  <session-config>
    <session-timeout>60</session-timeout>
  </session-config>
  <context-param>
    <param-name>contextConfigLocation</param-name>
    <param-value>WEB-INF/cxf-beans.xml</param-value>
  </context-param>
   <listener>
    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
  </listener> 
  -->
  
  <servlet>    
  	<servlet-name>AxisServlet</servlet-name>    

    <servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>    

  </servlet>    

  <servlet-mapping>    

    <servlet-name>AxisServlet</servlet-name>    

    <url-pattern>/services/*</url-pattern>    

  </servlet-mapping> 
</web-app>

看到了吗@wendal

ShiroFilter
org.apache.shiro.web.servlet.ShiroFilter

staticSecurityManagerEnabled
true



ShiroFilter
/*
REQUEST
FORWARD
INCLUDE
ERROR

```
啥意思

ShiroFilter
org.apache.shiro.web.servlet.ShiroFilter

staticSecurityManagerEnabled
true



ShiroFilter
/*
REQUEST
FORWARD
INCLUDE
ERROR


validateFilter
cn.wizzer.common.mvc.filter.ValidateFilter


validateFilter
/*

response.sendRedirect("http://www.djinfo.com.cn:9999");

这重定向,不就是重定向到/index吗?

@wendal 不是哇,http://www.djinfo.com.cn:9999这个地址是另外个域的

需要排除的URL是哪个? 太多其他URL的干扰了(js/css等等)

@wendal 需要排除的URL是哪个?是什么意思
最终目的是:1.response.sendRedirect("http://www.djinfo.com.cn:9999")时跳转到http://www.djinfo.com.cn:9999
2.认证错误时跳到http://www.djinfo.com.cn:9999页面

是不是ajax请求??? 然后js代码里面写了如果是302就跳转到/index之类的代码

@wendal
/private/login

@qq_28b95d2d 啥?这不是登录页面吗

@wendal 就是的哇,不让它到登录页面,让它到另外一个域的页面

@qq_28b95d2d 你看看日志,访问该url的时候并没有执行重定向的代码的,是其他资源文件有重定向而已

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