九月 03, 2017 8:21:16 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:woyaofa' did not find a matching property.
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/9.0.0.M17
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Jan 10 2017 20:59:20 UTC
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 9.0.0.0
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 10
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 10.0
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: C:\Java\jdk1.8.0_91\jre
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_91-b14
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: C:\Tomcat 9.0
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=C:\Tomcat 9.0
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=C:\Tomcat 9.0\endorsed
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=UTF-8
九月 03, 2017 8:21:17 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Java\jdk1.8.0_91\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Java/bin/server;C:/Java/bin;C:/Java/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\MySQL\MySQL Server 5.0\bin;D:\apache-maven-3.3.9?C:\Tomcat 9.0\bin;C:\Users\hekui\AppData\Local\Microsoft\WindowsApps;;C:\Users\hekui\Desktop;;.
九月 03, 2017 8:21:17 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
九月 03, 2017 8:21:17 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
九月 03, 2017 8:21:17 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
九月 03, 2017 8:21:17 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
九月 03, 2017 8:21:17 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1303 ms
九月 03, 2017 8:21:17 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
九月 03, 2017 8:21:17 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/9.0.0.M17
九月 03, 2017 8:21:18 上午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-09-03 08:21:18,840 org.nutz.mvc.NutFilter._init(NutFilter.java:81) INFO - NutFilter[nutz] starting ...
2017-09-03 08:21:19,133 org.nutz.resource.Scans.<init>(Scans.java:509) DEBUG - Locations for Scans:
[Dir[path=C:\Users\hekui\Desktop], Jar[path=F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\lib\nutz-1.r.59.jar], Dir[path=F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\classes], Jar[path=C:\Tomcat 9.0\bin\bootstrap.jar], Jar[path=C:\Tomcat 9.0\bin\tomcat-juli.jar], Jar[path=C:\Java\jdk1.8.0_91\lib\tools.jar]]
2017-09-03 08:21:19,214 org.nutz.resource.Scans.init(Scans.java:105) DEBUG - Locations for Scans:
{C:\Users\hekui\Desktop=Dir[path=C:\Users\hekui\Desktop], F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\lib\nutz-1.r.59.jar=Jar[path=F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\lib\nutz-1.r.59.jar], F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\classes=Dir[path=F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\classes], C:\Tomcat 9.0\bin\bootstrap.jar=Jar[path=C:\Tomcat 9.0\bin\bootstrap.jar], C:\Tomcat 9.0\bin\tomcat-juli.jar=Jar[path=C:\Tomcat 9.0\bin\tomcat-juli.jar], C:\Java\jdk1.8.0_91\lib\tools.jar=Jar[path=C:\Java\jdk1.8.0_91\lib\tools.jar], F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\lib\log4j-1.2.17.jar=Jar[path=F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\lib\log4j-1.2.17.jar], F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\lib\javax.servlet.jar=Jar[path=F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\lib\javax.servlet.jar], F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\lib\mysql-connector-java-5.1.36-bin.jar=Jar[path=F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\WEB-INF\lib\mysql-connector-java-5.1.36-bin.jar]}
2017-09-03 08:21:19,350 org.nutz.castor.Castors.reload(Castors.java:115) DEBUG - Using 94 castor for Castors
2017-09-03 08:21:19,374 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:59) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading
2017-09-03 08:21:19,379 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO - Nutz Version : 1.r.59
2017-09-03 08:21:19,380 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO - Nutz.Mvc[nutz] is initializing ...
2017-09-03 08:21:19,380 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information:
2017-09-03 08:21:19,383 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG - - Default Charset : UTF-8
2017-09-03 08:21:19,383 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG - - Current . path : C:\Users\hekui\Desktop\.
2017-09-03 08:21:19,384 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG - - Java Version : 1.8.0_91
2017-09-03 08:21:19,384 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG - - File separator : \
2017-09-03 08:21:19,384 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG - - Timezone : Asia/Shanghai
2017-09-03 08:21:19,384 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG - - OS : Windows 10 amd64
2017-09-03 08:21:19,384 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG - - ServerInfo : Apache Tomcat/9.0.0.M17
2017-09-03 08:21:19,384 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG - - Servlet API : 4.0
2017-09-03 08:21:19,388 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG - - ContextPath : /woyaofa
2017-09-03 08:21:19,388 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) DEBUG - - context.tempdir : F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\woyaofa
2017-09-03 08:21:19,389 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) DEBUG - - MainModule : com.woyaofa.MainModule
2017-09-03 08:21:19,406 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:238) DEBUG - >> app.root = F:/item/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/woyaofa
2017-09-03 08:21:19,409 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:379) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.woyaofa", "*tx"],init=[])
2017-09-03 08:21:19,453 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-09-03 08:21:19,454 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:48) DEBUG - loading ioc js config from [dao.js]
2017-09-03 08:21:19,463 org.nutz.ioc.loader.json.JsonLoader.<init>(JsonLoader.java:56) DEBUG - Loaded 5 bean define from path=[ioc/] --> [apkUpload, dao, dataSource, tmpFilePool, uploadApkContext]
2017-09-03 08:21:19,491 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 45 resource by src( com/woyaofa/ ) , regex( ^.+[.]class$ )
2017-09-03 08:21:19,601 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.api.PluginDataModule
2017-09-03 08:21:19,619 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.api.PublisherModule
2017-09-03 08:21:19,633 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.channel.ChannelReportModule
2017-09-03 08:21:19,645 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.CommonModule
2017-09-03 08:21:19,652 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.system.AdvertisersModule
2017-09-03 08:21:19,654 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.system.ChannelModule
2017-09-03 08:21:19,657 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.system.PluginModule
2017-09-03 08:21:19,659 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.system.PreinstallModule
2017-09-03 08:21:19,660 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.system.ReportModule
2017-09-03 08:21:19,662 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.system.UserModule
2017-09-03 08:21:19,666 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:74) DEBUG - Found @IocBean : class com.woyaofa.module.UtilModule
2017-09-03 08:21:19,667 org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:50) INFO - Found 11 classes in 1 base-packages!
beans = ["utilModule", "commonModule", "channelModule", "publisherModule", "pluginDataModule", "advertisersModule", "pluginModule", "channelReportModule", "userModule", "reportModule", "preinstallModule"]
2017-09-03 08:21:19,668 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-09-03 08:21:19,675 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:98) INFO - NutIoc init begin ...
2017-09-03 08:21:19,682 org.nutz.ioc.impl.NutIoc.<init>(NutIoc.java:115) INFO - ... NutIoc init complete
2017-09-03 08:21:19,688 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) INFO - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2017-09-03 08:21:19,694 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:369) DEBUG - @Views(DefaultViewMaker.class)
2017-09-03 08:21:19,708 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:266) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2017-09-03 08:21:19,719 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:154) DEBUG - module class location 'file:/F:/item/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/woyaofa/WEB-INF/classes/'
2017-09-03 08:21:19,719 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:184) DEBUG - > scan 'com.woyaofa'
2017-09-03 08:21:19,736 org.nutz.resource.Scans.scan(Scans.java:274) DEBUG - Found 45 resource by src( com/woyaofa/ ) , regex( ^.+[.]class$ )
2017-09-03 08:21:19,757 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.api.PluginDataModule'
2017-09-03 08:21:19,757 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.api.PublisherModule'
2017-09-03 08:21:19,758 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.channel.ChannelReportModule'
2017-09-03 08:21:19,758 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.CommonModule'
2017-09-03 08:21:19,758 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.system.AdvertisersModule'
2017-09-03 08:21:19,758 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.system.ChannelModule'
2017-09-03 08:21:19,759 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.system.PluginModule'
2017-09-03 08:21:19,759 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.system.PreinstallModule'
2017-09-03 08:21:19,759 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.system.ReportModule'
2017-09-03 08:21:19,765 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.system.UserModule'
2017-09-03 08:21:19,766 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:198) DEBUG - >> add 'com.woyaofa.module.UtilModule'
2017-09-03 08:21:19,779 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO - Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2017-09-03 08:21:19,786 org.nutz.mvc.impl.NutActionChainMaker.getProcessorByName(NutActionChainMaker.java:72) INFO - Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2017-09-03 08:21:19,806 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/common/get-username' >> (CommonModule.java:102).getUsername : Result | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,811 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/common/login' >> (CommonModule.java:40).login : Result | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,811 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/common/logout' >> (CommonModule.java:92).logout : Result | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,812 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/common/query-advertisers-name' >> (CommonModule.java:131).queryAdvertisersName : Result | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,814 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/common/list-channel' >> (CommonModule.java:108).listChannel : Result | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,816 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/common/query-channel-name' >> (CommonModule.java:116).queryChannelName : Result | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,817 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/common/list-advertisers' >> (CommonModule.java:123).listAdvertisers : Result | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,818 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/common/query-device-imei' >> (CommonModule.java:138).queryDeviceIMEI : Result | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,836 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/advertisers/update' >> (AdvertisersModule.java:70).update : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,837 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/advertisers/create' >> (AdvertisersModule.java:40).create : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,837 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/advertisers/list' >> (AdvertisersModule.java:93).list : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,838 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/advertisers/create-user' >> (AdvertisersModule.java:121).createUser : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,840 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/advertisers/select' >> (AdvertisersModule.java:63).select : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,841 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/advertisers/select-user' >> (AdvertisersModule.java:140).selectUser : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,842 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/advertisers/update-user' >> (AdvertisersModule.java:152).updateUser : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,849 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/advertisers/list-user' >> (AdvertisersModule.java:172).listUser : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,851 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/channel/user/state' >> (ChannelReportModule.java:246).state : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,853 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/channel/arrive/list' >> (ChannelReportModule.java:105).listArriveDevices : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,854 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/channel/preinstall/list' >> (ChannelReportModule.java:55).listPreinstallDevices : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,863 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO - Init file-pool by: F:/item/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/woyaofa/upload-temp [2000]
2017-09-03 08:21:19,868 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\upload-temp'
2017-09-03 08:21:19,871 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO - file-pool.cursor: 0
2017-09-03 08:21:19,876 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/channel/preinstall/upload-txt' >> (ChannelReportModule.java:253).uploadApk : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,878 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/user/update' >> (UserModule.java:63).update : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,879 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/user/create' >> (UserModule.java:38).create : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,881 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/user/list' >> (UserModule.java:83).list : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,882 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/user/state' >> (UserModule.java:104).state : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,883 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/user/select' >> (UserModule.java:55).select : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,885 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/update' >> (ChannelModule.java:74).update : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,885 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/create' >> (ChannelModule.java:44).create : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,886 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/list' >> (ChannelModule.java:99).list : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,887 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/create-user' >> (ChannelModule.java:127).createUser : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,887 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/select' >> (ChannelModule.java:67).select : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,888 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/select-user' >> (ChannelModule.java:147).selectUser : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,889 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/update-user' >> (ChannelModule.java:159).updateUser : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,890 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/list-user' >> (ChannelModule.java:178).listUser : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,891 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/list-publisher' >> (ChannelModule.java:253).listPublisher : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,892 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/create-publisher' >> (ChannelModule.java:202).createPublisher : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,893 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/list-apk' >> (ChannelModule.java:320).listApk : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,894 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/update-publisher' >> (ChannelModule.java:234).updatePublisher : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,895 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/enable-apk' >> (ChannelModule.java:277).enableApk : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,895 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/system/channel/select-publisher' >> (ChannelModule.java:222).selectPublisher : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,901 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/plugin/list' >> (PluginModule.java:104).list : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,902 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO - Init file-pool by: F:/item/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/woyaofa/upload-temp [2000]
2017-09-03 08:21:19,902 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\upload-temp'
2017-09-03 08:21:19,904 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO - file-pool.cursor: 0
2017-09-03 08:21:19,908 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/plugin/upload-apk' >> (PluginModule.java:46).uploadApk : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,910 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO - Init file-pool by: F:/item/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/woyaofa/upload-temp [2000]
2017-09-03 08:21:19,911 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'F:\item\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\woyaofa\upload-temp'
2017-09-03 08:21:19,917 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO - file-pool.cursor: 0
2017-09-03 08:21:19,918 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/preinstall/upload-apk' >> (PreinstallModule.java:50).uploadApk : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,919 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/preinstall/list-apk' >> (PreinstallModule.java:154).listApk : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,920 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/preinstall/enable-apk' >> (PreinstallModule.java:133).enableApk : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,921 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/util/fetch/device-imei' >> (UtilModule.java:31).fetchDeviceIMEI : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,923 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/api/advert/update-client-info' >> (PluginDataModule.java:44).updateClientInfo : Result | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,927 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/api/list-apk-xml' >> (PublisherModule.java:132).listApkXml : String | @Ok(raw:application/xml) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,928 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/api/import-apk-list-xml' >> (PublisherModule.java:51).importApkListXml : String | @Ok(raw:application/text) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,929 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/report/active/list-devices' >> (ReportModule.java:52).listDevices : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,933 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/report/active/list-device-sum' >> (ReportModule.java:95).listDeviceSum : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,933 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/report/active/list-device-active' >> (ReportModule.java:376).listDeviceActive : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,934 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) DEBUG - '/report/active/list-device-apk' >> (ReportModule.java:238).listDeviceApk : Result | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8)
2017-09-03 08:21:19,935 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:220) INFO - Found 52 module methods
2017-09-03 08:21:19,936 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:334) DEBUG - @Localization not define
2017-09-03 08:21:19,938 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:274) INFO - Setup application...
2017-09-03 08:21:19,949 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dao'<interface org.nutz.dao.Dao>
2017-09-03 08:21:19,953 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-09-03 08:21:19,954 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=dao
2017-09-03 08:21:19,957 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao
2017-09-03 08:21:19,966 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dao) in JsonLoader(paths=[ioc/])
2017-09-03 08:21:19,967 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'dao'<interface org.nutz.dao.Dao>
2017-09-03 08:21:19,995 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.dao.impl.NutDao without AOP
2017-09-03 08:21:19,997 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dao' to [app]
2017-09-03 08:21:20,001 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2017-09-03 08:21:20,002 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:177) DEBUG - >> Load definition name=dataSource
2017-09-03 08:21:20,002 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource
2017-09-03 08:21:20,003 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:169) DEBUG - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
2017-09-03 08:21:20,004 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:209) DEBUG - >> Make...'dataSource'<>
2017-09-03 08:21:20,004 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:70) DEBUG - Load class org.nutz.dao.impl.SimpleDataSource without AOP
2017-09-03 08:21:20,004 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:64) DEBUG - Save object 'dataSource' to [app]
2017-09-03 08:21:20,019 org.nutz.dao.impl.SimpleDataSource.<init>(SimpleDataSource.java:33) WARN - SimpleDataSource is NOT a Connection Pool, So it is slow but safe for debug/study
2017-09-03 08:21:20,023 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dataSource'<>
2017-09-03 08:21:20,040 org.nutz.dao.impl.NutDao.<init>(NutDao.java:108) DEBUG - NutDao[_selfId=0] init ...
2017-09-03 08:21:20,086 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:23) INFO - Init file-pool by: C:\Users\hekui/.nutz/tmp/dao/ [200000]
2017-09-03 08:21:20,087 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:37) DEBUG - file-pool.home: 'C:\Users\hekui\.nutz\tmp\dao'
2017-09-03 08:21:20,087 org.nutz.filepool.NutFilePool.<init>(NutFilePool.java:66) INFO - file-pool.cursor: 0
2017-09-03 08:21:20,102 org.nutz.dao.jdbc.Jdbcs.<clinit>(Jdbcs.java:89) DEBUG - Jdbcs init complete
2017-09-03 08:21:20,102 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:102) INFO - Get Connection from DataSource for JdbcExpert, if you look at here, check your database server and configure
2017-09-03 08:21:20,621 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:84) DEBUG - Remove object 'dao' from [app]
2017-09-03 08:21:20,622 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) ERROR - Error happend during start serivce!
org.nutz.ioc.IocException: [dao] # FAIL to create Ioc Bean name=[dao]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
at com.woyaofa.MainSetup.init(MainSetup.java:40)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:277)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4563)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5205)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.dao.impl.NutDao'
by args: [
@(org.nutz.dao.impl.SimpleDataSource@67adb2eb)] because:
java.sql.SQLException: Unknown system variable 'language'
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
... 21 more
Caused by: java.sql.SQLException: Unknown system variable 'language'
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3847)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2541)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2499)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1432)
at com.mysql.jdbc.ConnectionImpl.loadServerVariables(ConnectionImpl.java:3870)
at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3284)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2293)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2079)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at org.nutz.dao.impl.SimpleDataSource.getConnection(SimpleDataSource.java:42)
at org.nutz.trans.Trans.getConnectionAuto(Trans.java:263)
at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:105)
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:187)
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:178)
at org.nutz.dao.impl.NutDao.<init>(NutDao.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
... 23 more
2017-09-03 08:21:20,626 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127) ERROR - try to depose ioc
2017-09-03 08:21:20,629 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:255) INFO - org.nutz.ioc.impl.NutIoc@1339002348 is closing. startup date [17-09-03 08:21:19.676]
2017-09-03 08:21:20,630 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:113) DEBUG - Depose object 'dataSource' ...
2017-09-03 08:21:20,630 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:262) INFO - org.nutz.ioc.impl.NutIoc@1339002348 is deposed. startup date [17-09-03 08:21:19.676]
九月 03, 2017 8:21:20 上午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter nutz
org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: [dao] # FAIL to create Ioc Bean name=[dao]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:990)
at org.nutz.lang.Lang.wrapThrow(Lang.java:196)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4563)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5205)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1419)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.nutz.ioc.IocException: [dao] # FAIL to create Ioc Bean name=[dao]
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:149)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:210)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:239)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:146)
at com.woyaofa.MainSetup.init(MainSetup.java:40)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:277)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
... 15 more
Caused by: org.nutz.lang.born.BorningException: Fail to born 'org.nutz.dao.impl.NutDao'
by args: [
@(org.nutz.dao.impl.SimpleDataSource@67adb2eb)] because:
java.sql.SQLException: Unknown system variable 'language'
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:67)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:114)
... 21 more
Caused by: java.sql.SQLException: Unknown system variable 'language'
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:998)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3847)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2541)
at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2499)
at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1432)
at com.mysql.jdbc.ConnectionImpl.loadServerVariables(ConnectionImpl.java:3870)
at com.mysql.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:3284)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2293)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2079)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:399)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
at java.sql.DriverManager.getConnection(DriverManager.java:664)
at java.sql.DriverManager.getConnection(DriverManager.java:247)
at org.nutz.dao.impl.SimpleDataSource.getConnection(SimpleDataSource.java:42)
at org.nutz.trans.Trans.getConnectionAuto(Trans.java:263)
at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:105)
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:187)
at org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:178)
at org.nutz.dao.impl.NutDao.<init>(NutDao.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
... 23 more
九月 03, 2017 8:21:20 上午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
九月 03, 2017 8:21:20 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/woyaofa] startup failed due to previous errors
九月 03, 2017 8:21:20 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: The web application [woyaofa] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered.
九月 03, 2017 8:21:20 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
警告: The web application [woyaofa] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:
java.lang.Object.wait(Native Method)
java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:43)
九月 03, 2017 8:21:20 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler [http-nio-8080]
九月 03, 2017 8:21:20 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler [ajp-nio-8009]
九月 03, 2017 8:21:20 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 3299 ms
9 回复
这个吗 var ioc = {
dao : { type : "org.nutz.dao.impl.NutDao",
args : [{refer:"dataSource"}]
},
dataSource : {
type : "org.nutz.dao.impl.SimpleDataSource",
fields : {
jdbcUrl : "jdbc:mysql://localhost:3306/woyaofa?useUnicode=true&characterEncoding=UTF-8",
username : "root",
password : "root"
}
},
tmpFilePool : {
type : 'org.nutz.filepool.NutFilePool',
args : [ "~/upload-temp", 1000 ]
},
uploadApkContext : {
type : 'org.nutz.mvc.upload.UploadingContext',
singleton : false,
args : [ { refer : 'tmpFilePool' } ],
fields : {
ignoreNull : true,
maxFileSize : 1048576,
nameFilter : '^(.+[.])(apk)$'
}
},
apkUpload : {
type : 'org.nutz.mvc.upload.UploadAdaptor',
singleton : false,
args : [ { refer : 'uploadApkContext' } ]
}
}
https://my.oschina.net/baishi/blog/483344 跟这个有点像, 换5.1.40 试试
添加回复
请先登陆