NutzCN Logo
问答 session失效后,页面所有请求,不进入口方法action,也不进filter,这是为什么?
发布于 2656天前 作者 qq_7fafbecc 1424 次浏览 复制 上一个帖子 下一个帖子
标签:

写了一个过滤器

public class CheckSessionFilter_bak implements ActionFilter{

	@Override
	public View match(ActionContext ac){
		// TODO Auto-generated method stub
		
        HttpServletRequest req = ac.getRequest();
        //获取当前session中的用户
        SysUser user = (SysUser)req.getSession().getAttribute(Globals.SESSION_USER_CODE);
        String uri = req.getRequestURI();
        int position = uri.lastIndexOf("*");
        uri = uri.substring(uri.lastIndexOf("/")+1);
        //如果用户为空,就表示失效,就要跳转到login.jsp
        if(user == null || "".equals(user)){
        	
            HttpServletResponse response = ac.getResponse();
            //为什么这里就是不跳转到login.jsp呢 ?????????
            String contextPath = ac.getServletContext().getContextPath();
            //response.sendRedirect(contextPath+"/login.jsp");
            
        	
            //为什么这里就是不跳转到login.jsp呢 ?????????
            try {
				response.sendRedirect(contextPath+"/login.jsp");
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
            //返回此渲染的jsp是没有带CSS和js的页面,无法使用
            return null;
        }
		
		return null;
	}

}

放在了mainModule前面

@SetupBy(value=MainSetup.class)  //SetupBy应用启动以及关闭时的额外处理
@Modules(scanPackage=true) //Modules声明应用的所有子模块
@Ok("json")
@Fail("json")
@ChainBy(args="mvc/shlxoa-mvc-chain.js")
@Filters({@By(type=CheckSessionFilter_bak.class)})
public class MainModule {

然后把tomcat的session设置为2分钟,结果登录后,进行各种操作,所有操作先进入此过滤器,
然后在等待2分钟后,等session失效后,再进行各种操作,就不进入过滤器了,也不进action入口方法
只是在后台显示这么一些日志:

2017-08-15 11:17:37,302 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/problemDemand/queryPdById : ProblemDemandAction.queryPdById(ProblemDemandAction.java:74)
2017-08-15 11:18:09,757 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/problemDemand/pollingNewPd : ProblemDemandAction.pollingNewPd(ProblemDemandAction.java:245)
2017-08-15 11:23:10,118 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/problemDemand/pollingNewPd : ProblemDemandAction.pollingNewPd(ProblemDemandAction.java:245)
2017-08-15 11:24:28,801 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/problemDemand/queryPdById : ProblemDemandAction.queryPdById(ProblemDemandAction.java:74)
2017-08-15 11:24:29,542 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/problemDemand/queryPdById : ProblemDemandAction.queryPdById(ProblemDemandAction.java:74)
2017-08-15 11:24:30,165 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/problemDemand/queryPdById : ProblemDemandAction.queryPdById(ProblemDemandAction.java:74)
2017-08-15 11:24:30,721 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/problemDemand/queryPdById : ProblemDemandAction.queryPdById(ProblemDemandAction.java:74)

想达到的效果:失效后能够定位到login.jsp

12 回复

是不是被shiro拦截了?

没有集成shiro啊

你贴的日志,是每次请求都增加一行,对吧?

难道filter,在session失效后,就不过滤了吗

是的,一个请求,就出现一行

path=/problemDemand/queryPdById

这些都是入口方法URL映射

启动日志发一下, 如果你知道哪里是动作链的日志, 可以单独发

信息: JSF1048:有 PostConstruct/PreDestroy 注释。标有这些注释的 ManagedBeans 方法将表示注释已处理。
2017-08-15 11:29:43,745 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO  - NutFilter[nutz] starting ...
2017-08-15 11:29:43,816 org.nutz.resource.Scans.<init>(Scans.java:509) DEBUG - Locations for Scans:
[Dir[path=G:\nutzbook\eclipse], Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\nutz-1.r.60.jar], Dir[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\classes], Jar[path=G:\nutzbook\apache-tomcat-8.5.11\bin\bootstrap.jar], Jar[path=G:\nutzbook\apache-tomcat-8.5.11\bin\tomcat-juli.jar]]
2017-08-15 11:29:43,974 org.nutz.resource.Scans.init(Scans.java:105) DEBUG - Locations for Scans:
{G:\nutzbook\eclipse=Dir[path=G:\nutzbook\eclipse], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\nutz-1.r.60.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\nutz-1.r.60.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\classes=Dir[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\classes], G:\nutzbook\apache-tomcat-8.5.11\bin\bootstrap.jar=Jar[path=G:\nutzbook\apache-tomcat-8.5.11\bin\bootstrap.jar], G:\nutzbook\apache-tomcat-8.5.11\bin\tomcat-juli.jar=Jar[path=G:\nutzbook\apache-tomcat-8.5.11\bin\tomcat-juli.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jurt-3.0.1.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jurt-3.0.1.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\juh-3.0.1.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\juh-3.0.1.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\ridl-3.0.1.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\ridl-3.0.1.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jodconverter-2.2.2.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jodconverter-2.2.2.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-io.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-io.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jodconverter-core 3.0-beta-4.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jodconverter-core 3.0-beta-4.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\javax.servlet.jsp.jstl.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\javax.servlet.jsp.jstl.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jsf-api.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jsf-api.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jcom.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jcom.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\druid-1.0.26.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\druid-1.0.26.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\mysql-connector-java-5.1.40.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-cli-1.2.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-cli-1.2.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jstl-impl.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jstl-impl.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\slf4j-api-1.5.6.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\slf4j-api-1.5.6.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-fileupload-1.2.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-fileupload-1.2.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-io-1.4.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-io-1.4.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\unoil-3.0.1.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\unoil-3.0.1.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jodconverter-cli-2.2.2.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jodconverter-cli-2.2.2.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\log4j-1.2.17.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\log4j-1.2.17.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\ojdbc6.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\ojdbc6.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\sqljdbc4-3.0.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\sqljdbc4-3.0.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\slf4j-jdk14-1.5.6.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\slf4j-jdk14-1.5.6.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\xstream-1.3.1.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\xstream-1.3.1.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jsf-impl.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\jsf-impl.jar], G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-logging-1.1.1.jar=Jar[path=G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\wtpwebapps\shlxoa\WEB-INF\lib\commons-logging-1.1.1.jar]}
2017-08-15 11:29:44,039 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 95 castor for Castors
2017-08-15 11:29:44,058 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2017-08-15 11:29:44,059 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO  - Nutz Version : 1.r.60 
2017-08-15 11:29:44,060 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO  - Nutz.Mvc[nutz] is initializing ...
2017-08-15 11:29:44,060 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2017-08-15 11:29:44,060 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG -  - Default Charset : UTF-8
2017-08-15 11:29:44,060 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG -  - Current . path  : G:\nutzbook\eclipse\.
2017-08-15 11:29:44,060 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG -  - Java Version    : 1.8.0_121
2017-08-15 11:29:44,061 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG -  - File separator  : \
2017-08-15 11:29:44,061 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG -  - Timezone        : Asia/Shanghai
2017-08-15 11:29:44,061 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG -  - OS              : Windows 7 x86
2017-08-15 11:29:44,061 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG -  - ServerInfo      : Apache Tomcat/8.5.11
2017-08-15 11:29:44,061 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG -  - Servlet API     : 3.1
2017-08-15 11:29:44,062 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG -  - ContextPath     : /shlxoa
2017-08-15 11:29:44,062 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG -  - context.tempdir : G:\nutzbook\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp3\work\Catalina\localhost\shlxoa
2017-08-15 11:29:44,062 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) DEBUG -  - MainModule      : com.shlx.blood.MainModule
2017-08-15 11:29:44,063 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:238) DEBUG - >> app.root = G:/nutzbook/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/wtpwebapps/shlxoa
2017-08-15 11:29:44,065 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:379) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.shlx.blood", "*tx", "*async", "*com.shlx.blood.aop.AopLoader"],init=[])
2017-08-15 11:29:44,084 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-08-15 11:29:44,084 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [dao.js]
2017-08-15 11:29:44,089 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:56) DEBUG - Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
2017-08-15 11:29:44,103 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 67 resource by src( com/shlx/blood/ ) , regex( ^.+[.]class$ )
2017-08-15 11:29:44,136 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.action.BagInfoAction
2017-08-15 11:29:44,143 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.action.dict.DictAction
2017-08-15 11:29:44,143 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.action.FunctionAction
2017-08-15 11:29:44,146 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.action.ProblemDemandAction
2017-08-15 11:29:44,157 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.action.ProjectProgressAction
2017-08-15 11:29:44,158 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.action.RoleAction
2017-08-15 11:29:44,159 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.action.StaffTripAction
2017-08-15 11:29:44,160 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.action.UserAction
2017-08-15 11:29:44,171 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.aop.ActionInterceptor
2017-08-15 11:29:44,188 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.framework.BaseServiceBo
2017-08-15 11:29:44,188 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.framework.BaseServices
2017-08-15 11:29:44,199 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.bo.ComServiceBo
2017-08-15 11:29:44,201 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.bo.DictServiceBo
2017-08-15 11:29:44,205 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.bo.FunctionServiceBo
2017-08-15 11:29:44,207 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.bo.ProblemDemandServiceBo
2017-08-15 11:29:44,208 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.bo.ProjectProgressServiceBo
2017-08-15 11:29:44,208 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.bo.RoleServiceBo
2017-08-15 11:29:44,209 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.bo.StaffTripServiceBo
2017-08-15 11:29:44,209 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.bo.UserServiceBo
2017-08-15 11:29:44,210 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.business.BagInfoService
2017-08-15 11:29:44,210 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.business.FunctionService
2017-08-15 11:29:44,211 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.business.ProblemDemandService
2017-08-15 11:29:44,213 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.business.ProjectProgressService
2017-08-15 11:29:44,213 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.business.RoleService
2017-08-15 11:29:44,214 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.business.StaffTripService
2017-08-15 11:29:44,220 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.business.UserService
2017-08-15 11:29:44,221 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.ComServices
2017-08-15 11:29:44,221 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.service.dict.DictService
2017-08-15 11:29:44,222 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.util.preview.Office2PDF
2017-08-15 11:29:44,222 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.shlx.blood.util.preview.Office2Swf
2017-08-15 11:29:44,223 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) INFO  - Found 30 classes in 1 base-packages!
beans = ["projectProgressServiceBo", "comServices", "roleAction", "staffTripServiceBo", "office2PDF", "functionService", "projectProgressService", "projectProgressAction", "bagInfoService", "functionServiceBo", "bagInfoAction", "staffTripService", "baseServiceBo", "problemDemandAction", "problemDemandServiceBo", "userAction", "comServiceBo", "staffTripAction", "actionInterceptor", "userServiceBo", "functionAction", "dictServiceBo", "userService", "dictService", "dictAction", "office2Swf", "baseServices", "problemDemandService", "roleService", "roleServiceBo"]
2017-08-15 11:29:44,223 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:40) DEBUG - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txSERIALIZABLE, txNONE, txREAD_UNCOMMITTED, txREAD_COMMITTED]
2017-08-15 11:29:44,224 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) DEBUG - Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
2017-08-15 11:29:44,225 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) DEBUG - Load AopConfigure for anno=com.shlx.blood.aop.ActionLog by type=com.shlx.blood.aop.AopLoader
2017-08-15 11:29:44,227 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) INFO  - NutIoc init begin ...
2017-08-15 11:29:44,229 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) INFO  - ... NutIoc init complete
2017-08-15 11:29:44,232 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) INFO  - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-08-15 11:29:44,234 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:369) DEBUG - @Views(DefaultViewMaker.class)
2017-08-15 11:29:44,241 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 1 resource by src( mvc/shlxoa-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
2017-08-15 11:29:44,246 org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion.<init>(JsonActionChainMakerConfiguretion.java:37) DEBUG - ActionChain Config:
{
   "default": {
      "ps": ["com.shlx.blood.mvc.SessionCheckProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "!org.nutz.integration.shiro.NutShiroProcessor", "org.nutz.mvc.impl.processor.ActionFiltersProcessor", "org.nutz.mvc.impl.processor.AdaptorProcessor", "org.nutz.mvc.impl.processor.MethodInvokeProcessor", "org.nutz.mvc.impl.processor.ViewProcessor"],
      "error": "org.nutz.mvc.impl.processor.FailProcessor"
   }
}
2017-08-15 11:29:44,246 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:266) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-08-15 11:29:44,250 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/G:/nutzbook/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp3/wtpwebapps/shlxoa/WEB-INF/classes/'
2017-08-15 11:29:44,250 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG -  > scan 'com.shlx.blood'
2017-08-15 11:29:44,257 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 67 resource by src( com/shlx/blood/ ) , regex( ^.+[.]class$ )
2017-08-15 11:29:44,258 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.shlx.blood.action.BagInfoAction'
2017-08-15 11:29:44,258 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.shlx.blood.action.dict.DictAction'
2017-08-15 11:29:44,258 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.shlx.blood.action.FunctionAction'
2017-08-15 11:29:44,258 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.shlx.blood.action.ProblemDemandAction'
2017-08-15 11:29:44,258 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.shlx.blood.action.ProjectProgressAction'
2017-08-15 11:29:44,259 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.shlx.blood.action.RoleAction'
2017-08-15 11:29:44,259 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.shlx.blood.action.StaffTripAction'
2017-08-15 11:29:44,259 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG -    >> add 'com.shlx.blood.action.UserAction'
2017-08-15 11:29:44,275 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO  - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2017-08-15 11:29:44,284 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/role/count'               >> (RoleAction.java:66).count            : void       | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,291 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/role/addRole'             >> (RoleAction.java:87).addRole          : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,292 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/role/editRole'            >> (RoleAction.java:108).editRole        : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,293 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/role/queryLeafFunctionIdByRoleCode' >> (RoleAction.java:148).queryLeafFunctionIdByRoleCode : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,294 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/role/saveAuthorizeRole'   >> (RoleAction.java:163).saveAuthorizeRole : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,294 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/role/queryRoleById'       >> (RoleAction.java:72).queryRoleById    : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,295 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/role/deleteRole'          >> (RoleAction.java:129).deleteRole      : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,297 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/staffTrip/addTrip'        >> (StaffTripAction.java:104).addTrip    : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,298 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/staffTrip/editTrip'       >> (StaffTripAction.java:134).editTrip   : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,299 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/staffTrip/queryTripByIdRight' >> (StaffTripAction.java:180).queryTripByIdRight : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,300 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/staffTrip/queryTripByCndRight' >> (StaffTripAction.java:197).queryTripByCndRight : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,300 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/staffTrip/queryTripById'  >> (StaffTripAction.java:70).queryTripById : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,300 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/staffTrip/queryTripByCnd' >> (StaffTripAction.java:87).queryTripByCnd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,301 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/staffTrip/isAllTripOver'  >> (StaffTripAction.java:119).isAllTripOver : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,302 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/staffTrip/finishTrip'     >> (StaffTripAction.java:149).finishTrip : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,303 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/staffTrip/cancelTrip'     >> (StaffTripAction.java:164).cancelTrip : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,305 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/bagInfo/count'            >> (BagInfoAction.java:61).count         : void       | @Ok(json ) @Fail(jsp:/error.jsp) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,306 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/bagInfo/bagInAdd'         >> (BagInfoAction.java:71).bagInAdd      : Object     | @Ok(json ) @Fail(jsp:/error.jsp) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,308 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/bagInfo/queryBag'         >> (BagInfoAction.java:91).queryBag      : Object     | @Ok(json ) @Fail(jsp:/error.jsp) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,308 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/dict/queryDeptByCode'     >> (DictAction.java:64).queryDeptByCode  : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,309 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/dict/queryProjectById'    >> (DictAction.java:78).queryProjectById : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,309 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/projectProgress/queryNowTripByUser' >> (ProjectProgressAction.java:71).queryNowTripByUser : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,310 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/projectProgress/queryNowProgressByUser' >> (ProjectProgressAction.java:85).queryNowProgressByUser : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,310 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/projectProgress/queryProgressAllCnd' >> (ProjectProgressAction.java:148).queryProgressAllCnd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,311 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/projectProgress/addProgress' >> (ProjectProgressAction.java:102).addProgress : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,312 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/projectProgress/editProgress' >> (ProjectProgressAction.java:117).editProgress : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,312 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/projectProgress/deleteProgress' >> (ProjectProgressAction.java:132).deleteProgress : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,313 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/count'           >> (FunctionAction.java:67).count        : void       | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,313 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/addFunction'     >> (FunctionAction.java:117).addFunction : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,313 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/funcTree'        >> (FunctionAction.java:73).funcTree     : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,314 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/getCodeMng'      >> (FunctionAction.java:103).getCodeMng  : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,314 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/editFunction'    >> (FunctionAction.java:136).editFunction : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,315 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/deleteFunction'  >> (FunctionAction.java:157).deleteFunction : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,315 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/queryNodeById'   >> (FunctionAction.java:176).queryNodeById : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,315 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/funcMenuTree'    >> (FunctionAction.java:191).funcMenuTree : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,317 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/funcTreeNoOp'    >> (FunctionAction.java:205).funcTreeNoOp : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,317 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/funcTreeAll'     >> (FunctionAction.java:308).funcTreeAll : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,317 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/queryFunctionById' >> (FunctionAction.java:88).queryFunctionById : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,318 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/queryParamByFunId' >> (FunctionAction.java:219).queryParamByFunId : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,318 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/addParamDictionary' >> (FunctionAction.java:234).addParamDictionary : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,319 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/editParamDictionary' >> (FunctionAction.java:254).editParamDictionary : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,319 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/deleteParamDictionary' >> (FunctionAction.java:275).deleteParamDictionary : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,320 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/getNextChildIdByParentId' >> (FunctionAction.java:294).getNextChildIdByParentId : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,320 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/function/getCodeMngList'  >> (FunctionAction.java:331).getCodeMngList : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,321 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/login'               >> (UserAction.java:252).login           : Object     | @Ok(json ) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,321 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/addUser'             >> (UserAction.java:81).addUser          : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,322 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/editUser'            >> (UserAction.java:102).editUser        : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,322 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/lockUser'            >> (UserAction.java:118).lockUser        : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,323 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/toLogin'             >> (UserAction.java:274).toLogin         : Object     | @Ok(json ) @Fail(json ) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,323 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/editPw'              >> (UserAction.java:309).editPw          : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,323 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/loginOut'            >> (UserAction.java:323).loginOut        : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,324 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/getDeptInfo'         >> (UserAction.java:186).getCodeMng      : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,324 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/queryUserByStation'  >> (UserAction.java:280).queryUserByStation : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,324 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/getCurrentOperatorExist' >> (UserAction.java:295).getCurrentOperatorExist : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,325 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/queryUserById'       >> (UserAction.java:66).queryUserById    : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,325 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/unlockUser'          >> (UserAction.java:137).unlockUser      : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,325 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/deleteUser'          >> (UserAction.java:156).deleteUser      : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,326 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/closeUser'           >> (UserAction.java:171).closeUser       : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,326 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/getUserRoles'        >> (UserAction.java:200).getUserRoles    : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,326 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/getUserNoRoles'      >> (UserAction.java:214).getUserNoRoles  : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,327 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/user/authorizeUser'       >> (UserAction.java:228).authorizeUser   : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,328 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/count'      >> (ProblemDemandAction.java:68).count   : void       | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,329 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/addPd'      >> (ProblemDemandAction.java:91).addPd   : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,330 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/editPd'     >> (ProblemDemandAction.java:106).editPd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,330 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/commitPd'   >> (ProblemDemandAction.java:121).commitPd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,330 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/handlePd'   >> (ProblemDemandAction.java:147).handlePd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,331 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/assessPd'   >> (ProblemDemandAction.java:187).assessPd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,331 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/cancelPd'   >> (ProblemDemandAction.java:201).cancelPd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,331 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/getMaxEventExplain' >> (ProblemDemandAction.java:160).getMaxEventExplain : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,332 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/getAttachmentByPdid' >> (ProblemDemandAction.java:273).getAttachmentByPdid : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,332 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/previewOfficeFile' >> (ProblemDemandAction.java:302).previewOfficeFile : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,333 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/queryPdById' >> (ProblemDemandAction.java:74).queryPdById : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,333 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/analysePd'  >> (ProblemDemandAction.java:133).analysePd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,333 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/releasePd'  >> (ProblemDemandAction.java:173).releasePd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,334 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/queryEventByPdId' >> (ProblemDemandAction.java:213).queryEventByPdId : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,334 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/queryPdByCnd' >> (ProblemDemandAction.java:229).queryPdByCnd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,334 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/pollingNewPd' >> (ProblemDemandAction.java:245).pollingNewPd : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,335 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/fileUpload' >> (ProblemDemandAction.java:259).fileUpload : Object     | @Ok(json ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,337 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG -    '/problemDemand/downLoadFile' >> (ProblemDemandAction.java:288).downLoadFile : Object     | @Ok(raw  ) @Fail(json ) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-08-15 11:29:44,338 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:220) INFO  - Found 79 module methods
2017-08-15 11:29:44,338 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:334) DEBUG - @Localization not define
2017-08-15 11:29:44,339 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274) INFO  - Setup application...
中间层启动中。。。。。。
2017-08-15 11:29:44,339 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2017-08-15 11:29:44,339 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get '$aop_actionLog'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-08-15 11:29:44,340 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=$aop_actionLog
2017-08-15 11:29:44,342 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject($aop_actionLog) in AopLoader@30818374
2017-08-15 11:29:44,343 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'$aop_actionLog'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-08-15 11:29:44,343 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object '$aop_actionLog' to [app] 
2017-08-15 11:29:44,347 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-08-15 11:29:44,347 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=$aop_async
2017-08-15 11:29:44,347 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject($aop_async) in AsyncAopIocLoader@9753365
2017-08-15 11:29:44,347 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
2017-08-15 11:29:44,347 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object '$aop_async' to [app] 
2017-08-15 11:29:44,348 org.nutz.ioc.aop.SimpleAopMaker.<init>(SimpleAopMaker.java:79) DEBUG - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
2017-08-15 11:29:44,348 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=dao
2017-08-15 11:29:44,348 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2017-08-15 11:29:44,351 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017-08-15 11:29:44,351 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'dao'<interface org.nutz.dao.Dao>
2017-08-15 11:29:44,363 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.dao.impl.NutDao without AOP
2017-08-15 11:29:44,363 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dao' to [app] 
2017-08-15 11:29:44,364 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2017-08-15 11:29:44,364 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - 	 >> Load definition name=dataSource
2017-08-15 11:29:44,364 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2017-08-15 11:29:44,371 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2017-08-15 11:29:44,371 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - 	 >> Make...'dataSource'<>
2017-08-15 11:29:44,400 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class com.alibaba.druid.pool.DruidDataSource without AOP
2017-08-15 11:29:44,400 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dataSource' to [app] 
2017-08-15 11:29:44,439 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:715) INFO  - {dataSource-1} inited
2017-08-15 11:29:44,439 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2017-08-15 11:29:44,471 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO  - Init file-pool by: C:\Users\qupengfei/.nutz/tmp/dao/ [200000]
2017-08-15 11:29:44,472 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'C:\Users\qupengfei\.nutz\tmp\dao'
2017-08-15 11:29:44,472 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO  - file-pool.cursor: 0
2017-08-15 11:29:44,480 org.nutz.dao.jdbc.Jdbcs.<clinit>(Jdbcs.java:90) DEBUG - Jdbcs init complete
2017-08-15 11:29:44,480 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:103) INFO  - Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
2017-08-15 11:29:44,790 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:188) DEBUG - select expert : org.nutz.dao.impl.jdbc.sqlserver2005.Sqlserver2005JdbcExpert
2017-08-15 11:29:44,795 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:199) DEBUG - JDBC Driver --> 3.0.1119.0
2017-08-15 11:29:44,795 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:200) DEBUG - JDBC Name   --> Microsoft SQL Server JDBC Driver 3.0
2017-08-15 11:29:44,795 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:202) DEBUG - JDBC URL    --> jdbc:sqlserver://localhost:1433;xopenStates=false;sendTimeAsDatetime=true;trustServerCertificate=false;sendStringParametersAsUnicode=true;selectMethod=direct;responseBuffering=adaptive;packetSize=8000;loginTimeout=15;lockTimeout=-1;lastUpdateCount=true;encrypt=false;disableStatementPooling=true;databaseName=SHLXOA;applicationName=Microsoft SQL Server JDBC Driver;
2017-08-15 11:29:44,796 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:221) DEBUG - Database info --> SQLSERVER:[Microsoft SQL Server - 10.50.1600]
2017-08-15 11:29:44,798 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:141) INFO  - Nutz.Mvc[nutz] is up in 735ms
八月 15, 2017 11:29:44 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler [http-nio-8080]
八月 15, 2017 11:29:44 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler [ajp-nio-8009]
八月 15, 2017 11:29:44 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3530 ms

启动日志如上

com.shlx.blood.mvc.SessionCheckProcessor 这个拦截了

public class SessionCheckProcessor extends AbstractProcessor {

    private static final Log log = Logs.get();

    @Override
    public void process(ActionContext ac) throws Throwable {
/*    	
  		Filter只能拦截入口方法 -- 入口权限检查等与req/resp紧密相关的操作, 操作的参数更明显一下(ActionContext)
    	Aop只能拦截IocBean类的方法 -- 所有Control/Service/Dao层都能拦截,但操作的是InterceptorChain,不直观
*/
        Stopwatch sw = Stopwatch.begin();
        HttpServletRequest req = ac.getRequest();
        //获取当前session中的用户
        SysUser user = (SysUser)req.getSession().getAttribute(Globals.SESSION_USER_CODE);
        String contextPath = ac.getServletContext().getContextPath();
        String uri = req.getRequestURI();
        int position = uri.lastIndexOf("*");
        uri = uri.replace(contextPath,"");
        boolean isLoginReq = false;
        if(uri.equals(Globals.LOGIN_ACTION)){
        	isLoginReq = true;
        }
        //如果用户为空,就表示失效,就要跳转到login.jsp
        if(user == null || "".equals(user)){
        	if(!isLoginReq){
                HttpServletResponse response = ac.getResponse();
                //为什么这里就是不跳转到login.jsp呢 ?????????
                contextPath = ac.getServletContext().getContextPath();
                response.sendRedirect(contextPath+"/login.jsp");
                return;
        	}
        }
        doNext(ac);
    }   
}

这个好像是动作链,但是貌似没起效啊。。。

首先,有没有进入这个类呢?

我先断点试下

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