12 2013 档案

摘要:1log4j.rootCategory=INFO, stdout , R此句为将等级为INFO的日志信息输出到stdout和R这两个目的地,stdout和R的定义在下面的代码,可以任意起名。等级可分为OFF、FATAL、ERROR、WARN、INFO、DEBUG、ALL,如果配置OFF则不打出任何信息,如果配置为INFO这样只显示INFO, WARN, ERROR的log信息,而DEBUG信息不会被显示。2log4j.appender.stdout=org.apache.log4j.ConsoleAppender此句为定义名为stdout的输出端是哪种类型,可以是org.apache.log4 阅读全文
posted @ 2013-12-19 10:24 朗度云 阅读(321) 评论(0) 推荐(0)
摘要:Shire在Web.xml中shiroFilter的Mapping配置错误org.apache.shiro.UnavailableSecurityManagerException: No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.at org.apache.shiro.Security 阅读全文
posted @ 2013-12-10 00:59 朗度云 阅读(35774) 评论(0) 推荐(1)
摘要:文章同步发表在博主网站朗度云,传输门:http://www.wolfbe.com/detail/201608/338.html 1、Quartz定时器执行流程 Quartz需要定义执行任务、触发器,在任务中指定执行的类对象及对象的方法,触发器中定义执行的时间、执行的任务。如果需要配置多个任务, 可以 阅读全文
posted @ 2013-12-09 14:56 朗度云 阅读(534) 评论(0) 推荐(0)