Nov 26, 2015 1:26:27 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 4953 ms
Nov 26, 2015 1:26:28 PM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Catalina
Nov 26, 2015 1:26:28 PM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.65
Nov 26, 2015 1:26:28 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive /apache-tomcat-7.0.65/webapps/move1.war
Nov 26, 2015 1:26:36 PM org.apache.catalina.startup.TldConfig execute
INFO: 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.
2015-11-26 13:26:37.239 WARN [localhost-startStop-1] !!You are using default SystemLog! Don't use it in Production environment!!
2015-11-26 13:26:37.251 INFO [localhost-startStop-1] Nutz is licensed under the Apache License, Version 2.0 .
Report bugs : https://github.com/nutzam/nutz/issues
2015-11-26 13:26:37.281 INFO [localhost-startStop-1] NutFilter[calensoft] starting ...
2015-11-26 13:26:37.935 DEBUG [localhost-startStop-1] Locations for Scans:
[JarResourceLocation [jarPath=/apache-tomcat-7.0.65/bin/bootstrap.jar], FileSystemResourceLocation [root=/apache-tomcat-7.0.65/bin], FileSystemResourceLocation [root=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/classes], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/lib/nutz-1.b.53.jar], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/bin/tomcat-juli.jar]]
2015-11-26 13:26:39.495 DEBUG [localhost-startStop-1] Locations for Scans:
[JarResourceLocation [jarPath=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/lib/quartz-2.2.1.jar], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/bin/bootstrap.jar], FileSystemResourceLocation [root=/apache-tomcat-7.0.65/bin], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/lib/commons-net-3.3.jar], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/lib/druid-1.0.13.jar], FileSystemResourceLocation [root=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/classes], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/lib/mysql-connector-java-5.1.7-bin.jar], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/lib/slf4j-api-1.6.6.jar], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/lib/lombok-1.1.jar], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/webapps/move1/WEB-INF/lib/nutz-1.b.53.jar], JarResourceLocation [jarPath=/apache-tomcat-7.0.65/bin/tomcat-juli.jar]]
2015-11-26 13:26:39.504 DEBUG [localhost-startStop-1] MainModule: <cn.calensoft.MainModule>
2015-11-26 13:26:39.628 DEBUG [localhost-startStop-1] Loading by class org.nutz.mvc.impl.NutLoading
2015-11-26 13:26:39.652 INFO [localhost-startStop-1] Nutz Version : 1.b.53
2015-11-26 13:26:39.653 INFO [localhost-startStop-1] Nutz.Mvc[calensoft] is initializing ...
2015-11-26 13:26:39.663 DEBUG [localhost-startStop-1] Web Container Information:
2015-11-26 13:26:39.775 DEBUG [localhost-startStop-1] - Default Charset : UTF-8
2015-11-26 13:26:39.778 DEBUG [localhost-startStop-1] - Current . path : /apache-tomcat-7.0.65/bin/.
2015-11-26 13:26:39.779 DEBUG [localhost-startStop-1] - Java Version : 1.7.0_03
2015-11-26 13:26:39.783 DEBUG [localhost-startStop-1] - File separator : /
2015-11-26 13:26:39.784 DEBUG [localhost-startStop-1] - Timezone : PRC
2015-11-26 13:26:39.786 DEBUG [localhost-startStop-1] - OS : Linux amd64
2015-11-26 13:26:39.795 DEBUG [localhost-startStop-1] - ServerInfo : Apache Tomcat/7.0.65
2015-11-26 13:26:39.798 DEBUG [localhost-startStop-1] - Servlet API : 3.0
2015-11-26 13:26:39.799 DEBUG [localhost-startStop-1] - ContextPath : /move1
2015-11-26 13:26:39.814 DEBUG [localhost-startStop-1] MainModule: <cn.calensoft.MainModule>
2015-11-26 13:26:39.815 DEBUG [localhost-startStop-1] >> app.root = /apache-tomcat-7.0.65/webapps/move1
2015-11-26 13:26:40.301 DEBUG [localhost-startStop-1] Using 91 castor for Castors
2015-11-26 13:26:40.342 DEBUG [localhost-startStop-1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*org.nutz.ioc.loader.json.JsonLoader", "ioc/", "*org.nutz.ioc.loader.annotation.AnnotationIocLoader", "cn.calensoft"],init=[])
2015-11-26 13:26:40.451 DEBUG [localhost-startStop-1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2015-11-26 13:26:40.452 DEBUG [localhost-startStop-1] loading ioc js config from [dao.js]
2015-11-26 13:26:40.473 DEBUG [localhost-startStop-1] Loaded 3 bean define from path=[ioc/] --> [dataSource, dao, conf]
2015-11-26 13:26:40.565 DEBUG [localhost-startStop-1] Found 33 resource by src( cn/calensoft/ ) , regex( ^.+[.]class$ )
2015-11-26 13:26:40.727 DEBUG [localhost-startStop-1] Found a Class with Ioc-Annotation : class cn.calensoft.service.Move1TaskService
2015-11-26 13:26:40.873 DEBUG [localhost-startStop-1] Found a Class with Ioc-Annotation : class cn.calensoft.service.HeartbeatService
2015-11-26 13:26:40.925 DEBUG [localhost-startStop-1] Found a Class with Ioc-Annotation : class cn.calensoft.service.QuartzService
2015-11-26 13:26:40.949 INFO [localhost-startStop-1] Scan complete ! Found 3 classes in 1 base-packages!
beans = ["quartzService", "move1TaskService", "heartbeatService"]
2015-11-26 13:26:40.972 INFO [localhost-startStop-1] NutIoc init begin ...
2015-11-26 13:26:40.982 INFO [localhost-startStop-1] ... NutIoc init complete
2015-11-26 13:26:40.988 DEBUG [localhost-startStop-1] MainModule: <cn.calensoft.MainModule>
2015-11-26 13:26:41.20 INFO [localhost-startStop-1] Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ...
2015-11-26 13:26:41.33 DEBUG [localhost-startStop-1] @Views(DefaultViewMaker)
2015-11-26 13:26:41.76 DEBUG [localhost-startStop-1] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
2015-11-26 13:26:41.113 DEBUG [localhost-startStop-1] module class location 'file:/apache-tomcat-7.0.65/webapps/move1/WEB-INF/classes/'
2015-11-26 13:26:41.120 DEBUG [localhost-startStop-1] > scan 'cn.calensoft'
2015-11-26 13:26:41.187 DEBUG [localhost-startStop-1] Found 33 resource by src( cn/calensoft/ ) , regex( ^.+[.]class$ )
2015-11-26 13:26:41.223 DEBUG [localhost-startStop-1] >> add 'cn.calensoft.service.Move1TaskService'
2015-11-26 13:26:41.288 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.integration.shiro.NutShiroProcessor
2015-11-26 13:26:41.327 INFO [localhost-startStop-1] Optional processor class not found, disabled : org.nutz.plugins.validation.ValidationProcessor
2015-11-26 13:26:41.379 DEBUG [localhost-startStop-1] '/move' >> Move1TaskService.move(...) : void | @Ok(json:full) @Fail(json:full) | by 0 Filters | (I:UTF-8/O:UTF-8)
2015-11-26 13:26:41.384 INFO [localhost-startStop-1] Found 1 module methods
2015-11-26 13:26:41.390 DEBUG [localhost-startStop-1] @Localization not define
2015-11-26 13:26:41.395 INFO [localhost-startStop-1] Setup application...
2015-11-26 13:26:41.401 DEBUG [localhost-startStop-1] Get 'quartzService'<class cn.calensoft.service.QuartzService>
2015-11-26 13:26:41.407 DEBUG [localhost-startStop-1] >> Load definition
2015-11-26 13:26:41.421 DEBUG [localhost-startStop-1] Found IocObject(quartzService) in IocLoader(AnnotationIocLoader@932113858)
2015-11-26 13:26:41.426 DEBUG [localhost-startStop-1] >> Make...'quartzService'<class cn.calensoft.service.QuartzService>
2015-11-26 13:26:41.439 DEBUG [localhost-startStop-1] class cn.calensoft.service.QuartzService without AOP
2015-11-26 13:26:41.447 DEBUG [localhost-startStop-1] Save object 'quartzService' to [app]
2015-11-26 13:26:41.456 DEBUG [localhost-startStop-1] Get TypeParams for self : cn.calensoft.bean.QuartzTask
2015-11-26 13:26:41.494 DEBUG [localhost-startStop-1] Get 'dao'<>
2015-11-26 13:26:41.501 DEBUG [localhost-startStop-1] >> Load definition
2015-11-26 13:26:41.503 DEBUG [localhost-startStop-1] Loading define for name=dao
2015-11-26 13:26:41.516 DEBUG [localhost-startStop-1] Found IocObject(dao) in IocLoader(JsonLoader@851187397)
2015-11-26 13:26:41.526 DEBUG [localhost-startStop-1] >> Make...'dao'<>
2015-11-26 13:26:41.595 DEBUG [localhost-startStop-1] class org.nutz.dao.impl.NutDao without AOP
2015-11-26 13:26:41.597 DEBUG [localhost-startStop-1] Save object 'dao' to [app]
2015-11-26 13:26:41.598 DEBUG [localhost-startStop-1] Get 'dataSource'<>
2015-11-26 13:26:41.602 DEBUG [localhost-startStop-1] >> Load definition
2015-11-26 13:26:41.609 DEBUG [localhost-startStop-1] Loading define for name=dataSource
2015-11-26 13:26:41.658 DEBUG [localhost-startStop-1] Found IocObject(dataSource) in IocLoader(JsonLoader@851187397)
2015-11-26 13:26:41.664 DEBUG [localhost-startStop-1] >> Make...'dataSource'<>
2015-11-26 13:26:41.796 DEBUG [localhost-startStop-1] class com.alibaba.druid.pool.DruidDataSource without AOP
2015-11-26 13:26:41.799 DEBUG [localhost-startStop-1] Save object 'dataSource' to [app]
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
2015-11-26 13:26:41.950 DEBUG [localhost-startStop-1] Get 'conf'<>
2015-11-26 13:26:41.956 DEBUG [localhost-startStop-1] >> Load definition
2015-11-26 13:26:41.956 DEBUG [localhost-startStop-1] Loading define for name=conf
2015-11-26 13:26:41.963 DEBUG [localhost-startStop-1] Found IocObject(conf) in IocLoader(JsonLoader@851187397)
2015-11-26 13:26:41.967 DEBUG [localhost-startStop-1] >> Make...'conf'<>
2015-11-26 13:26:41.972 DEBUG [localhost-startStop-1] class org.nutz.ioc.impl.PropertiesProxy without AOP
2015-11-26 13:26:41.973 DEBUG [localhost-startStop-1] Save object 'conf' to [app]
问答
在Linux下启动Tomcat一直卡在 Save object 'conf' to [app]
标签:
ioc
7 回复
@wendal 没有放在ioc配置的那个包 我是放在源代码根目录下的
我是说ioc里面conf那个bean的配置信息贴出来, 例如nutz,cn写的是
conf : {
type : "org.nutz.ioc.impl.PropertiesProxy",
fields : {
paths : ["custom/"]
}
},
@wendal
我是有一个 配置文件叫 conf 应该和这个没关系
@wendal 好啦~ 谢谢兽~~~~~
添加回复
请先登陆