报错信息:
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server.服务器版本: Apache Tomcat/9.0.19
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server.构建: Apr 12 2019 14:22:48 UTC
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version number: 9.0.19.0
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 10
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS.版本: 10.0
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: 结.造: amd64
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java 环境变量: D:\Program Files\Java\jdk-12.0.1
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM 版本: 12.0.1+12
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM.供应商: Oracle Corporation
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: E:\zb.metadata.plugins\org.eclipse.wst.server.core\tmp0
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: E:\zb\apache-tomcat-9.0.19
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=E:\zb.metadata.plugins\org.eclipse.wst.server.core\tmp0
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=E:\zb\apache-tomcat-9.0.19
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=E:\zb.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=GBK
4月 04, 2020 5:05:27 下午 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: [D:\Program Files\Java\jdk-12.0.1\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;D:/Program Files/Java/jdk-12.0.1/bin/server;D:/Program Files/Java/jdk-12.0.1/bin;D:\Program Files\Java\jdk-12.0.1\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Users\Administrator.DESKTOP-5I24THG\AppData\Local\Microsoft\WindowsApps;;C:\Users\Administrator.DESKTOP-5I24THG\Desktop;;.]
4月 04, 2020 5:05:27 下午 org.apache.coyote.AbstractProtocol init
信息: 初始化协议处理器 ["http-nio-8080"]
4月 04, 2020 5:05:27 下午 org.apache.coyote.AbstractProtocol init
信息: 初始化协议处理器 ["ajp-nio-8009"]
4月 04, 2020 5:05:27 下午 org.apache.catalina.startup.Catalina load
信息: 服务器在[522]毫秒内初始化
4月 04, 2020 5:05:27 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service [Catalina]
4月 04, 2020 5:05:27 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet engine: [Apache Tomcat/9.0.19]
4月 04, 2020 5:05:29 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。
[INFO ] 17:05:29.194 org.nutz.mvc.NutFilter._init(NutFilter.java:85) - NutFilter[nutz] starting ...
[DEBUG] 17:05:29.210 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=4 time use 4ms
[DEBUG] 17:05:29.224 org.nutz.resource.Scans.printLocations(Scans.java:527) - Locations count=24 time use 14ms
[DEBUG] 17:05:29.235 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:62) - Loading by class org.nutz.mvc.impl.NutLoading
[INFO ] 17:05:29.237 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) - Nutz Version : 1.r.68.v20190220
[INFO ] 17:05:29.239 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) - Nutz.Mvc[nutz] is initializing ...
[DEBUG] 17:05:29.239 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) - Web Container Information:
[DEBUG] 17:05:29.244 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) - - Default Charset : GBK
[DEBUG] 17:05:29.244 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) - - Current . path : C:\Users\Administrator.DESKTOP-5I24THG\Desktop.
[DEBUG] 17:05:29.244 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) - - Java Version : 12.0.1
[DEBUG] 17:05:29.244 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) - - File separator : \
[DEBUG] 17:05:29.244 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) - - Timezone : Asia/Shanghai
[DEBUG] 17:05:29.245 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) - - OS : Windows 10 amd64
[DEBUG] 17:05:29.245 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) - - ServerInfo : Apache Tomcat/9.0.19
[DEBUG] 17:05:29.245 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) - - Servlet API : 4.0
[DEBUG] 17:05:29.245 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) - - ContextPath : /my
[DEBUG] 17:05:29.246 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:74) - - context.tempdir : E:\zb.metadata.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\my
[DEBUG] 17:05:29.246 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:75) - - MainModule : com.zb.module.MainModule
[DEBUG] 17:05:29.248 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:239) - >> app.root = E:/zb/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/reports_sys
[DEBUG] 17:05:29.302 org.nutz.castor.Castors.reload(Castors.java:116) - Using 107 castor for Castors
[DEBUG] 17:05:29.303 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:379) - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com.zb", "*tx", "*async", "*quartz"],init=[])
[DEBUG] 17:05:29.322 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 17:05:29.323 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:49) - loading [dao.js]
[DEBUG] 17:05:29.325 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:57) - Loaded 3 bean define from path=[ioc/] --> [conf, dao, dataSource]
[INFO ] 17:05:29.326 org.nutz.ioc.loader.annotation.AnnotationIocLoader.(AnnotationIocLoader.java:51) - > scan 'com.zb'
[DEBUG] 17:05:29.334 org.nutz.resource.Scans.scan(Scans.java:280) - Found 24 resource by src( com/zb/ ) , regex( ^.+[.]class$ )
[INFO ] 17:05:29.366 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'order_zxy ' - com.zb.bean.order_zxy
[INFO ] 17:05:29.374 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'photodownloadJob ' - com.zb.job.photodownloadJob
[INFO ] 17:05:29.377 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'wordMakerJob ' - com.zb.job.wordMakerJob
[INFO ] 17:05:29.381 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'orderModule ' - com.zb.module.OrderModule
[INFO ] 17:05:29.385 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'userModule ' - com.zb.module.UserModule
[INFO ] 17:05:29.386 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'wordMaker ' - com.zb.poi.WordMaker
[INFO ] 17:05:29.390 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'wordUtils ' - com.zb.poi.WordUtils
[INFO ] 17:05:29.391 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'downLoadDataFromZxy ' - com.zb.service.DownLoadDataFromZxy
[INFO ] 17:05:29.392 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'orderService ' - com.zb.service.OrderService
[INFO ] 17:05:29.399 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'doRequest ' - com.zb.until.doRequest
[INFO ] 17:05:29.404 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:99) - > add 'doRequestByNutz ' - com.zb.until.doRequestByNutz
[DEBUG] 17:05:29.408 org.nutz.ioc.aop.SimpleAopMaker.(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
[DEBUG] 17:05:29.413 org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:116) - found quartz -- org.nutz.integration.quartz.QuartzIocLoader
[DEBUG] 17:05:29.413 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:57) - Loaded 0 bean define from path=[] --> []
[INFO ] 17:05:29.419 org.nutz.ioc.impl.NutIoc.(NutIoc.java:130) - ... NutIoc init complete
[INFO ] 17:05:29.422 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:159) - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
[DEBUG] 17:05:29.424 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:369) - @Views(DefaultViewMaker.class)
[DEBUG] 17:05:29.431 org.nutz.resource.Scans.scan(Scans.java:280) - Found 1 resource by src( mvc/nutzbook-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
[DEBUG] 17:05:29.434 org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion.(JsonActionChainMakerConfiguretion.java:37) - ActionChain Config:
{
"default": {
"ps": ["com.zb.mvc.LogTimeProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "org.nutz.mvc.impl.processor.ActionFiltersProcessor", "org.nutz.mvc.impl.processor.AdaptorProcessor", "org.nutz.mvc.impl.processor.MethodInvokeProcessor", "org.nutz.mvc.impl.processor.ViewProcessor"],
"error": "org.nutz.mvc.impl.processor.FailProcessor"
}
}
[DEBUG] 17:05:29.434 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:267) - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
[DEBUG] 17:05:29.439 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:155) - module class location 'file:/E:/zb/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/reports_sys/WEB-INF/classes/'
[DEBUG] 17:05:29.440 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:185) - > scan 'com.zb.module'
[DEBUG] 17:05:29.442 org.nutz.resource.Scans.scan(Scans.java:280) - Found 4 resource by src( com/zb/module/ ) , regex( ^.+[.]class$ )
[DEBUG] 17:05:29.445 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:204) - >> add 'com.zb.module.OrderModule'
[DEBUG] 17:05:29.445 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:204) - >> add 'com.zb.module.UserModule'
[DEBUG] 17:05:29.445 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:196) - Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
[DEBUG] 17:05:29.471 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/add' >> (OrderModule.java:69).add : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.473 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/getrlocationsfromzxy' >> (OrderModule.java:265).getRlocationsfromzxy : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.473 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/getrlocations' >> (OrderModule.java:118).getRlocations : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.474 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/downloadphoto' >> (OrderModule.java:276).downLoadPhoto : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.474 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/getorder' >> (OrderModule.java:106).getOrder : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.475 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/checkorderrid' >> (OrderModule.java:94).CheckOrderRid : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.475 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/updatetozxy' >> (OrderModule.java:130).updatetozxy : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.476 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/downloaddata' >> (OrderModule.java:195).downloaddata : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.477 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/wordmake' >> (OrderModule.java:321).wordmake : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.477 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/order/getorderfromzxy' >> (OrderModule.java:254).getOrderfromzxy : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.479 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/user/count' >> (UserModule.java:30).count : int | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[DEBUG] 17:05:29.480 org.nutz.mvc.impl.UrlMappingImpl.print(UrlMappingImpl.java:146) - '/user/login' >> (UserModule.java:37).login : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
[INFO ] 17:05:29.480 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:221) - Found 12 module methods
[DEBUG] 17:05:29.481 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:335) - @Localization not define
[INFO ] 17:05:29.482 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:275) - Setup application...
[DEBUG] 17:05:29.482 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dao'<interface org.nutz.dao.Dao>
[DEBUG] 17:05:29.482 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
[DEBUG] 17:05:29.483 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=$aop_async
[DEBUG] 17:05:29.485 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject($aop_async) in AsyncAopIocLoader@1694580081
[DEBUG] 17:05:29.486 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.nutz.lang.reflect.ReflectTool$1 (file:/E:/zb/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/reports_sys/WEB-INF/lib/nutz-1.r.68.v20190220.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.nutz.lang.reflect.ReflectTool$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[DEBUG] 17:05:29.504 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object '$aop_async' to [app]
[DEBUG] 17:05:29.532 org.nutz.ioc.aop.SimpleAopMaker.(SimpleAopMaker.java:79) - Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
[DEBUG] 17:05:29.533 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=dao
[DEBUG] 17:05:29.533 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(dao) in JsonLoader(paths=[ioc/])
[DEBUG] 17:05:29.533 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'dao'<interface org.nutz.dao.Dao>
[DEBUG] 17:05:29.533 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'dao' to [app]
[DEBUG] 17:05:29.534 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dataSource'<>
[DEBUG] 17:05:29.534 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=dataSource
[DEBUG] 17:05:29.535 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(dataSource) in JsonLoader(paths=[ioc/])
[DEBUG] 17:05:29.535 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'dataSource'<>
[DEBUG] 17:05:29.535 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'dataSource' to [app]
[DEBUG] 17:05:29.550 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class com.alibaba.druid.pool.DruidDataSource without AOP
[DEBUG] 17:05:29.551 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'conf'<>
[DEBUG] 17:05:29.551 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:192) - >> Load definition name=conf
[DEBUG] 17:05:29.551 org.nutz.ioc.loader.combo.ComboIocLoader.printFoundIocBean(ComboIocLoader.java:226) - Found IocObject(conf) in JsonLoader(paths=[ioc/])
[DEBUG] 17:05:29.551 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:223) - >> Make...'conf'<>
[DEBUG] 17:05:29.551 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:65) - Save object 'conf' to [app]
[DEBUG] 17:05:29.552 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.ioc.impl.PropertiesProxy without AOP
[DEBUG] 17:05:29.555 org.nutz.resource.Scans.scan(Scans.java:280) - Found 3 resource by src( custom/ ) , regex( ^.+[.]properties$ )
[DEBUG] 17:05:29.556 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:106) - load properties from File[E:\zb.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\reports_sys\WEB-INF\classes\custom\cron.properties]
[DEBUG] 17:05:29.556 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:106) - load properties from File[E:\zb.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\reports_sys\WEB-INF\classes\custom\db.properties]
[DEBUG] 17:05:29.557 org.nutz.ioc.impl.PropertiesProxy.setPaths(PropertiesProxy.java:106) - load properties from File[E:\zb.metadata.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\reports_sys\WEB-INF\classes\custom\zxy.properties]
[INFO ] 17:05:29.814 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:932) - {dataSource-1} inited
[DEBUG] 17:05:29.824 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:76) - Load class org.nutz.dao.impl.NutDao without AOP
[DEBUG] 17:05:29.825 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) - Get 'dataSource'<>
[DEBUG] 17:05:29.855 org.nutz.dao.jdbc.Jdbcs.(Jdbcs.java:93) - Jdbcs init complete
[INFO ] 17:05:29.855 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:106) - Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
[ERROR] 17:05:29.863 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:29.865 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:30.365 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:30.865 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:31.365 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:31.865 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:32.365 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:32.866 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:33.367 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:33.867 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:34.368 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[WARN ] 17:05:34.859 com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1246) - get connection timeout retry : 1
[ERROR] 17:05:34.868 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:35.368 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:35.869 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:36.370 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:36.870 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:37.370 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:37.870 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:38.371 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:38.871 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:39.372 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[DEBUG] 17:05:39.860 org.nutz.ioc.impl.ScopeContext.remove(ScopeContext.java:85) - Remove object 'dao' from [app]
[ERROR] 17:05:39.860 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:125) - Error happend during start serivce!
org.nutz.ioc.IocException: IocBean[dao] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161)
at com.zb.module.MainSetup.init(MainSetup.java:26)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:278)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:102)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4530)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5176)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.dao.impl.NutDao'
by args: [@({
CreateTime:"2020-04-04 17:05:29",
ActiveCount:0,
PoolingCount:0,
CreateCount:21,
DestroyCount:0,
CloseCount:0,
ConnectCount:2,
Connections:[
]
})]
because:com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 5000, active 0, maxActive 100, creating 0
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:21)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
... 42 more
Caused by: com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 5000, active 0, maxActive 100, creating 0
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1420)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1241)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1221)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1211)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:105)
at org.nutz.trans.Trans.getConnectionAuto(Trans.java:263)
at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:109)
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.(NutDao.java:108)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:27)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
... 44 more
Caused by: java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[ERROR] 17:05:39.861 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:127) - try to depose ioc
[INFO ] 17:05:39.863 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:287) - org.nutz.ioc.impl.NutIoc@1954139639 is closing. startup date [20-04-04 17:05:29.416]
[DEBUG] 17:05:39.864 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object 'conf' ...
[DEBUG] 17:05:39.864 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:109) - Depose object '$aop_async' ...
[ERROR] 17:05:39.872 com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2336) - create connection SQLException, url: "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", errorCode 0, state null
java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
[DEBUG] 17:05:39.872 org.nutz.ioc.impl.ScopeContext.clear(ScopeContext.java:114) - Depose object 'dataSource' ...
[INFO ] 17:05:39.874 com.alibaba.druid.pool.DruidDataSource.close(DruidDataSource.java:1712) - {dataSource-1} closed
[INFO ] 17:05:39.874 org.nutz.ioc.impl.NutIoc.depose(NutIoc.java:301) - org.nutz.ioc.impl.NutIoc@1954139639 is deposed. startup date [20-04-04 17:05:29.416]
4月 04, 2020 5:05:39 下午 org.apache.catalina.core.StandardContext filterStart
严重: 启动过滤器异常
org.nutz.mvc.LoadingException: org.nutz.ioc.IocException: IocBean[dao] throw Exception when creating
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:27)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:1022)
at org.nutz.lang.Lang.wrapThrow(Lang.java:203)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:91)
at org.nutz.mvc.NutFilter.init(NutFilter.java:69)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:102)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4530)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5176)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:831)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902)
at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardService.startInternal(StandardService.java:423)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
at org.apache.catalina.startup.Catalina.start(Catalina.java:633)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:567)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.nutz.ioc.IocException: IocBean[dao] throw Exception when creating
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:152)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:241)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:271)
at org.nutz.ioc.impl.NutIoc.get(NutIoc.java:161)
at com.zb.module.MainSetup.init(MainSetup.java:26)
at org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:278)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:121)
... 36 more
Caused by: org.nutz.lang.born.BorningException: Fail to born or cast to 'org.nutz.dao.impl.NutDao'
by args: [@({
CreateTime:"2020-04-04 17:05:29",
ActiveCount:0,
PoolingCount:0,
CreateCount:21,
DestroyCount:0,
CloseCount:0,
ConnectCount:2,
Connections:[
]
})]
because:com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 5000, active 0, maxActive 100, creating 0
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:21)
at org.nutz.ioc.weaver.DefaultWeaver.born(DefaultWeaver.java:78)
at org.nutz.ioc.impl.ObjectMakerImpl.make(ObjectMakerImpl.java:117)
... 42 more
Caused by: com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 5000, active 0, maxActive 100, creating 0
at com.alibaba.druid.pool.DruidDataSource.getConnectionInternal(DruidDataSource.java:1420)
at com.alibaba.druid.pool.DruidDataSource.getConnectionDirect(DruidDataSource.java:1241)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1221)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:1211)
at com.alibaba.druid.pool.DruidDataSource.getConnection(DruidDataSource.java:105)
at org.nutz.trans.Trans.getConnectionAuto(Trans.java:263)
at org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:109)
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.(NutDao.java:108)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.nutz.lang.born.AbstractConstructorBorning.call(AbstractConstructorBorning.java:27)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:19)
... 44 more
Caused by: java.sql.SQLException: connect error, url "jdbc:sqlserver://148.70.187.39:2433;databaseName=kmadv_v9_reportsys", driverClass com.microsoft.sqlserver.jdbc.SQLServerDriver
at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1537)
at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2333)
4月 04, 2020 5:05:39 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
4月 04, 2020 5:05:39 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/my] startup failed due to previous errors
4月 04, 2020 5:05:39 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: Web应用程序 [my] 注册了JDBC驱动程序 [com.alibaba.druid.proxy.DruidDriver],但在Web应用程序停止时无法注销它。 为防止内存泄漏,JDBC驱动程序已被强制取消注册。
4月 04, 2020 5:05:39 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesJdbc
警告: Web应用程序 [my] 注册了JDBC驱动程序 [com.microsoft.sqlserver.jdbc.SQLServerDriver],但在Web应用程序停止时无法注销它。 为防止内存泄漏,JDBC驱动程序已被强制取消注册。
4月 04, 2020 5:05:39 下午 org.apache.coyote.AbstractProtocol start
信息: 开始协议处理句柄["http-nio-8080"]
4月 04, 2020 5:05:39 下午 org.apache.coyote.AbstractProtocol start
信息: 开始协议处理句柄["ajp-nio-8009"]
4月 04, 2020 5:05:39 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in [12,108] milliseconds
数据库配置:
SqlServer
db.url="jdbc:sqlserver://xx.xx.xx.xx:2433;databaseName=xxxxxx"
db.username=sa
db.password=xxxxxxx
db.driverClassName=com.microsoft.sqlserver.jdbc.SQLServerDriver
db.validationQuery=select 1
db.maxActive=100
db.maxWait=5000
daojs配置:
var ioc = {
conf : {
type : "org.nutz.ioc.impl.PropertiesProxy",
fields : {
paths : ["custom/"]
}
},
dataSource : {
factory : "$conf#make",
args : ["com.alibaba.druid.pool.DruidDataSource", "db."],
type : "com.alibaba.druid.pool.DruidDataSource",
events : {
create : "init",
depose : 'close'
}
},
dao : {
type : "org.nutz.dao.impl.NutDao",
args : [{refer:"dataSource"}]
}
};
这是啥原因啊?本机配置了一个ODBC是可以访问的,测试成功了,求大神解答