NutzCN Logo
问答 我的定时任务为什么不执行呢?
发布于 3131天前 作者 qq_6c186ef5 2005 次浏览 复制 上一个帖子 下一个帖子
标签:

quartz文件(conf/)
org.quartz.scheduler.instanceName = NutzbookScheduler
org.quartz.threadPool.threadCount = 3
org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore
org.quartz.scheduler.skipUpdateCheck=true

cron文件(在conf/custom)
com.risun.nutz.quartz.job.CleanNonActiveUserJob=2 0/0 * * * ?

CleanNonActiveUserJob.java(再quartz.job/)
log.debug("开始清理账号未激活的用户");

       //Date deadtime = new Date(System.currentTimeMillis() - 24*60*60*1000L); // 一天, 测试的时候可以改成1小时之类的

       Date deadtime = new Date(System.currentTimeMillis() - 2*1000L);
       //String deadtime =  StringUtils.getDetailDate();
       //Date deadtime = new Date(System.currentTimeMillis() - 24*60*60*1000L);
       SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
       String format = sdf.format(deadtime);

       Cnd cnd = Cnd.where("id", ">", "0")
       .and("userAddDate","<",format)
       .and(Cnd.exp("userDept", "=", null))
       .or("userRole","=",null)
       .or(Cnd.exp("userDept", "=", ""))
       .or("userRole","=","");
       int clear = dao.clear(BaseUsers.class,cnd);

       log.debugf("清理 %d BaseUsers", clear);

dao.js
paths : ["custom/"]

** mainsetup.java**
加入了ioc.get(NutQuartzCronJobFactory.class);

** mainmodule.java**
@SetupBy(value=MainSetup.class)
@IocBy(type=ComboIocProvider.class,
args = { "*js" , "ioc/",
"*anno","com.risun.nutz",
"*tx",
"*org.nutz.integration.quartz.QuartzIocLoader"
})
@Modules(scanPackage=true)
public class MainModule {

      }

这样写了之后为什么我的项目启动都不执行呢?
启动时打出的log如下:
2016-4-20 11:00:16 org.apache.catalina.core.AprLifecycleListener init
信息: Loaded APR based Apache Tomcat Native library 1.1.27 using APR version 1.4.6.
2016-4-20 11:00:16 org.apache.catalina.core.AprLifecycleListener init
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
2016-4-20 11:00:17 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized with version OpenSSL 1.0.1d 5 Feb 2013
2016-4-20 11:00:17 org.apache.coyote.http11.Http11AprProtocol init
信息: Initializing Coyote HTTP/1.1 on http-8080
2016-4-20 11:00:17 org.apache.coyote.ajp.AjpAprProtocol init
信息: Initializing Coyote AJP/1.3 on ajp-8009
2016-4-20 11:00:17 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 732 ms
2016-4-20 11:00:17 org.apache.catalina.core.StandardService start
信息: Starting service Catalina
2016-4-20 11:00:17 org.apache.catalina.core.StandardEngine start
信息: Starting Servlet Engine: Apache Tomcat/6.0.39
2016-4-20 11:00:17 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor host-manager.xml
2016-4-20 11:00:17 org.apache.catalina.startup.HostConfig deployDescriptor
信息: Deploying configuration descriptor manager.xml
2016-4-20 11:00:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2016-4-20 11:00:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2016-4-20 11:00:17 org.apache.catalina.core.ApplicationContext log
信息: ContextListener: contextInitialized()
2016-4-20 11:00:17 org.apache.catalina.core.ApplicationContext log
信息: SessionListener: contextInitialized()
2016-4-20 11:00:17 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory NutzBook
log4j:WARN No appenders could be found for logger (org.nutz.mvc.NutFilter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2016-4-20 11:00:19 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2016-4-20 11:00:19 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2016-4-20 11:00:19 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2016-4-20 11:00:19 org.apache.catalina.startup.Catalina start
信息: Server startup in 2402 ms

8 回复

log4j没配置好哦

log4j:WARN No appenders could be found for logger (org.nutz.mvc.NutFilter).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

加个log4j.properties文件

log4j.rootLogger=debug,Console
log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=%d %l %-5p - %m%n

配置log4j之后打出的log,报错了
2016-04-20 11:14:59,755 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO - NutFilter[nutz] starting ...
2016-04-20 11:14:59,932 org.nutz.resource.Scans.(Scans.java:486) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=C:\MyEclipse 8.5\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\lib\tools.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\bin\bootstrap.jar], FileSystemResourceLocation [root=E:\apache-tomcat-6.0.39\bin], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\nutz-last.jar], FileSystemResourceLocation [root=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\classes]]
2016-04-20 11:15:00,180 org.nutz.resource.Scans.init(Scans.java:75) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\junit.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\quartz-2.2.1.jar], FileSystemResourceLocation [root=E:\apache-tomcat-6.0.39\bin], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\bin\bootstrap.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\mysql-connector-java-5.1.6-bin.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\nutz-last.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\jsf-impl.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\slf4j-api-1.6.6.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\quartz-jobs-2.2.1.jar], FileSystemResourceLocation [root=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\classes], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\nutz-integration-quartz-1.b.53.r3.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\fastjson-1.1.32.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\dom4j-1.6.1.jar], JarResourceLocation [jarPath=C:\MyEclipse 8.5\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\lib\tools.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\slf4j-log4j12-1.6.6.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\log4j-1.2.16.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\c3p0-0.9.1.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\FilterZh_Eng_Util1.a.02.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\jsf-api.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\jstl-1.2.jar]]
2016-04-20 11:15:00,188 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:128) DEBUG - MainModule: <com.risun.nutz.MainModule>
2016-04-20 11:15:00,208 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2016-04-20 11:15:00,215 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO - Nutz Version : 1.r.56-SNAPSHOT
2016-04-20 11:15:00,216 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO - Nutz.Mvc[nutz] is initializing ...
2016-04-20 11:15:00,216 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2016-04-20 11:15:00,217 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG - - Default Charset : GBK
2016-04-20 11:15:00,217 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG - - Current . path : E:\apache-tomcat-6.0.39\bin.
2016-04-20 11:15:00,217 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG - - Java Version : 1.6.0_13
2016-04-20 11:15:00,218 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG - - File separator : \
2016-04-20 11:15:00,218 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG - - Timezone : Asia/Shanghai
2016-04-20 11:15:00,218 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG - - OS : Windows Vista x86
2016-04-20 11:15:00,218 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG - - ServerInfo : Apache Tomcat/6.0.39
2016-04-20 11:15:00,218 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG - - Servlet API : 2.5
2016-04-20 11:15:00,219 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG - - ContextPath : /NutzBook
2016-04-20 11:15:00,219 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG - - context.tempdir : E:\apache-tomcat-6.0.39\work\Catalina\localhost\NutzBook
2016-04-20 11:15:00,220 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:128) DEBUG - MainModule: <com.risun.nutz.MainModule>
2016-04-20 11:15:00,220 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:237) DEBUG - >> app.root = E:/apache-tomcat-6.0.39/webapps/NutzBook
2016-04-20 11:15:00,333 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 94 castor for Castors
2016-04-20 11:15:00,335 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:378) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.risun.nutz", "*tx", "*org.nutz.integration.quartz.QuartzIocLoader"],init=[])
2016-04-20 11:15:00,374 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-04-20 11:15:00,374 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:48) DEBUG - loading ioc js config from [dao.js]
2016-04-20 11:15:00,380 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:56) DEBUG - Loaded 3 bean define from path=[ioc/] --> [dataSource, dao, conf]
2016-04-20 11:15:00,386 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 23 resource by src( com/risun/nutz/ ) , regex( ^.+[.]class$ )
2016-04-20 11:15:00,441 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.dao.impl.BaseUserDaoImpl
2016-04-20 11:15:00,452 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.dao.impl.MenuNutzDaoImpl
2016-04-20 11:15:00,453 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.dao.impl.PowerDaoImpl
2016-04-20 11:15:00,454 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.dao.impl.Test
2016-04-20 11:15:00,461 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.module.BaseUserAction
2016-04-20 11:15:00,466 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.module.MenuNutzModule
2016-04-20 11:15:00,476 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.quartz.job.CleanNonActiveUserJob
2016-04-20 11:15:00,481 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.service.impl.BaseUserServiceImpl
2016-04-20 11:15:00,482 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.service.impl.MenuNutzServiceImpl
2016-04-20 11:15:00,482 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.service.impl.PowerServicesImpl
2016-04-20 11:15:00,485 org.nutz.ioc.loader.annotation.AnnotationIocLoader.(AnnotationIocLoader.java:49) INFO - Found 10 classes in 1 base-packages!
beans = ["cleanNonActiveUserJob", "menuNutzModule", "powerServices", "menuNutzDaoImpl", "test", "baseUserDaoImpl", "menuNutzService", "aseUserServiceImpl", "baseUserAction", "powerDaoImpl"]
2016-04-20 11:15:00,488 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:40) DEBUG - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txREAD_COMMITTED, txNONE, txSERIALIZABLE, txREAD_UNCOMMITTED]
2016-04-20 11:15:00,488 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:56) DEBUG - Loaded 0 bean define from path=[] --> []
2016-04-20 11:15:00,494 org.nutz.ioc.impl.NutIoc.(NutIoc.java:100) INFO - NutIoc init begin ...
2016-04-20 11:15:00,497 org.nutz.ioc.impl.NutIoc.(NutIoc.java:117) INFO - ... NutIoc init complete
2016-04-20 11:15:00,498 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:128) DEBUG - MainModule: <com.risun.nutz.MainModule>
2016-04-20 11:15:00,502 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:158) INFO - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2016-04-20 11:15:00,507 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:368) DEBUG - @Views(DefaultViewMaker.class)
2016-04-20 11:15:00,520 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:265) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2016-04-20 11:15:00,539 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/E:/apache-tomcat-6.0.39/webapps/NutzBook/WEB-INF/classes/com/risun/nutz/MainModule.class'
2016-04-20 11:15:00,540 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG - > scan 'com.risun.nutz'
2016-04-20 11:15:00,545 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 23 resource by src( com/risun/nutz/ ) , regex( ^.+[.]class$ )
2016-04-20 11:15:00,546 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.risun.nutz.module.BaseUserAction'
2016-04-20 11:15:00,546 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.risun.nutz.module.MenuNutzModule'
2016-04-20 11:15:00,562 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2016-04-20 11:15:00,572 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2016-04-20 11:15:00,591 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/menu/getParentMenu' >> MenuNutzModule.getParentMenu(...) : void | @Ok(jsp:pages.back.account.homePage) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:15:00,593 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/menu/Allot_user_qx' >> MenuNutzModule.doList(...) : void | @Ok(jsp:pages.back.qx.qxLists) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:15:00,599 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/count' >> BaseUserAction.count(...) : int | @Ok(void ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:15:00,600 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/findAllAccUser' >> BaseUserAction.findAllAccUser(...) : void | @Ok(jsp:pages.back.qx.accuUserList) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:15:00,603 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/loginIn' >> BaseUserAction.userLogin(...) : Messages | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:15:00,603 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/login' >> BaseUserAction.loginIn(...) : void | @Ok(jsp:pages.back.account.index) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:15:00,605 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/generateImage' >> BaseUserAction.generateImage(...) : void | @Ok(void ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:15:00,605 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:219) INFO - Found 7 module methods
2016-04-20 11:15:00,607 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:333) DEBUG - @Localization not define
2016-04-20 11:15:00,608 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:273) INFO - Setup application...
2016-04-20 11:15:00,608 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2016-04-20 11:15:00,610 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=dao
2016-04-20 11:15:00,611 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2016-04-20 11:15:00,616 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(dao) in IocLoader(JsonLoader@15182156)
2016-04-20 11:15:00,616 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'dao'<interface org.nutz.dao.Dao>
2016-04-20 11:15:00,641 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.dao.impl.NutDao without AOP
2016-04-20 11:15:00,643 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dao' to [app]
2016-04-20 11:15:00,646 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'dataSource'<>
2016-04-20 11:15:00,646 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=dataSource
2016-04-20 11:15:00,646 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2016-04-20 11:15:00,655 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(dataSource) in IocLoader(JsonLoader@15182156)
2016-04-20 11:15:00,656 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'dataSource'<>
2016-04-20 11:15:00,659 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class com.mchange.v2.c3p0.ComboPooledDataSource without AOP
2016-04-20 11:15:00,660 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dataSource' to [app]
2016-04-20 11:15:00,714 com.mchange.v2.log.MLog.(MLog.java:80) INFO - MLog clients using log4j logging.
2016-04-20 11:15:00,776 com.mchange.v2.c3p0.C3P0Registry.banner(C3P0Registry.java:204) INFO - Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? true; trace: 10]
2016-04-20 11:15:00,808 com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.reinitialize(DynamicPooledDataSourceManagerMBean.java:235) DEBUG - MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge13r9gds2sqy14yl05b|1719d5b] registered.
2016-04-20 11:15:00,841 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:15:00,841 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=conf
2016-04-20 11:15:00,841 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=conf
2016-04-20 11:15:00,841 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(conf) in IocLoader(JsonLoader@15182156)
2016-04-20 11:15:00,842 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'conf'<>
2016-04-20 11:15:00,842 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.ioc.impl.PropertiesProxy without AOP
2016-04-20 11:15:00,842 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'conf' to [app]
2016-04-20 11:15:00,847 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 2 resource by src( custom/ ) , regex( ^.+[.]properties$ )
2016-04-20 11:15:00,853 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:15:00,854 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:15:00,854 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:15:00,854 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:15:00,856 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'dataSource'<>
2016-04-20 11:15:00,874 org.nutz.dao.impl.NutDao.(NutDao.java:107) DEBUG - NutDao[_selfId=0] init ...
2016-04-20 11:15:00,909 org.nutz.filepool.NutFilePool.(NutFilePool.java:23) INFO - Init file-pool by: C:\Users\Administrator/.nutz/tmp/dao/ [2000]
2016-04-20 11:15:00,909 org.nutz.filepool.NutFilePool.(NutFilePool.java:37) DEBUG - file-pool.home: 'C:\Users\Administrator.nutz\tmp\dao'
2016-04-20 11:15:00,911 org.nutz.filepool.NutFilePool.(NutFilePool.java:66) INFO - file-pool.cursor: 0
2016-04-20 11:15:00,920 org.nutz.dao.jdbc.Jdbcs.(Jdbcs.java:90) DEBUG - Jdbcs init complete
2016-04-20 11:15:00,920 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:103) INFO - Get Connection from DataSource for JdbcExpert, if I lock at here, check your database server and configure
2016-04-20 11:15:01,013 com.mchange.v2.resourcepool.BasicResourcePool.incrementPendingAcquires(BasicResourcePool.java:404) DEBUG - incremented pending_acquires: 1
2016-04-20 11:15:01,013 com.mchange.v2.resourcepool.BasicResourcePool.incrementPendingAcquires(BasicResourcePool.java:404) DEBUG - incremented pending_acquires: 2
2016-04-20 11:15:01,013 com.mchange.v2.resourcepool.BasicResourcePool.incrementPendingAcquires(BasicResourcePool.java:404) DEBUG - incremented pending_acquires: 3
2016-04-20 11:15:01,013 com.mchange.v2.resourcepool.BasicResourcePool.(BasicResourcePool.java:289) DEBUG - com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 config: [start -> 3; min -> 3; max -> 100; inc -> 3; num_acq_attempts -> 30; acq_attempt_delay -> 1000; check_idle_resources_delay -> 0; mox_resource_age -> 0; max_idle_time -> 0; excess_max_idle_time -> 0; destroy_unreturned_resc_time -> 0; expiration_enforcement_delay -> 0; break_on_acquisition_failure -> false; debug_store_checkout_exceptions -> false]
2016-04-20 11:15:01,016 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getPoolManager(AbstractPoolBackedDataSource.java:462) INFO - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge13r9gds2sqy14yl05b|1719d5b, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge13r9gds2sqy14yl05b|1719d5b, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://192.168.1.2:3306/test?useUnicode=true&characterEncoding=utf8, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
2016-04-20 11:15:01,016 com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:538) DEBUG - acquire test -- pool size: 0; target_pool_size: 3; desired target? 1
2016-04-20 11:15:01,017 com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1291) DEBUG - awaitAvailable(): [unknown]
2016-04-20 11:15:01,017 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 0, unused: 0, excluded: 0]
2016-04-20 11:15:01,264 com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:217) DEBUG - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@c907ff.acquireResource() returning.
2016-04-20 11:15:01,264 com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:217) DEBUG - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@c907ff.acquireResource() returning.
2016-04-20 11:15:01,264 com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:217) DEBUG - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@c907ff.acquireResource() returning.
2016-04-20 11:15:01,265 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 1, unused: 1, excluded: 0]
2016-04-20 11:15:01,265 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 2, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,265 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,265 com.mchange.v2.resourcepool.BasicResourcePool.decrementPendingAcquires(BasicResourcePool.java:422) DEBUG - decremented pending_acquires: 2
2016-04-20 11:15:01,265 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,265 com.mchange.v2.resourcepool.BasicResourcePool.decrementPendingAcquires(BasicResourcePool.java:422) DEBUG - decremented pending_acquires: 1
2016-04-20 11:15:01,265 com.mchange.v2.resourcepool.BasicResourcePool.decrementPendingAcquires(BasicResourcePool.java:422) DEBUG - decremented pending_acquires: 0
2016-04-20 11:15:01,272 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,276 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,277 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:183) DEBUG - JDBC Driver --> mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
2016-04-20 11:15:01,277 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - JDBC Name --> MySQL-AB JDBC Driver
2016-04-20 11:15:01,278 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:186) DEBUG - JDBC URL --> jdbc:mysql://192.168.1.2:3306/test?useUnicode=true&characterEncoding=utf8
2016-04-20 11:15:01,291 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_client=utf8
2016-04-20 11:15:01,291 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_connection=utf8
2016-04-20 11:15:01,291 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_database=utf8
2016-04-20 11:15:01,291 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_filesystem=binary
2016-04-20 11:15:01,292 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_results=
2016-04-20 11:15:01,292 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_server=utf8
2016-04-20 11:15:01,292 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_system=utf8
2016-04-20 11:15:01,292 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_sets_dir=C:\Program Files (x86)\MySQL\MySQL Server 5.1\share\charsets\
2016-04-20 11:15:01,293 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:203) DEBUG - Mysql : database=test
2016-04-20 11:15:01,294 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:209) DEBUG - Mysql : user=root@LC41QCQAWJMNQO2
2016-04-20 11:15:01,306 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,306 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:224) DEBUG - Database info --> MYSQL:[MySQL - 5.1.73-community]
2016-04-20 11:15:01,319 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 23 resource by src( com/risun/nutz/ ) , regex( ^.+[.]class$ )
2016-04-20 11:15:01,404 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,407 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,410 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,411 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,413 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,414 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,416 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,416 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,416 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,417 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,417 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,418 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,429 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,430 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:192) DEBUG - SELECT COUNT(*) FROM nut_user
2016-04-20 11:15:01,431 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,432 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,432 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:192) DEBUG - SELECT COUNT(*) FROM nut_menu
2016-04-20 11:15:01,433 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@11fa5f0 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@8bd6e8)
2016-04-20 11:15:01,434 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2016-04-20 11:15:01,434 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=nutQuartzCronJobFactory
2016-04-20 11:15:01,434 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=nutQuartzCronJobFactory
2016-04-20 11:15:01,435 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(nutQuartzCronJobFactory) in IocLoader(QuartzIocLoader@28382446)
2016-04-20 11:15:01,435 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2016-04-20 11:15:01,442 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.integration.quartz.NutQuartzCronJobFactory without AOP
2016-04-20 11:15:01,442 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'nutQuartzCronJobFactory' to [app]
2016-04-20 11:15:01,444 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'scheduler'<>
2016-04-20 11:15:01,444 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=scheduler
2016-04-20 11:15:01,444 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=scheduler
2016-04-20 11:15:01,445 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(scheduler) in IocLoader(QuartzIocLoader@28382446)
2016-04-20 11:15:01,445 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'scheduler'<>
2016-04-20 11:15:01,445 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'scheduler' to [app]
2016-04-20 11:15:01,538 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1184) INFO - Using default implementation for ThreadExecutor
2016-04-20 11:15:01,572 org.quartz.core.SchedulerSignalerImpl.(SchedulerSignalerImpl.java:61) INFO - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2016-04-20 11:15:01,573 org.quartz.core.QuartzScheduler.(QuartzScheduler.java:240) INFO - Quartz Scheduler v.2.2.1 created.
2016-04-20 11:15:01,575 org.quartz.simpl.RAMJobStore.initialize(RAMJobStore.java:155) INFO - RAMJobStore initialized.
2016-04-20 11:15:01,575 org.quartz.core.QuartzScheduler.initialize(QuartzScheduler.java:305) INFO - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'NutzbookScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 3 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2016-04-20 11:15:01,577 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1339) INFO - Quartz scheduler 'NutzbookScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
2016-04-20 11:15:01,577 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1343) INFO - Quartz scheduler version: 2.2.1
2016-04-20 11:15:01,578 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'jobFactory'<>
2016-04-20 11:15:01,578 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=jobFactory
2016-04-20 11:15:01,578 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=jobFactory
2016-04-20 11:15:01,580 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(jobFactory) in IocLoader(QuartzIocLoader@28382446)
2016-04-20 11:15:01,580 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'jobFactory'<>
2016-04-20 11:15:01,582 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.integration.quartz.NutQuartzJobFactory without AOP
2016-04-20 11:15:01,583 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'jobFactory' to [app]
2016-04-20 11:15:01,584 org.quartz.core.QuartzScheduler.setJobFactory(QuartzScheduler.java:2311) INFO - JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@b88d29
2016-04-20 11:15:01,585 org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:575) INFO - Scheduler NutzbookScheduler_$_NON_CLUSTERED started.
2016-04-20 11:15:01,585 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276) DEBUG - batch acquisition of 0 triggers
2016-04-20 11:15:01,585 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:15:01,585 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:140) INFO - Nutz.Mvc[nutz] is up in 1365ms
2016-4-20 11:15:01 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2016-4-20 11:15:01 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2016-4-20 11:15:01 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2016-4-20 11:15:01 org.apache.catalina.startup.Catalina start
信息: Server startup in 2604 ms
2016-04-20 11:15:25,980 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276) DEBUG - batch acquisition of 0 triggers
2016-04-20 11:15:49,959 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276) DEBUG - batch acquisition of 0 triggers
2016-04-20 11:16:13,471 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276) DEBUG - batch acquisition of 0 triggers

这里写错了

cron文件(在conf/custom)

com.risun.nutz.quartz.job.CleanNonActiveUserJob=2 0/0 * * * ?

需要用quartz.作为前置的

quartz.com.risun.nutz.quartz.job.CleanNonActiveUserJob=2 0/0 * * * ?

打出的log中提示某个类中多少行是属于报错信息吗?如右边加粗的log:org.nutz.mvc.NutFilter._init(**NutFilter.java:81**) INFO - NutFilter[nutz] starting ...
2016-04-20 11:30:01,736 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO - NutFilter[nutz] starting ...
2016-04-20 11:30:01,914 org.nutz.resource.Scans.(Scans.java:486) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=C:\MyEclipse 8.5\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\lib\tools.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\bin\bootstrap.jar], FileSystemResourceLocation [root=E:\apache-tomcat-6.0.39\bin], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\nutz-last.jar], FileSystemResourceLocation [root=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\classes]]
2016-04-20 11:30:02,175 org.nutz.resource.Scans.init(Scans.java:75) DEBUG - Locations for Scans:
[JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\junit.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\quartz-2.2.1.jar], FileSystemResourceLocation [root=E:\apache-tomcat-6.0.39\bin], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\bin\bootstrap.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\mysql-connector-java-5.1.6-bin.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\nutz-last.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\jsf-impl.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\slf4j-api-1.6.6.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\quartz-jobs-2.2.1.jar], FileSystemResourceLocation [root=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\classes], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\nutz-integration-quartz-1.b.53.r3.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\fastjson-1.1.32.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\dom4j-1.6.1.jar], JarResourceLocation [jarPath=C:\MyEclipse 8.5\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\lib\tools.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\slf4j-log4j12-1.6.6.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\log4j-1.2.16.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\c3p0-0.9.1.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\FilterZh_Eng_Util1.a.02.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\jsf-api.jar], JarResourceLocation [jarPath=E:\apache-tomcat-6.0.39\webapps\NutzBook\WEB-INF\lib\jstl-1.2.jar]]
2016-04-20 11:30:02,186 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:128) DEBUG - MainModule: <com.risun.nutz.MainModule>
2016-04-20 11:30:02,206 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2016-04-20 11:30:02,212 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO - Nutz Version : 1.r.56-SNAPSHOT
2016-04-20 11:30:02,213 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO - Nutz.Mvc[nutz] is initializing ...
2016-04-20 11:30:02,213 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2016-04-20 11:30:02,215 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG - - Default Charset : GBK
2016-04-20 11:30:02,215 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG - - Current . path : E:\apache-tomcat-6.0.39\bin.
2016-04-20 11:30:02,215 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG - - Java Version : 1.6.0_13
2016-04-20 11:30:02,215 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG - - File separator : \
2016-04-20 11:30:02,215 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG - - Timezone : Asia/Shanghai
2016-04-20 11:30:02,215 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG - - OS : Windows Vista x86
2016-04-20 11:30:02,216 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG - - ServerInfo : Apache Tomcat/6.0.39
2016-04-20 11:30:02,216 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG - - Servlet API : 2.5
2016-04-20 11:30:02,216 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG - - ContextPath : /NutzBook
2016-04-20 11:30:02,217 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG - - context.tempdir : E:\apache-tomcat-6.0.39\work\Catalina\localhost\NutzBook
2016-04-20 11:30:02,218 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:128) DEBUG - MainModule: <com.risun.nutz.MainModule>
2016-04-20 11:30:02,218 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:237) DEBUG - >> app.root = E:/apache-tomcat-6.0.39/webapps/NutzBook
2016-04-20 11:30:02,338 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 94 castor for Castors
2016-04-20 11:30:02,342 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:378) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.risun.nutz", "*tx", "*org.nutz.integration.quartz.QuartzIocLoader"],init=[])
2016-04-20 11:30:02,389 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2016-04-20 11:30:02,389 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:48) DEBUG - loading ioc js config from [dao.js]
2016-04-20 11:30:02,397 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:56) DEBUG - Loaded 3 bean define from path=[ioc/] --> [dataSource, dao, conf]
2016-04-20 11:30:02,406 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 23 resource by src( com/risun/nutz/ ) , regex( ^.+[.]class$ )
2016-04-20 11:30:02,478 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.dao.impl.BaseUserDaoImpl
2016-04-20 11:30:02,489 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.dao.impl.MenuNutzDaoImpl
2016-04-20 11:30:02,491 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.dao.impl.PowerDaoImpl
2016-04-20 11:30:02,493 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.dao.impl.Test
2016-04-20 11:30:02,504 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.module.BaseUserAction
2016-04-20 11:30:02,511 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.module.MenuNutzModule
2016-04-20 11:30:02,522 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.quartz.job.CleanNonActiveUserJob
2016-04-20 11:30:02,530 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.service.impl.BaseUserServiceImpl
2016-04-20 11:30:02,533 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.service.impl.MenuNutzServiceImpl
2016-04-20 11:30:02,534 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:72) DEBUG - Found : class com.risun.nutz.service.impl.PowerServicesImpl
2016-04-20 11:30:02,537 org.nutz.ioc.loader.annotation.AnnotationIocLoader.(AnnotationIocLoader.java:49) INFO - Found 10 classes in 1 base-packages!
beans = ["cleanNonActiveUserJob", "menuNutzModule", "powerServices", "menuNutzDaoImpl", "test", "baseUserDaoImpl", "menuNutzService", "aseUserServiceImpl", "baseUserAction", "powerDaoImpl"]
2016-04-20 11:30:02,543 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:40) DEBUG - Loaded 5 bean define from reader --
[txREPEATABLE_READ, txREAD_COMMITTED, txNONE, txSERIALIZABLE, txREAD_UNCOMMITTED]
2016-04-20 11:30:02,543 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:56) DEBUG - Loaded 0 bean define from path=[] --> []
2016-04-20 11:30:02,550 org.nutz.ioc.impl.NutIoc.(NutIoc.java:100) INFO - NutIoc init begin ...
2016-04-20 11:30:02,554 org.nutz.ioc.impl.NutIoc.(NutIoc.java:117) INFO - ... NutIoc init complete
2016-04-20 11:30:02,556 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:128) DEBUG - MainModule: <com.risun.nutz.MainModule>
2016-04-20 11:30:02,564 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:158) INFO - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2016-04-20 11:30:02,568 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:368) DEBUG - @Views(DefaultViewMaker.class)
2016-04-20 11:30:02,578 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:265) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2016-04-20 11:30:02,593 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/E:/apache-tomcat-6.0.39/webapps/NutzBook/WEB-INF/classes/com/risun/nutz/MainModule.class'
2016-04-20 11:30:02,593 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG - > scan 'com.risun.nutz'
2016-04-20 11:30:02,598 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 23 resource by src( com/risun/nutz/ ) , regex( ^.+[.]class$ )
2016-04-20 11:30:02,599 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.risun.nutz.module.BaseUserAction'
2016-04-20 11:30:02,599 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.risun.nutz.module.MenuNutzModule'
2016-04-20 11:30:02,620 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2016-04-20 11:30:02,630 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2016-04-20 11:30:02,645 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/count' >> BaseUserAction.count(...) : int | @Ok(void ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:30:02,658 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/findAllAccUser' >> BaseUserAction.findAllAccUser(...) : void | @Ok(jsp:pages.back.qx.accuUserList) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:30:02,667 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/loginIn' >> BaseUserAction.userLogin(...) : Messages | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:30:02,668 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/login' >> BaseUserAction.loginIn(...) : void | @Ok(jsp:pages.back.account.index) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:30:02,670 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/base/generateImage' >> BaseUserAction.generateImage(...) : void | @Ok(void ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:30:02,672 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/menu/getParentMenu' >> MenuNutzModule.getParentMenu(...) : void | @Ok(jsp:pages.back.account.homePage) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:30:02,673 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:135) DEBUG - '/menu/Allot_user_qx' >> MenuNutzModule.doList(...) : void | @Ok(jsp:pages.back.qx.qxLists) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2016-04-20 11:30:02,673 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:219) INFO - Found 7 module methods
2016-04-20 11:30:02,674 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:333) DEBUG - @Localization not define
2016-04-20 11:30:02,675 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:273) INFO - Setup application...
2016-04-20 11:30:02,675 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2016-04-20 11:30:02,676 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=dao
2016-04-20 11:30:02,677 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2016-04-20 11:30:02,685 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(dao) in IocLoader(JsonLoader@18833401)
2016-04-20 11:30:02,685 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'dao'<interface org.nutz.dao.Dao>
2016-04-20 11:30:02,720 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.dao.impl.NutDao without AOP
2016-04-20 11:30:02,722 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dao' to [app]
2016-04-20 11:30:02,725 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'dataSource'<>
2016-04-20 11:30:02,725 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=dataSource
2016-04-20 11:30:02,726 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2016-04-20 11:30:02,738 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(dataSource) in IocLoader(JsonLoader@18833401)
2016-04-20 11:30:02,738 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'dataSource'<>
2016-04-20 11:30:02,743 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class com.mchange.v2.c3p0.ComboPooledDataSource without AOP
2016-04-20 11:30:02,744 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dataSource' to [app]
2016-04-20 11:30:02,806 com.mchange.v2.log.MLog.(MLog.java:80) INFO - MLog clients using log4j logging.
2016-04-20 11:30:02,886 com.mchange.v2.c3p0.C3P0Registry.banner(C3P0Registry.java:204) INFO - Initializing c3p0-0.9.1 [built 16-January-2007 14:46:42; debug? true; trace: 10]
2016-04-20 11:30:02,926 com.mchange.v2.c3p0.management.DynamicPooledDataSourceManagerMBean.reinitialize(DynamicPooledDataSourceManagerMBean.java:235) DEBUG - MBean: com.mchange.v2.c3p0:type=PooledDataSource[1hge13r9gdsm4te1d9va7i|1afebc9] registered.
2016-04-20 11:30:02,964 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:30:02,964 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=conf
2016-04-20 11:30:02,964 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=conf
2016-04-20 11:30:02,964 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(conf) in IocLoader(JsonLoader@18833401)
2016-04-20 11:30:02,964 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'conf'<>
2016-04-20 11:30:02,965 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.ioc.impl.PropertiesProxy without AOP
2016-04-20 11:30:02,965 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'conf' to [app]
2016-04-20 11:30:02,969 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 2 resource by src( custom/ ) , regex( ^.+[.]properties$ )
2016-04-20 11:30:02,976 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:30:02,976 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:30:02,976 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:30:02,976 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:30:02,979 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'dataSource'<>
2016-04-20 11:30:03,001 org.nutz.dao.impl.NutDao.(NutDao.java:107) DEBUG - NutDao[_selfId=0] init ...
2016-04-20 11:30:03,048 org.nutz.filepool.NutFilePool.(NutFilePool.java:23) INFO - Init file-pool by: C:\Users\Administrator/.nutz/tmp/dao/ [2000]
2016-04-20 11:30:03,051 org.nutz.filepool.NutFilePool.(NutFilePool.java:37) DEBUG - file-pool.home: 'C:\Users\Administrator.nutz\tmp\dao'
2016-04-20 11:30:03,052 org.nutz.filepool.NutFilePool.(NutFilePool.java:66) INFO - file-pool.cursor: 0
2016-04-20 11:30:03,067 org.nutz.dao.jdbc.Jdbcs.(Jdbcs.java:90) DEBUG - Jdbcs init complete
2016-04-20 11:30:03,067 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:103) INFO - Get Connection from DataSource for JdbcExpert, if I lock at here, check your database server and configure
2016-04-20 11:30:03,167 com.mchange.v2.resourcepool.BasicResourcePool.incrementPendingAcquires(BasicResourcePool.java:404) DEBUG - incremented pending_acquires: 1
2016-04-20 11:30:03,167 com.mchange.v2.resourcepool.BasicResourcePool.incrementPendingAcquires(BasicResourcePool.java:404) DEBUG - incremented pending_acquires: 2
2016-04-20 11:30:03,168 com.mchange.v2.resourcepool.BasicResourcePool.incrementPendingAcquires(BasicResourcePool.java:404) DEBUG - incremented pending_acquires: 3
2016-04-20 11:30:03,168 com.mchange.v2.resourcepool.BasicResourcePool.(BasicResourcePool.java:289) DEBUG - com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 config: [start -> 3; min -> 3; max -> 100; inc -> 3; num_acq_attempts -> 30; acq_attempt_delay -> 1000; check_idle_resources_delay -> 0; mox_resource_age -> 0; max_idle_time -> 0; excess_max_idle_time -> 0; destroy_unreturned_resc_time -> 0; expiration_enforcement_delay -> 0; break_on_acquisition_failure -> false; debug_store_checkout_exceptions -> false]
2016-04-20 11:30:03,173 com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getPoolManager(AbstractPoolBackedDataSource.java:462) INFO - Initializing c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, dataSourceName -> 1hge13r9gdsm4te1d9va7i|1afebc9, debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass -> com.mysql.jdbc.Driver, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 1hge13r9gdsm4te1d9va7i|1afebc9, idleConnectionTestPeriod -> 0, initialPoolSize -> 3, jdbcUrl -> jdbc:mysql://192.168.1.2:3306/test?useUnicode=true&characterEncoding=utf8, lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 100, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 3, numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0, preferredTestQuery -> null, properties -> {user=******, password=******}, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false ]
2016-04-20 11:30:03,173 com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:538) DEBUG - acquire test -- pool size: 0; target_pool_size: 3; desired target? 1
2016-04-20 11:30:03,173 com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1291) DEBUG - awaitAvailable(): [unknown]
2016-04-20 11:30:03,173 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 0, unused: 0, excluded: 0]
2016-04-20 11:30:03,474 com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:217) DEBUG - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@15a1c5f.acquireResource() returning.
2016-04-20 11:30:03,474 com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:217) DEBUG - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@15a1c5f.acquireResource() returning.
2016-04-20 11:30:03,475 com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:217) DEBUG - com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager@15a1c5f.acquireResource() returning.
2016-04-20 11:30:03,476 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 1, unused: 1, excluded: 0]
2016-04-20 11:30:03,476 com.mchange.v2.resourcepool.BasicResourcePool.decrementPendingAcquires(BasicResourcePool.java:422) DEBUG - decremented pending_acquires: 2
2016-04-20 11:30:03,476 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 2, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,476 com.mchange.v2.resourcepool.BasicResourcePool.decrementPendingAcquires(BasicResourcePool.java:422) DEBUG - decremented pending_acquires: 1
2016-04-20 11:30:03,476 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,476 com.mchange.v2.resourcepool.BasicResourcePool.decrementPendingAcquires(BasicResourcePool.java:422) DEBUG - decremented pending_acquires: 0
2016-04-20 11:30:03,476 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,486 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,492 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,492 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:183) DEBUG - JDBC Driver --> mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} )
2016-04-20 11:30:03,492 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:184) DEBUG - JDBC Name --> MySQL-AB JDBC Driver
2016-04-20 11:30:03,492 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:186) DEBUG - JDBC URL --> jdbc:mysql://192.168.1.2:3306/test?useUnicode=true&characterEncoding=utf8
2016-04-20 11:30:03,511 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_client=utf8
2016-04-20 11:30:03,511 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_connection=utf8
2016-04-20 11:30:03,512 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_database=utf8
2016-04-20 11:30:03,512 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_filesystem=binary
2016-04-20 11:30:03,512 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_results=
2016-04-20 11:30:03,512 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_server=utf8
2016-04-20 11:30:03,513 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_set_system=utf8
2016-04-20 11:30:03,513 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:196) DEBUG - Mysql : character_sets_dir=C:\Program Files (x86)\MySQL\MySQL Server 5.1\share\charsets\
2016-04-20 11:30:03,513 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:203) DEBUG - Mysql : database=test
2016-04-20 11:30:03,514 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:209) DEBUG - Mysql : user=root@LC41QCQAWJMNQO2
2016-04-20 11:30:03,527 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,528 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:224) DEBUG - Database info --> MYSQL:[MySQL - 5.1.73-community]
2016-04-20 11:30:03,545 org.nutz.resource.Scans.scan(Scans.java:233) DEBUG - Found 23 resource by src( com/risun/nutz/ ) , regex( ^.+[.]class$ )
2016-04-20 11:30:03,633 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,640 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,644 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,644 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,646 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,647 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,649 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,650 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,650 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 0, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,651 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,651 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,652 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,662 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,664 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:192) DEBUG - SELECT COUNT(*) FROM nut_user
2016-04-20 11:30:03,668 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,668 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 1, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,668 org.nutz.dao.impl.sql.run.NutDaoExecutor._runSelect(NutDaoExecutor.java:192) DEBUG - SELECT COUNT(*) FROM nut_menu
2016-04-20 11:30:03,669 com.mchange.v2.resourcepool.BasicResourcePool.trace(BasicResourcePool.java:1644) DEBUG - trace com.mchange.v2.resourcepool.BasicResourcePool@17cdd50 [managed: 3, unused: 2, excluded: 0] (e.g. com.mchange.v2.c3p0.impl.NewPooledConnection@173b262)
2016-04-20 11:30:03,671 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2016-04-20 11:30:03,671 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=nutQuartzCronJobFactory
2016-04-20 11:30:03,671 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=nutQuartzCronJobFactory
2016-04-20 11:30:03,671 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(nutQuartzCronJobFactory) in IocLoader(QuartzIocLoader@25995729)
2016-04-20 11:30:03,672 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
2016-04-20 11:30:03,679 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.integration.quartz.NutQuartzCronJobFactory without AOP
2016-04-20 11:30:03,679 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'nutQuartzCronJobFactory' to [app]
2016-04-20 11:30:03,681 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'scheduler'<>
2016-04-20 11:30:03,684 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=scheduler
2016-04-20 11:30:03,684 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=scheduler
2016-04-20 11:30:03,684 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(scheduler) in IocLoader(QuartzIocLoader@25995729)
2016-04-20 11:30:03,685 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'scheduler'<>
2016-04-20 11:30:03,685 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'scheduler' to [app]
2016-04-20 11:30:03,782 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1184) INFO - Using default implementation for ThreadExecutor
2016-04-20 11:30:03,819 org.quartz.core.SchedulerSignalerImpl.(SchedulerSignalerImpl.java:61) INFO - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
2016-04-20 11:30:03,819 org.quartz.core.QuartzScheduler.(QuartzScheduler.java:240) INFO - Quartz Scheduler v.2.2.1 created.
2016-04-20 11:30:03,821 org.quartz.simpl.RAMJobStore.initialize(RAMJobStore.java:155) INFO - RAMJobStore initialized.
2016-04-20 11:30:03,821 org.quartz.core.QuartzScheduler.initialize(QuartzScheduler.java:305) INFO - Scheduler meta-data: Quartz Scheduler (v2.2.1) 'NutzbookScheduler' with instanceId 'NON_CLUSTERED'
Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
NOT STARTED.
Currently in standby mode.
Number of jobs executed: 0
Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 3 threads.
Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.

2016-04-20 11:30:03,821 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1339) INFO - Quartz scheduler 'NutzbookScheduler' initialized from default resource file in Quartz package: 'quartz.properties'
2016-04-20 11:30:03,821 org.quartz.impl.StdSchedulerFactory.instantiate(StdSchedulerFactory.java:1343) INFO - Quartz scheduler version: 2.2.1
2016-04-20 11:30:03,822 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'jobFactory'<>
2016-04-20 11:30:03,822 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:173) DEBUG - >> Load definition name=jobFactory
2016-04-20 11:30:03,822 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=jobFactory
2016-04-20 11:30:03,823 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:149) DEBUG - Found IocObject(jobFactory) in IocLoader(QuartzIocLoader@25995729)
2016-04-20 11:30:03,823 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:203) DEBUG - >> Make...'jobFactory'<>
2016-04-20 11:30:03,824 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - Load class org.nutz.integration.quartz.NutQuartzJobFactory without AOP
2016-04-20 11:30:03,825 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'jobFactory' to [app]
2016-04-20 11:30:03,826 org.quartz.core.QuartzScheduler.setJobFactory(QuartzScheduler.java:2311) INFO - JobFactory set to: org.nutz.integration.quartz.NutQuartzJobFactory@14563d4
2016-04-20 11:30:03,826 org.quartz.core.QuartzScheduler.start(QuartzScheduler.java:575) INFO - Scheduler NutzbookScheduler_$_NON_CLUSTERED started.
2016-04-20 11:30:03,826 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276) DEBUG - batch acquisition of 0 triggers
2016-04-20 11:30:03,826 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:153) DEBUG - Get 'conf'<>
2016-04-20 11:30:03,827 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:140) INFO - Nutz.Mvc[nutz] is up in 1609ms
2016-4-20 11:30:03 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2016-4-20 11:30:03 org.apache.coyote.http11.Http11AprProtocol start
信息: Starting Coyote HTTP/1.1 on http-8080
2016-4-20 11:30:03 org.apache.coyote.ajp.AjpAprProtocol start
信息: Starting Coyote AJP/1.3 on ajp-8009
2016-4-20 11:30:03 org.apache.catalina.startup.Catalina start
信息: Server startup in 2894 ms

***********************************************************以下为定时执行的log********************************************************

2016-04-20 11:30:30,889 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276) DEBUG - batch acquisition of 0 triggers
2016-04-20 11:30:54,229 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276) DEBUG - batch acquisition of 0 triggers

是否为出错信息, 看的是日志的级别 DEBUG INFO WARN ERROR, 一般来说WARN及以上会是出错相关的日志

但是,现在CleanNonActiveUserJob中的代码没有被执行

兽总,我在CleanNonActiveUserJob中打入断点,执行后会打出一句日志
2016-04-20 11:55:46,896 org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:276) DEBUG - batch acquisition of 0 triggers
但是没有跳进我的断点的位置,并且删除数据库数据的操作都没有执行,这是为什么?

说错了.... 是cron开头, 改一下应该就ok了

cron.com.risun.nutz.quartz.job.CleanNonActiveUserJob=2 0/0 * * * ?
添加回复
请先登陆
回到顶部