Wizzercn / NutzWk

WK系列开发框架-V1至V5 Java开源企业级开发框架(单应用/微服务/分布式)
https://budwk.com
Apache License 2.0
1.62k stars 637 forks source link

一些小建议 #5

Closed zzvv closed 9 years ago

zzvv commented 9 years ago

1、pom中建议集成进tomcat,jetty,方便通过命令行启动运行项目 2、可以在maven中加入关于创建本地DB库的jar包,然后增加个脚本文件,自动部署数据库至本地环境

最后大吼一句,尼玛。第一眼看到演示地址,就大爱。

zzvv commented 9 years ago

额,失误~ 习惯性把 jetty 等运行插件放置底部,回头看,发现原来集成有。

Wizzercn commented 9 years ago

使用说明:

zzvv commented 9 years ago

Idea下配置jetty运行,尝试多次,都卡在nutzfw.sys_config表无法创建

错误信息提示数据库表结构已存在。 2015-07-26 10:31:53,384 org.nutz.dao.impl.sql.run.NutDaoExecutor.exec(NutDaoExecutor.java:90) DEBUG - SQLException com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'nutzfw.sys_config' doesn't exist at sun.reflect.GeneratedConstructorAccessor752.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:389)

不知能否发下sql脚本?

On Jul 26, 2015, at 10:06 AM, Wizzer notifications@github.com wrote:

使用说明: 创建空的数据库 修改数据库连接 /resources/config/custom/db.properties 项目使用Maven构建,IDEA/Eclipse直接打开,等待包下载完毕 nutz-1.b.53.jar 暂未正式发布,请将/lib下此包手动加到编译环境* cn.wizzer.modules.MainSetup 第45行(启动时自动建表) 用户名:superadmin 密码:1

— Reply to this email directly or view it on GitHub .

wendal commented 9 years ago

完整日志

zzvv commented 9 years ago

请查收附件,谢谢。

Sent with Unibox

On Jul 26, 2015, at 10:49 AM, Wendal Chen notifications@github.com wrote:

完整日志 — Reply to this email directly or view it on GitHub .

/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:51381,suspend=y,server=n -Drebel.env.ide.plugin.version=6.0.2-idea-13-14 -Drebel.env.ide.version=14.1.4 -Drebel.env.ide.product=IU -Drebel.env.ide=intellij -Drebel.notification.url=http://localhost:50642 -agentpath:/var/folders/9g/4sbmsqz54g73ygh2mc080w680000gn/T/jrebel6-temp/lib/libjrebel64.dylib -DSTOP.PORT=0 -Dcom.sun.management.jmxremote= -Dcom.sun.management.jmxremote.port=1099 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -DOPTIONS=jmx -Dfile.encoding=GB2312 -classpath "/Users/tory/Documents/jetty-9.2.10/start.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/lib/tools.jar:/Applications/IntelliJ IDEA 14.app/Contents/lib/idea_rt.jar" org.eclipse.jetty.start.Main --module=jmx /private/var/folders/9g/4sbmsqz54g73ygh2mc080w680000gn/T/context4config/jetty-contexts.xml Detected server http port: 8080 Connected to the target VM, address: '127.0.0.1:51381', transport: 'socket' [2015-07-26 10:31:30,692] Artifact nutzfw:war exploded: Server is not connected. Deploy is not available. JRebel: Starting logging to file: /Users/tory/.jrebel/jrebel.log 2015-07-26 10:31:31 JRebel:
2015-07-26 10:31:31 JRebel: ############################################################# 2015-07-26 10:31:31 JRebel:
2015-07-26 10:31:31 JRebel: JRebel Agent 6.0.2 (201412191331) 2015-07-26 10:31:31 JRebel: (c) Copyright ZeroTurnaround AS, Estonia, Tartu. 2015-07-26 10:31:31 JRebel:
2015-07-26 10:31:31 JRebel: Over the last 5 days JRebel prevented 2015-07-26 10:31:31 JRebel: at least 16 redeploys/restarts saving you about 0.4 hours. 2015-07-26 10:31:31 JRebel:
2015-07-26 10:31:31 JRebel: Licensed to anonymous-user 2015-07-26 10:31:31 JRebel: with the following restrictions: 2015-07-26 10:31:31 JRebel: ####### Cracked by anonymous-user, For FUN! Unlimited! Enjoy! ###### 2015-07-26 10:31:31 JRebel:
2015-07-26 10:31:31 JRebel: License type: perpetual 2015-07-26 10:31:31 JRebel:
2015-07-26 10:31:31 JRebel:
2015-07-26 10:31:31 JRebel: ############################################################# 2015-07-26 10:31:31 JRebel:
2015-07-26 10:31:34.032:INFO::main: Logging initialized @3620ms 2015-07-26 10:31:34.231:WARN:oejs.HomeBaseWarning:main: This instance of Jetty is not running from a separate {jetty.base} directory, this is not recommended. See documentation at http://www.eclipse.org/jetty/documentation/current/startup.html 2015-07-26 10:31:35.164:INFO:oejs.Server:main: jetty-9.2.10.v20150310 2015-07-26 10:31:35.231:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:/Users/tory/Documents/jetty-9.2.10/webapps/] at interval 1 2015-07-26 10:31:35.235:INFO:oejdp.ScanningAppProvider:main: Deployment monitor [file:/private/var/folders/9g/4sbmsqz54g73ygh2mc080w680000gn/T/context4deploy/] at interval 1 2015-07-26 10:31:35.319:INFO:oejs.ServerConnector:main: Started ServerConnector@60e07188{HTTP/1.1}{0.0.0.0:8080} 2015-07-26 10:31:35.320:INFO:oejs.Server:main: Started @4908ms STOP.PORT=51395 STOP.KEY=ev1v8wkdx728 Connected to server [2015-07-26 10:31:36,357] Artifact nutzfw:war exploded: Artifact is being deployed, please wait... 2015-07-26 10:31:43 JRebel-Log4j: Monitoring Log4j configuration in 'file:/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/classes/log4j.properties'. 2015-07-26 10:31:44.368:INFO:/nutzfw:Scanner-1: Initializing Shiro environment 2015-07-26 10:31:44,369 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:128) INFO - Starting Shiro environment initialization. 2015-07-26 10:31:44,425 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:76) DEBUG - Checking any specified config locations. 2015-07-26 10:31:44,425 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:81) DEBUG - No INI instance or config locations specified. Trying default config locations. 2015-07-26 10:31:44,437 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [shiro.ini] 2015-07-26 10:31:44,456 org.apache.shiro.config.Ini.load(Ini.java:342) DEBUG - Parsing [main] 2015-07-26 10:31:44,465 org.apache.shiro.config.Ini.load(Ini.java:342) DEBUG - Parsing [urls] 2015-07-26 10:31:44,467 org.apache.shiro.web.env.IniWebEnvironment.getDefaultIni(IniWebEnvironment.java:136) DEBUG - Discovered non-empty INI configuration at location 'classpath:shiro.ini'. Using for configuration. 2015-07-26 10:31:44,544 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=main,urls] ALL Nutz Log via Log4jLogAdapter 2015-07-26 10:31:45,202 org.nutz.log.Logs.(Logs.java:20) INFO - Nutz is licensed under the Apache License, Version 2.0 . Report bugs : https://github.com/nutzam/nutz/issues 2015-07-26 10:31:45,246 org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:138) INFO - An instance with name 'authc' already exists. Redefining this object as a new instance of type cn.wizzer.common.mvc.filter.CaptchaFormAuthenticationFilter 2015-07-26 10:31:45,571 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$sha256Matcher'. Looking up object with id 'sha256Matcher' 2015-07-26 10:31:45,612 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$shiroDbRealm'. Looking up object with id 'shiroDbRealm' 2015-07-26 10:31:45,613 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$nutzAuthoRealm'. Looking up object with id 'nutzAuthoRealm' 2015-07-26 10:31:45,623 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$authcStrategy'. Looking up object with id 'authcStrategy' 2015-07-26 10:31:45,640 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$cacheManager'. Looking up object with id 'cacheManager' 2015-07-26 10:31:45,642 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234) DEBUG - No authorizationCache instance set. Checking for a cacheManager... 2015-07-26 10:31:45,643 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:242) DEBUG - CacheManager [org.apache.shiro.cache.ehcache.EhCacheManager@2f39fb7f] has been configured. Building authorization cache named [shiroDbRealm.authorizationCache] 2015-07-26 10:31:45,643 org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:206) DEBUG - cacheManager property not set. Constructing CacheManager instance... 2015-07-26 10:31:45,681 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [ehcache.xml] 2015-07-26 10:31:45,691 net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:150) DEBUG - Configuring ehcache from InputStream 2015-07-26 10:31:45,731 net.sf.ehcache.config.BeanHandler.setAttribute(BeanHandler.java:271) DEBUG - Ignoring ehcache attribute xmlns:xsi 2015-07-26 10:31:45,732 net.sf.ehcache.config.BeanHandler.setAttribute(BeanHandler.java:271) DEBUG - Ignoring ehcache attribute xsi:noNamespaceSchemaLocation 2015-07-26 10:31:45,761 net.sf.ehcache.config.DiskStoreConfiguration.translatePath(DiskStoreConfiguration.java:141) DEBUG - Disk Store Path: /var/folders/9g/4sbmsqz54g73ygh2mc080w680000gn/T/nutzfw 2015-07-26 10:31:45,868 net.sf.ehcache.util.PropertyUtil.parseProperties(PropertyUtil.java:87) DEBUG - propertiesString is null. 2015-07-26 10:31:45,905 net.sf.ehcache.config.ConfigurationHelper.createCacheManagerEventListener(ConfigurationHelper.java:189) DEBUG - No CacheManagerEventListenerFactory class specified. Skipping... 2015-07-26 10:31:46,473 net.sf.ehcache.Cache.createBootstrapCacheLoader(Cache.java:1044) DEBUG - No BootstrapCacheLoaderFactory class specified. Skipping... 2015-07-26 10:31:46,474 net.sf.ehcache.Cache.createCacheWriter(Cache.java:1017) DEBUG - CacheWriter factory not configured. Skipping... 2015-07-26 10:31:46,474 net.sf.ehcache.config.ConfigurationHelper.createCacheExceptionHandler(ConfigurationHelper.java:100) DEBUG - No CacheExceptionHandlerFactory class specified. Skipping... 2015-07-26 10:31:46,485 org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:219) DEBUG - implicit cacheManager created successfully. 2015-07-26 10:31:46,485 org.apache.shiro.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:159) INFO - Cache with name 'shiroDbRealm.authorizationCache' does not yet exist. Creating now. 2015-07-26 10:31:46,534 net.sf.ehcache.store.MemoryStore.(MemoryStore.java:178) DEBUG - Initialized net.sf.ehcache.store.MemoryStore for shiroDbRealm.authorizationCache 2015-07-26 10:31:46,768 net.sf.ehcache.Cache.initialise(Cache.java:1262) DEBUG - Initialised cache: shiroDbRealm.authorizationCache 2015-07-26 10:31:46,769 net.sf.ehcache.config.ConfigurationHelper.createDefaultCacheDecorators(ConfigurationHelper.java:364) DEBUG - CacheDecoratorFactory not configured for defaultCache. Skipping for 'shiroDbRealm.authorizationCache'. 2015-07-26 10:31:46,770 org.apache.shiro.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:166) INFO - Added EhCache named [shiroDbRealm.authorizationCache] 2015-07-26 10:31:46,774 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234) DEBUG - No authorizationCache instance set. Checking for a cacheManager... 2015-07-26 10:31:46,774 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:242) DEBUG - CacheManager [org.apache.shiro.cache.ehcache.EhCacheManager@2f39fb7f] has been configured. Building authorization cache named [nutzAuthoRealm.authorizationCache] 2015-07-26 10:31:46,775 org.apache.shiro.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:159) INFO - Cache with name 'nutzAuthoRealm.authorizationCache' does not yet exist. Creating now. 2015-07-26 10:31:46,811 net.sf.ehcache.store.MemoryStore.(MemoryStore.java:178) DEBUG - Initialized net.sf.ehcache.store.MemoryStore for nutzAuthoRealm.authorizationCache 2015-07-26 10:31:46,887 net.sf.ehcache.Cache.initialise(Cache.java:1262) DEBUG - Initialised cache: nutzAuthoRealm.authorizationCache 2015-07-26 10:31:46,887 net.sf.ehcache.config.ConfigurationHelper.createDefaultCacheDecorators(ConfigurationHelper.java:364) DEBUG - CacheDecoratorFactory not configured for defaultCache. Skipping for 'nutzAuthoRealm.authorizationCache'. 2015-07-26 10:31:46,888 org.apache.shiro.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:166) INFO - Added EhCache named [nutzAuthoRealm.authorizationCache] 2015-07-26 10:31:46,916 org.apache.shiro.config.IniSecurityManagerFactory.isAutoApplyRealms(IniSecurityManagerFactory.java:112) INFO - Realms have been explicitly set on the SecurityManager instance - auto-setting of realms will not occur. 2015-07-26 10:31:46,921 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=main,urls] 2015-07-26 10:31:46,927 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/private/logout] from String definition [logout] 2015-07-26 10:31:46,927 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/private/logout] to filter [logout] with config [null] 2015-07-26 10:31:46,930 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/private/doLogin] from String definition [anon] 2015-07-26 10:31:46,930 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/private/doLogin] to filter [anon] with config [null] 2015-07-26 10:31:46,931 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/private/language] from String definition [anon] 2015-07-26 10:31:46,931 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/private/language] to filter [anon] with config [null] 2015-07-26 10:31:46,931 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/include/] from String definition [anon] 2015-07-26 10:31:46,932 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/include/] to filter [anon] with config [null] 2015-07-26 10:31:46,932 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/] from String definition [anon] 2015-07-26 10:31:46,933 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/] to filter [anon] with config [null] 2015-07-26 10:31:46,933 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/private/] from String definition [authc] 2015-07-26 10:31:46,934 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/private/] to filter [authc] with config [null] 2015-07-26 10:31:46,934 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:136) DEBUG - Published WebEnvironment as ServletContext attribute with name [org.apache.shiro.web.env.EnvironmentLoader.ENVIRONMENT_ATTRIBUTE_KEY] 2015-07-26 10:31:46,935 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:141) INFO - Shiro environment initialized in 2555 ms. 2015-07-26 10:31:46,973 org.nutz.mvc.NutFilter.init(NutFilter.java:71) INFO - NutFilter[nutz] starting ... 2015-07-26 10:31:47,597 org.nutz.resource.Scans.(Scans.java:487) DEBUG - Locations for Scans: [JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/javax-websocket-server-impl-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-jndi-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-xml-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.9.M3.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/annotations/asm-5.0.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-io-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-webapp-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-plus-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-util-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jndi/javax.transaction-api-1.2.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-deploy-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/servlet-api-3.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-server-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-annotations-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.9.M3.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/javax.websocket-api-1.0.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jstl/org.apache.taglibs.taglibs-standard-spec-1.2.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-servlet-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-security-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/annotations/javax.annotation-api-1.2.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-http-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/javax-websocket-client-impl-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-client-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jsp/org.eclipse.jetty.apache-jsp-9.2.10.v20150310.jar], FileSystemResourceLocation [root=/Users/tory/Documents/jetty-9.2.10/resources], FileSystemResourceLocation [root=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/classes], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-jmx-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-common-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-server-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-schemas-3.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-servlet-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jstl/org.apache.taglibs.taglibs-standard-impl-1.2.1.jar], FileSystemResourceLocation [root=/Users/tory/Documents/jetty-9.2.10], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/nutz-1.b.53.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-api-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/annotations/asm-commons-5.0.1.jar]] 2015-07-26 10:31:48,840 org.nutz.resource.Scans.init(Scans.java:75) DEBUG - Locations for Scans: [JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/commons-email-1.4.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-jndi-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/servlet-api-2.3.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-xml-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/activation-1.1.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/commons-lang-2.4.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/velocity-1.7.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/javase-3.2.0.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/annotations/asm-5.0.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-webapp-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jndi/javax.transaction-api-1.2.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-deploy-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/servlet-api-3.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/socialauth-4.9.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/javax.mail-1.5.2.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/nutz-web-1.b.52.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-annotations-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jndi/javax.mail.glassfish-1.4.1.v201005082020.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jsp/org.mortbay.jasper.apache-jsp-8.0.9.M3.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/javax.websocket-api-1.0.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-servlet-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/commons-lang3-3.4.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/javax-websocket-client-impl-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jsp/org.eclipse.jetty.apache-jsp-9.2.10.v20150310.jar], FileSystemResourceLocation [root=/Users/tory/Documents/jetty-9.2.10/resources], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-schemas-3.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/shiro-web-1.2.3.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/nutz-integration-quartz-1.b.52.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/nutz-1.b.53.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/annotations/asm-commons-5.0.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/javax-websocket-server-impl-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/shiro-all-1.2.3.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jsp/org.mortbay.jasper.apache-el-8.0.9.M3.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-io-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/nutz-plugins-daocache-1.b.52.r1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/commons-collections-3.2.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-plus-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-util-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/ehcache-2.10.0.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/nutz-integration-shiro-1.b.52.r2.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/mysql-connector-java-5.1.35.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-server-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/json-20090211.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/c3p0-0.9.1.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jstl/org.apache.taglibs.taglibs-standard-spec-1.2.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-security-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/shiro-core-1.2.3.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/annotations/javax.annotation-api-1.2.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-http-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jsp/org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/commons-beanutils-1.8.3.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/log4j-1.2.17.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/simplecaptcha-1.2.2.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/quartz-2.2.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/druid-1.0.15.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-client-9.2.10.v20150310.jar], FileSystemResourceLocation [root=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/classes], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-jmx-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/jtds-1.3.0.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-common-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/commons-logging-1.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/core-3.2.0.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/jetty-server-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/slf4j-api-1.7.12.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-servlet-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/commons-beanutils-core-1.8.3.jar], FileSystemResourceLocation [root=/Users/tory/Documents/jetty-9.2.10], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/apache-jstl/org.apache.taglibs.taglibs-standard-impl-1.2.1.jar], JarResourceLocation [jarPath=/Users/tory/Documents/jetty-9.2.10/lib/websocket/websocket-api-9.2.10.v20150310.jar], JarResourceLocation [jarPath=/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/lib/slf4j-log4j12-1.7.12.jar]] 2015-07-26 10:31:48,849 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:119) DEBUG - MainModule: 2015-07-26 10:31:48,950 org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:50) DEBUG - Loading by class org.nutz.mvc.impl.NutLoading 2015-07-26 10:31:48,956 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:55) INFO - Nutz Version : 1.b.53 2015-07-26 10:31:48,957 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:56) INFO - Nutz.Mvc[nutz] is initializing ... 2015-07-26 10:31:48,957 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:60) DEBUG - Web Container Information: 2015-07-26 10:31:48,958 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:61) DEBUG - - Default Charset : GB2312 2015-07-26 10:31:48,959 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:62) DEBUG - - Current . path : /Users/tory/Documents/jetty-9.2.10/. 2015-07-26 10:31:48,959 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:63) DEBUG - - Java Version : 1.7.0_79 2015-07-26 10:31:48,959 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:64) DEBUG - - File separator : / 2015-07-26 10:31:48,960 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:65) DEBUG - - Timezone : Asia/Chongqing 2015-07-26 10:31:48,960 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:66) DEBUG - - OS : Mac OS X x86_64 2015-07-26 10:31:48,961 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:67) DEBUG - - ServerInfo : jetty/9.2.10.v20150310 2015-07-26 10:31:48,961 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:68) DEBUG - - Servlet API : 3.1 2015-07-26 10:31:48,961 org.nutz.mvc.impl.NutLoading.load(NutLoading.java:73) DEBUG - - ContextPath : /nutzfw 2015-07-26 10:31:48,963 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:119) DEBUG - MainModule: 2015-07-26 10:31:48,964 org.nutz.mvc.impl.NutLoading.createContext(NutLoading.java:231) DEBUG - >> app.root = /Users/tory/Documents/github/NutzWk/target/nutzfw 2015-07-26 10:31:49,340 org.nutz.castor.Castors.reload(Castors.java:116) DEBUG - Using 91 castor for Castors 2015-07-26 10:31:49,351 org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:368) DEBUG - @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["_json", "config/ioc/", "_anno", "cn.wizzer", "_tx", "_org.nutz.integration.quartz.QuartzIocLoader"],init=[]) 2015-07-26 10:31:49,435 org.nutz.resource.Scans.scan(Scans.java:234) DEBUG - Found 3 resource by src( config/ioc/ ) , regex( ^(.+[.])(js|json)$ ) 2015-07-26 10:31:49,440 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:44) DEBUG - loading ioc js config from [dao.json] 2015-07-26 10:31:49,455 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:44) DEBUG - loading ioc js config from [ehcache.json] 2015-07-26 10:31:49,459 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:44) DEBUG - loading ioc js config from [mail.json] 2015-07-26 10:31:49,465 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:52) DEBUG - Loaded 8 bean define from path=[config/ioc/] --> [htmlEmail, dataSource, dao, cacheProvider, cacheManager, cacheExecutor, conf, emailAuthenticator] 2015-07-26 10:31:49,530 org.nutz.resource.Scans.scan(Scans.java:234) DEBUG - Found 80 resource by src( cn/wizzer/ ) , regex( ^.+[.]class$ ) 2015-07-26 10:31:49,810 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.service.QrcodeService 2015-07-26 10:31:49,878 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.RoleAction 2015-07-26 10:31:49,896 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.util.DateUtils 2015-07-26 10:31:49,897 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.quartz.job.TestJob 2015-07-26 10:31:49,927 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.LogAction 2015-07-26 10:31:49,934 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.shiro.velocity.Permission 2015-07-26 10:31:49,947 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.service.log.SysLogService 2015-07-26 10:31:49,949 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.UserAction 2015-07-26 10:31:49,960 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.service.DictService 2015-07-26 10:31:49,973 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.service.EmailService 2015-07-26 10:31:49,985 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.service.LogService 2015-07-26 10:31:50,015 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.OauthActtion 2015-07-26 10:31:50,122 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.CaptchaAction 2015-07-26 10:31:50,127 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.util.CacheUtils 2015-07-26 10:31:50,131 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.UnitAction 2015-07-26 10:31:50,134 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.service.RoleService 2015-07-26 10:31:50,136 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.LoginAction 2015-07-26 10:31:50,205 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.service.log.SysLogAopConfigration 2015-07-26 10:31:50,207 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.IndexAction 2015-07-26 10:31:50,208 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.service.MenuService 2015-07-26 10:31:50,210 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.TestAction 2015-07-26 10:31:50,213 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.service.UserService 2015-07-26 10:31:50,242 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.service.ConfigService 2015-07-26 10:31:50,244 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.modules.sys.service.UnitService 2015-07-26 10:31:50,246 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.util.StringUtils 2015-07-26 10:31:50,248 org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:71) DEBUG - Found a Class with Ioc-Annotation : class cn.wizzer.common.service.QuartzService 2015-07-26 10:31:50,254 org.nutz.ioc.loader.annotation.AnnotationIocLoader.(AnnotationIocLoader.java:48) INFO - Scan complete ! Found 26 classes in 1 base-packages! beans = ["quartzService", "dictService", "qrcodeService", "unitAction", "userService", "captchaAction", "oauthActtion", "logService", "dateUtils", "indexAction", "testJob", "sysLogService", "testAction", "stringUtils", "menuService", "roleService", "loginAction", "permission", "logAction", "roleAction", "unitService", "$aop_syslog", "configService", "userAction", "cacheUtils", "emailService"] 2015-07-26 10:31:50,258 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:36) DEBUG - Loaded 5 bean define from reader -- [txREPEATABLE_READ, txREAD_COMMITTED, txNONE, txSERIALIZABLE, txREAD_UNCOMMITTED] 2015-07-26 10:31:50,263 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:52) DEBUG - Loaded 0 bean define from path=[] --> [] 2015-07-26 10:31:50,267 org.nutz.integration.quartz.QuartzIocLoader.(QuartzIocLoader.java:35) DEBUG - Quartz Ioc Define as: { "scheduler" :{ "type" :"org.quartz.Scheduler", "factory" :"org.quartz.impl.StdSchedulerFactory#getDefaultScheduler", "events" :{ "create" :"start", "depose" :"shutdown" }, "fields" :{ "jobFactory" :{ "refer" :"jobFactory" } } }, "jobFactory" :{ "type" :"org.nutz.integration.quartz.NutQuartzJobFactory", "args" :[{ "refer" :"$ioc" }] }, "nutQuartzCronJobFactory" :{ "type" :"org.nutz.integration.quartz.NutQuartzCronJobFactory", "events" :{ "create" :"init" }, "fields" :{ "scheduler" :{ "refer" :"scheduler" }, "conf" :{ "refer" :"conf" } } } } 2015-07-26 10:31:50,268 org.nutz.ioc.loader.json.JsonLoader.(JsonLoader.java:36) DEBUG - Loaded 3 bean define from reader -- [scheduler, nutQuartzCronJobFactory, jobFactory] 2015-07-26 10:31:50,276 org.nutz.ioc.impl.NutIoc.(NutIoc.java:93) INFO - NutIoc init begin ... 2015-07-26 10:31:50,282 org.nutz.ioc.impl.NutIoc.(NutIoc.java:109) INFO - ... NutIoc init complete 2015-07-26 10:31:50,284 org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:119) DEBUG - MainModule: 2015-07-26 10:31:50,289 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:157) INFO - Build URL mapping by org.nutz.mvc.impl.UrlMappingImpl ... 2015-07-26 10:31:50,292 org.nutz.mvc.impl.NutLoading.createViewMakers(NutLoading.java:358) DEBUG - @Views(VelocityViewMaker,DefaultViewMaker) 2015-07-26 10:31:50,304 org.nutz.resource.Scans.scan(Scans.java:234) DEBUG - Found 1 resource by src( mvc/nutzfw-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ ) 2015-07-26 10:31:50,314 org.nutz.mvc.impl.chainconfig.JsonActionChainMakerConfiguretion.(JsonActionChainMakerConfiguretion.java:37) DEBUG - ActionChain Config: { "default" :{ "ps" :["cn.wizzer.common.mvc.processor.LogTimeProcessor", "cn.wizzer.common.mvc.processor.GlobalsSettingProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "cn.wizzer.common.mvc.processor.NutShiroProcessor", "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" } } 2015-07-26 10:31:50,314 org.nutz.mvc.impl.NutLoading.createChainMaker(NutLoading.java:259) DEBUG - @ChainBy(org.nutz.mvc.impl.NutActionChainMaker) 2015-07-26 10:31:50,319 org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:139) DEBUG - module class location 'file:/Users/tory/Documents/github/NutzWk/target/nutzfw/WEB-INF/classes/' 2015-07-26 10:31:50,319 org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:169) DEBUG - > scan 'cn.wizzer.modules' 2015-07-26 10:31:50,326 org.nutz.resource.Scans.scan(Scans.java:234) DEBUG - Found 27 resource by src( cn/wizzer/modules/ ) , regex( ^.+[.]class$ ) 2015-07-26 10:31:50,328 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:183) DEBUG - >> add 'cn.wizzer.modules.sys.OauthActtion' 2015-07-26 10:31:50,329 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:183) DEBUG - >> add 'cn.wizzer.modules.sys.CaptchaAction' 2015-07-26 10:31:50,330 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:183) DEBUG - >> add 'cn.wizzer.modules.sys.UnitAction' 2015-07-26 10:31:50,330 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:183) DEBUG - >> add 'cn.wizzer.modules.sys.RoleAction' 2015-07-26 10:31:50,331 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:183) DEBUG - >> add 'cn.wizzer.modules.sys.LogAction' 2015-07-26 10:31:50,331 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:183) DEBUG - >> add 'cn.wizzer.modules.sys.LoginAction' 2015-07-26 10:31:50,331 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:183) DEBUG - >> add 'cn.wizzer.modules.sys.UserAction' 2015-07-26 10:31:50,332 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:183) DEBUG - >> add 'cn.wizzer.modules.sys.IndexAction' 2015-07-26 10:31:50,332 org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:183) DEBUG - >> add 'cn.wizzer.modules.sys.TestAction' 2015-07-26 10:31:50,387 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/add' >> UserAction.add(...) : void | @Ok(vm:template.private.sys.user.add) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,390 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/list' >> UserAction.list(...) : Pagination | @Ok(vm:template.private.sys.user.list) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,391 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user' >> UserAction.index(...) : Object | @Ok(vm:template.private.sys.user.index) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,396 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/delete/?' >> UserAction.delete(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,399 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/info/?' >> UserAction.info(...) : Object | @Ok(vm:template.private.sys.user.info) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,408 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/tree' >> UserAction.tree(...) : Object | @Ok(raw:json) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,411 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/role/?' >> UserAction.role(...) : Object | @Ok(vm:template.private.sys.user.role) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,415 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/enable/?' >> UserAction.enable(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,419 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/disable/?' >> UserAction.disable(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,424 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/edit/?' >> UserAction.edit(...) : Object | @Ok(vm:template.private.sys.user.edit) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,427 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/resetPwd/?' >> UserAction.resetPwd(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,433 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/add/do' >> UserAction.addDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,436 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/edit/do' >> UserAction.editDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,438 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/user/delete' >> UserAction.deletes(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,441 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/log/list' >> LogAction.list(...) : Pagination | @Ok(vm:template.private.sys.log.list) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,442 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/log' >> LogAction.index(...) : Object | @Ok(vm:template.private.sys.log.index) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,444 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/index' >> IndexAction.index(...) : void | @Ok(vm:template.private.index) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,452 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/oauth/login/?' >> OauthActtion.login(...) : void | @Ok(void ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,455 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/oauth/logout' >> OauthActtion.logout(...) : void | @Ok(>>:/private/login) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,458 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/oauth/authonly' >> OauthActtion.authOnly(...) : Object | @Ok(raw ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,461 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/oauth/login/?/callback' >> OauthActtion.returnPoint(...) : View | @Ok(raw ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,465 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/test/setmsg' >> TestAction.setMsg(...) : void | @Ok(raw ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,469 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/test/qrcode' >> TestAction.getQrcode(...) : Object | @Ok(raw:png) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,516 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/layout' >> LoginAction.layout(...) : void | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,518 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/login' >> LoginAction.login(...) : void | @Ok(vm:template.private.login) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,519 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/logout' >> LoginAction.logout(...) : void | @Ok(>>:/private/login) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,544 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/language/?' >> LoginAction.language(...) : String | @Ok(>>:${obj}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,545 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/avatar' >> LoginAction.avatar(...) : Object | @Ok(raw:jpg) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,547 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/theme' >> LoginAction.theme(...) : void | @Ok(json:{locked:'password|salt',ignoreNull:true}) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,558 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/doLogin' >> LoginAction.doLogin(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,561 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/captcha/next' >> CaptchaAction.next(...) : BufferedImage | @Ok(raw:png) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,563 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/unit/add' >> UnitAction.add(...) : void | @Ok(vm:template.private.sys.unit.add) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,564 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/unit' >> UnitAction.index(...) : Object | @Ok(vm:template.private.sys.unit.index) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,568 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/unit/delete/?' >> UnitAction.delete(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,572 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/unit/tree' >> UnitAction.tree(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,575 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/unit/child/?' >> UnitAction.child(...) : Object | @Ok(vm:template.private.sys.unit.child) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,577 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/unit/detail/?' >> UnitAction.detail(...) : Object | @Ok(vm:template.private.sys.unit.detail) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,581 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/unit/edit/?' >> UnitAction.edit(...) : Object | @Ok(vm:template.private.sys.unit.edit) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,598 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/unit/add/do' >> UnitAction.addDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,632 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/unit/edit/do' >> UnitAction.editDo(...) : Object | @Ok(json ) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,636 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/role/add' >> RoleAction.add(...) : Object | @Ok(vm:template.private.sys.role.add) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,640 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/role' >> RoleAction.index(...) : Object | @Ok(vm:template.private.sys.role.index) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,645 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/role/info/?' >> RoleAction.info(...) : Object | @Ok(vm:template.private.sys.role.info) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,648 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/role/tree' >> RoleAction.tree(...) : Object | @Ok(raw:json) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,651 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/role/user' >> RoleAction.user(...) : Object | @Ok(vm:template.private.sys.role.user) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,655 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/role/btn' >> RoleAction.btn(...) : Object | @Ok(vm:template.private.sys.role.btn) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,657 org.nutz.mvc.impl.UrlMappingImpl.printActionMapping(UrlMappingImpl.java:130) DEBUG - '/private/sys/role/menu/?' >> RoleAction.menu(...) : Object | @Ok(raw:json) @Fail(http:500) | by 1 Filters | (I:UTF-8/O:UTF-8) 2015-07-26 10:31:50,658 org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:217) INFO - Found 47 module methods 2015-07-26 10:31:50,658 org.nutz.mvc.impl.NutLoading.evalLocalization(NutLoading.java:295) DEBUG - Localization: org.nutz.mvc.impl.NutMessageLoader('msg/') dft 2015-07-26 10:31:50,662 org.nutz.resource.Scans.scan(Scans.java:234) DEBUG - Found 4 resource by src( msg/ ) , regex( ^.+[.]properties$ ) 2015-07-26 10:31:50,662 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:29) DEBUG - Load Messages in 4 resource : [[NutResource[en_US/sys.properties], NutResource[en_US/system.properties], NutResource[zh_CN/sys.properties], NutResource[zh_CN/system.properties]]] 2015-07-26 10:31:50,673 org.nutz.mvc.impl.NutMessageLoader.load(NutMessageLoader.java:102) DEBUG - Message Loaded, size = 3 2015-07-26 10:31:50,675 org.nutz.mvc.impl.NutLoading.evalSetup(NutLoading.java:267) INFO - Setup application... 2015-07-26 10:31:50,676 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dictService' 2015-07-26 10:31:50,678 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition 2015-07-26 10:31:50,679 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dictService) in IocLoader(AnnotationIocLoader@1540460712) 2015-07-26 10:31:50,681 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dictService' 2015-07-26 10:31:50,682 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get '$aop_syslog' 2015-07-26 10:31:50,684 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition 2015-07-26 10:31:50,684 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject($aop_syslog) in IocLoader(AnnotationIocLoader@1540460712) 2015-07-26 10:31:50,685 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'$aop_syslog' 2015-07-26 10:31:50,686 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object '$aop_syslog' to [app] 2015-07-26 10:31:50,753 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'sysLogService'<> 2015-07-26 10:31:50,754 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition 2015-07-26 10:31:50,754 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(sysLogService) in IocLoader(AnnotationIocLoader@1540460712) 2015-07-26 10:31:50,755 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'sysLogService'<> 2015-07-26 10:31:50,755 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get '$aop_syslog' 2015-07-26 10:31:50,760 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class cn.wizzer.common.service.log.SysLogService without AOP 2015-07-26 10:31:50,761 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'sysLogService' to [app] 2015-07-26 10:31:50,765 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dao'<> 2015-07-26 10:31:50,766 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition 2015-07-26 10:31:50,766 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dao 2015-07-26 10:31:50,775 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dao) in IocLoader(JsonLoader@880237201) 2015-07-26 10:31:50,775 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dao'<> 2015-07-26 10:31:50,826 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class org.nutz.dao.impl.NutDaoExt without AOP 2015-07-26 10:31:50,828 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dao' to [app] 2015-07-26 10:31:50,828 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dataSource'<> 2015-07-26 10:31:50,829 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition 2015-07-26 10:31:50,829 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=dataSource 2015-07-26 10:31:50,868 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(dataSource) in IocLoader(JsonLoader@880237201) 2015-07-26 10:31:50,868 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'dataSource'<> 2015-07-26 10:31:50,942 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class com.alibaba.druid.pool.DruidDataSource without AOP 2015-07-26 10:31:50,943 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'dataSource' to [app] 2015-07-26 10:31:50,985 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<> 2015-07-26 10:31:50,986 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition 2015-07-26 10:31:50,986 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=conf 2015-07-26 10:31:50,987 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(conf) in IocLoader(JsonLoader@880237201) 2015-07-26 10:31:50,987 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'conf'<> 2015-07-26 10:31:50,989 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class org.nutz.ioc.impl.PropertiesProxy without AOP 2015-07-26 10:31:50,990 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'conf' to [app] 2015-07-26 10:31:50,998 org.nutz.resource.Scans.scan(Scans.java:234) DEBUG - Found 3 resource by src( config/custom/ ) , regex( ^.+[.]properties$ ) 2015-07-26 10:31:51,018 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<> 2015-07-26 10:31:51,021 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<> 2015-07-26 10:31:51,025 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<> 2015-07-26 10:31:51,027 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'conf'<> 2015-07-26 10:31:51,126 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:669) INFO - {dataSource-1} inited 2015-07-26 10:31:51,126 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'dataSource'<> 2015-07-26 10:31:51,209 org.nutz.filepool.NutFilePool.(NutFilePool.java:23) INFO - Init file-pool by: /Users/tory/.nutz/tmp/dao/ [200000] 2015-07-26 10:31:51,210 org.nutz.filepool.NutFilePool.(NutFilePool.java:37) DEBUG - file-pool.home: '/Users/tory/.nutz/tmp/dao' 2015-07-26 10:31:51,212 org.nutz.filepool.NutFilePool.(NutFilePool.java:66) INFO - file-pool.cursor: 0 2015-07-26 10:31:51,241 org.nutz.dao.jdbc.Jdbcs.(Jdbcs.java:85) DEBUG - Jdbcs init complete 2015-07-26 10:31:51,242 org.nutz.dao.jdbc.Jdbcs.getExpert(Jdbcs.java:98) INFO - Get Connection from DataSource for JdbcExpert 2015-07-26 10:31:51,734 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:170) DEBUG - JDBC Driver --> mysql-connector-java-5.1.35 ( Revision: 5fb9c5849535c13917c2cf9baaece6ef9693ef27 ) 2015-07-26 10:31:51,734 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:171) DEBUG - JDBC Name --> MySQL Connector Java 2015-07-26 10:31:51,734 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:173) DEBUG - JDBC URL --> jdbc:mysql://localhost:3306/nutzfw?useUnicode=true&characterEncoding=utf8 2015-07-26 10:31:51,868 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:182) DEBUG - Mysql : character_set_client=utf8 2015-07-26 10:31:51,868 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:182) DEBUG - Mysql : character_set_connection=utf8 2015-07-26 10:31:51,869 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:182) DEBUG - Mysql : character_set_database=utf8 2015-07-26 10:31:51,869 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:182) DEBUG - Mysql : character_set_filesystem=binary 2015-07-26 10:31:51,870 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:182) DEBUG - Mysql : character_set_results= 2015-07-26 10:31:51,870 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:182) DEBUG - Mysql : character_set_server=utf8 2015-07-26 10:31:51,870 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:182) DEBUG - Mysql : character_set_system=utf8 2015-07-26 10:31:51,871 org.nutz.dao.impl.DaoSupport$1.invoke(DaoSupport.java:182) DEBUG - Mysql : character_sets_dir=/usr/local/Cellar/mysql/5.6.25/share/mysql/charsets/ 2015-07-26 10:31:51,886 org.nutz.dao.impl.DaoSupport.setDataSource(DaoSupport.java:187) DEBUG - Database info --> MYSQL:[MySQL - 5.6.25] 2015-07-26 10:31:51,910 org.nutz.dao.impl.NutDaoExt._warn(NutDaoExt.java:53) INFO - This is patched version NutDao for using daocache at 1.b.52 or lower. This patch was applied in 1.b.53 2015-07-26 10:31:51,911 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'cacheExecutor'<> 2015-07-26 10:31:51,912 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition 2015-07-26 10:31:51,912 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=cacheExecutor 2015-07-26 10:31:51,914 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(cacheExecutor) in IocLoader(JsonLoader@880237201) 2015-07-26 10:31:51,915 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'cacheExecutor'<> 2015-07-26 10:31:51,916 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class org.nutz.plugins.cache.dao.CachedNutDaoExecutor without AOP 2015-07-26 10:31:51,917 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'cacheExecutor' to [app] 2015-07-26 10:31:51,919 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'cacheProvider'<> 2015-07-26 10:31:51,919 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition 2015-07-26 10:31:51,919 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=cacheProvider 2015-07-26 10:31:51,922 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(cacheProvider) in IocLoader(JsonLoader@880237201) 2015-07-26 10:31:51,922 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'cacheProvider'<> 2015-07-26 10:31:51,924 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class org.nutz.plugins.cache.dao.impl.provider.EhcacheDaoCacheProvider without AOP 2015-07-26 10:31:51,924 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'cacheProvider' to [app] 2015-07-26 10:31:51,926 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:145) DEBUG - Get 'cacheManager'<> 2015-07-26 10:31:51,926 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:165) DEBUG - >> Load definition 2015-07-26 10:31:51,926 org.nutz.ioc.loader.map.MapLoader.load(MapLoader.java:67) DEBUG - Loading define for name=cacheManager 2015-07-26 10:31:51,927 org.nutz.ioc.loader.combo.ComboIocLoader.load(ComboIocLoader.java:144) DEBUG - Found IocObject(cacheManager) in IocLoader(JsonLoader@880237201) 2015-07-26 10:31:51,927 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:195) DEBUG - >> Make...'cacheManager'<> 2015-07-26 10:31:51,933 org.nutz.ioc.aop.impl.DefaultMirrorFactory.getMirror(DefaultMirrorFactory.java:84) DEBUG - class net.sf.ehcache.CacheManager without AOP 2015-07-26 10:31:51,934 org.nutz.ioc.impl.ScopeContext.save(ScopeContext.java:59) DEBUG - Save object 'cacheManager' to [app] 2015-07-26 10:31:52,603 org.nutz.dao.impl.jdbc.AbstractJdbcExpert.setupEntityField(AbstractJdbcExpert.java:102) DEBUG - Table 'sys_log_2015' doesn't exist! 2015-07-26 10:31:52,667 org.nutz.dao.impl.jdbc.AbstractJdbcExpert.setupEntityField(AbstractJdbcExpert.java:102) DEBUG - Table 'sys_log_2015' doesn't exist! 2015-07-26 10:31:52,707 org.nutz.dao.impl.sql.run.NutDaoExecutor._runStatement(NutDaoExec

Wizzercn commented 9 years ago

cn.wizzer.modules.MainSetup 第45行(启动时自动建表),不要注释掉

zzvv commented 9 years ago

idea 中看到行号为46行~

Sent with Unibox

On Jul 26, 2015, at 11:59 AM, Wizzer notifications@github.com wrote:

cn.wizzer.modules.MainSetup 第45行(启动时自动建表),不要注释掉 — Reply to this email directly or view it on GitHub .

zzvv commented 9 years ago

Idea 14 配置本地jetty运行,Debug模式启动。正常登陆后,点击左侧菜单,权限管理各功能点,

路径加载异常,自动过滤掉了“/nutzfw/”节点。手动添加至浏览器,正常展现。

2015-07-26 12:03 GMT+08:00 tory.zhou 2pporg@gmail.com:

idea 中看到行号为46行~

Sent with Unibox http://www.uniboxapp.com/t/sig

On Jul 26, 2015, at 11:59 AM, Wizzer notifications@github.com wrote:

cn.wizzer.modules.MainSetup 第45行(启动时自动建表),不要注释掉 — Reply to this email directly or view it on GitHub https://github.com/Wizzercn/NutzWk/issues/5#issuecomment-124942921.<embedded image>

Wizzercn commented 9 years ago

已fix,更新即可.

zzvv commented 9 years ago

idea 14  mac 下,之前一直都是正常运行的,今天不知道怎么突然抽风,无法运行。 看日志提示1.53的包找不到,没编译进去,但是我走IDEA里面看,是有手工添加lib进去的。 不知道您是否遇到过这种灵异事件。

我尝试了本地tomcat运行,以及在pom中添加jetty插件运行,都是一样的错误。 我google了下,也没找到头绪。其他人通过手工重新add下,就成功了。但是我这边。诶 http://nutz.cn/f0

这个URL是我本地的启动log

Sent with zzcv

zzvv commented 9 years ago

额~ ,换个新的路径又可以了,太诡异了。

Sent with zzcv

On Aug 2, 2015, at 3:32 PM, tory.zhou 2pporg@gmail.com wrote:

idea 14  mac 下,之前一直都是正常运行的,今天不知道怎么突然抽风,无法运行。 看日志提示1.53的包找不到,没编译进去,但是我走IDEA里面看,是有手工添加lib进去的。 不知道您是否遇到过这种灵异事件。

我尝试了本地tomcat运行,以及在pom中添加jetty插件运行,都是一样的错误。 我google了下,也没找到头绪。其他人通过手工重新add下,就成功了。但是我这边。诶 http://nutz.cn/f0

这个URL是我本地的启动log

Sent with zzcv

zzvv commented 9 years ago

请问下,基于仓库中的源码,我添加新的界面,也是和源码保持一致,使用vm模板~ 也添加了对应的新Action,并且添加了iocBean注解及路径映射。 但是无法进入对应Aciton~

我看了tomcat打出到控制台的日志,在应用启动的时候,是有加载我的新Action的, 是否还需要配置哪个地方才能添加映射呢?

http://nutz.cn/fD 这个是我的启动日志,其中RdrecordAction 是我新增加的Action,并且也在数据库menu表中添加了对应数据, 是否是我哪一步还没配置完成?我看源码的路径请求均有跳转到UrlMapping ,但是我的这个就没跳转。

Wizzercn commented 9 years ago

贴你那个类源码,没加@At?

Wizzercn commented 9 years ago

直接访问 http://127.0.0.1/private/sys/rd 访问不到么?要是想在菜单显示,需要在表里加数据的,就是菜单管理里面添加,,,菜单管理这两天搞定。

zzvv commented 9 years ago

http://nutz.cn/fE

有的~ 我看了下,除了数据库中有一张表有添加访问路径的地方需要写入数据,应该没其他地方需要写入了吧?

在 2015年8月5日 上午11:18,Wizzer notifications@github.com写道:

直接访问 http://127.0.0.1/private/sys/rd 访问不到么?要是想在菜单显示,需要在表里加数据的,就是菜单管理里面添加,,,菜单管理这两天搞定。

— Reply to this email directly or view it on GitHub https://github.com/Wizzercn/NutzWk/issues/5#issuecomment-127832795.

Wizzercn commented 9 years ago

看代码是没啥问题的,整个权限体系是这样的:sys_user -->sys_user_role -->sys_role -->sys_role_menu --> sys_menu[permission]

zzvv commented 9 years ago

我应该找到原因了~ 应该就是出在数据库初始化那段数据上。每次重启应用,会强制把数据库的数据给覆盖掉?

Sent with Unibox

On Aug 5, 2015, at 11:20 AM, 周伟 2pporg@gmail.com wrote:

http://nutz.cn/fE  

有的~ 我看了下,除了数据库中有一张表有添加访问路径的地方需要写入数据,应该没其他地方需要写入了吧?

在 2015年8月5日 上午11:18,Wizzer <notifications@github.com

写道: 直接访问 http://127.0.0.1/private/sys/rd 访问不到么?要是想在菜单显示,需要在表里加数据的,就是菜单管理里面添加,,,菜单管理这两天搞定。 — Reply to this email directly or view it on GitHub .

Wizzercn commented 9 years ago

45行注释掉

zzvv commented 9 years ago

你在1群还是在2群?我们QQ说~

Sent with Unibox

On Aug 5, 2015, at 4:34 PM, Wizzer notifications@github.com wrote:

45行注释掉 — Reply to this email directly or view it on GitHub .

Wizzercn commented 9 years ago

2q