现在日志看,服务应该是起来的,还是访问不了
/Library/Java/JavaVirtualMachines/jdk1.8.0_161.jdk/Contents/Home/bin/java -Dmaven.multiModuleProjectDirectory=/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp "-Dmaven.home=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3" "-Dclassworlds.conf=/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/bin/m2.conf" "-javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=50681:/Applications/IntelliJ IDEA.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Applications/IntelliJ IDEA.app/Contents/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar" org.codehaus.classworlds.Launcher -Didea.version=2017.3.5 jetty:run -P yvr
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building nutzcn-webapp 3.1.0
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> jetty-maven-plugin:9.4.8.v20171121:run (default-cli) > test-compile @ nutzcn-webapp >>>
Downloading: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.65-SNAPSHOT/maven-metadata.xml
Downloaded: https://jfrog.nutz.cn/artifactory/snapshots/org/nutz/nutz/1.r.65-SNAPSHOT/maven-metadata.xml (2 KB at 3.7 KB/sec)
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ nutzcn-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 9 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ nutzcn-webapp ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ nutzcn-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ nutzcn-webapp ---
[INFO] No sources to compile
[INFO]
[INFO] <<< jetty-maven-plugin:9.4.8.v20171121:run (default-cli) < test-compile @ nutzcn-webapp <<<
[INFO]
[INFO] --- jetty-maven-plugin:9.4.8.v20171121:run (default-cli) @ nutzcn-webapp ---
[INFO] Configuring Jetty for project: nutzcn-webapp
[INFO] webAppSourceDirectory not set. Trying src/main/webapp
[INFO] Reload Mechanic: automatic
[INFO] nonBlocking:false
[INFO] Classes = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes
[INFO] Logging initialized @2958ms to org.eclipse.jetty.util.log.Slf4jLog
[INFO] Context path = /
[INFO] Tmp directory = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/tmp
[INFO] Web defaults = org/eclipse/jetty/webapp/webdefault.xml
[INFO] Web overrides = none
[INFO] web.xml file = file:///Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp/WEB-INF/web.xml
[INFO] Webapp directory = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp
[INFO] jetty-9.4.8.v20171121, build timestamp: 2017-11-22T05:27:37+08:00, git hash: 82b8fb23f757335bb3329d540ce37a2a2615f0a8
[INFO] Scanning elapsed time=41ms
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.
[INFO] DefaultSessionIdManager workerName=node0
[INFO] No SessionScavenger set, using defaults
[INFO] Scavenging every 600000ms
[INFO] Initializing Shiro environment
java.lang.ClassCastException: org.slf4j.helpers.NOPLogger cannot be cast to org.slf4j.spi.LocationAwareLogger
at org.nutz.log.impl.Slf4jLogAdapter.getLogger(Slf4jLogAdapter.java:17)
at org.nutz.log.impl.Slf4jLogAdapter.canWork(Slf4jLogAdapter.java:22)
at org.nutz.plugin.SimplePluginManager.get(SimplePluginManager.java:32)
at org.nutz.log.Logs.init(Logs.java:75)
at org.nutz.log.Logs.<clinit>(Logs.java:20)
at org.nutz.plugins.cache.serializer.DefaultJdkSerializer.<clinit>(DefaultJdkSerializer.java:14)
at org.nutz.plugins.cache.impl.redis.RedisCacheManager.<init>(RedisCacheManager.java:35)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.apache.shiro.util.ClassUtils.newInstance(ClassUtils.java:181)
at org.apache.shiro.util.ClassUtils.newInstance(ClassUtils.java:168)
at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:302)
at org.apache.shiro.config.ReflectionBuilder$InstantiationStatement.doExecute(ReflectionBuilder.java:927)
at org.apache.shiro.config.ReflectionBuilder$Statement.execute(ReflectionBuilder.java:887)
at org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:765)
at org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:260)
at org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167)
at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130)
at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108)
at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94)
at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46)
at org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123)
at org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)
at org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203)
at org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99)
at org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92)
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
at org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
at org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1515)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:360)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1477)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
at org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
at org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:428)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:115)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:167)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:115)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
at org.eclipse.jetty.server.Server.start(Server.java:418)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:107)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
at org.eclipse.jetty.server.Server.doStart(Server.java:385)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:461)
at org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:327)
at org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:183)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
at org.codehaus.classworlds.Launcher.main(Launcher.java:47)
18-11-04 22:38:48.839 INFO [main] Select SystemLog as Nutz.Log implement
18-11-04 22:38:49.149 INFO [main] NutFilter[nutz] starting ...
18-11-04 22:38:49.206 DEBUG [main] Locations count=3 time use 32ms
18-11-04 22:38:49.242 DEBUG [main] Locations count=7 time use 35ms
18-11-04 22:38:49.264 DEBUG [main] Loading by class org.nutz.plugins.hotplug.Hotplug
18-11-04 22:38:49.281 INFO [main] Nutz Version : 1.r.65-SNAPSHOT
18-11-04 22:38:49.282 INFO [main] Nutz.Mvc[nutz] is initializing ...
18-11-04 22:38:49.282 DEBUG [main] Web Container Information:
18-11-04 22:38:49.282 DEBUG [main] - Default Charset : UTF-8
18-11-04 22:38:49.282 DEBUG [main] - Current . path : /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/.
18-11-04 22:38:49.282 DEBUG [main] - Java Version : 1.8.0_161
18-11-04 22:38:49.283 DEBUG [main] - File separator : /
18-11-04 22:38:49.283 DEBUG [main] - Timezone : Asia/Shanghai
18-11-04 22:38:49.283 DEBUG [main] - OS : Mac OS X x86_64
18-11-04 22:38:49.284 DEBUG [main] - ServerInfo : jetty/9.4.8.v20171121
18-11-04 22:38:49.284 DEBUG [main] - Servlet API : 3.1
18-11-04 22:38:49.284 DEBUG [main] - ContextPath :
18-11-04 22:38:49.285 DEBUG [main] - context.tempdir : /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/tmp
18-11-04 22:38:49.285 DEBUG [main] - MainModule : net.wendal.nutzbook.web.MainModule
18-11-04 22:38:49.286 DEBUG [main] >> app.root = /Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp
18-11-04 22:38:49.322 DEBUG [main] Using 95 castor for Castors
18-11-04 22:38:49.322 DEBUG [main] @IocBy(type=class org.nutz.ioc.loader.combo.ComboIocLoader, args=["*js", "ioc/", "*quartz", "*async", "128", "*tx", "*jedis", "*slog", "*hotplug"],init=[])
18-11-04 22:38:49.339 DEBUG [main] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
18-11-04 22:38:49.339 DEBUG [main] loading [mail.js]
18-11-04 22:38:49.340 DEBUG [main] Loaded 2 bean define from path=[ioc/] --> [htmlEmail, emailAuthenticator]
18-11-04 22:38:49.342 DEBUG [main] found quartz -- org.nutz.integration.quartz.QuartzIocLoader
18-11-04 22:38:49.345 DEBUG [main] Loaded 0 bean define from path=[] --> []
18-11-04 22:38:49.372 DEBUG [main] Load AopConfigure for anno=org.nutz.aop.interceptor.async.Async by type=org.nutz.aop.interceptor.async.AsyncAopIocLoader
18-11-04 22:38:49.379 DEBUG [main] found jedis -- org.nutz.integration.jedis.JedisIocLoader
18-11-04 22:38:49.388 DEBUG [main] Found 1 resource by src( org/nutz/integration/jedis/jedis.js ) , regex( ^(.+[.])(js|json)$ )
18-11-04 22:38:49.563 DEBUG [main] loading [org/nutz/integration/jedis/jedis.js]
18-11-04 22:38:49.564 DEBUG [main] Loaded 9 bean define from path=[org/nutz/integration/jedis/jedis.js] --> [redisService, jedisCluster, jedisClusterNodes, jedisClusterWrapper, pubSubService, jedisPoolConfig, jedisPool, jedisAgent, redis]
18-11-04 22:38:49.566 DEBUG [main] found slog -- org.nutz.plugins.slog.SlogIocLoader
18-11-04 22:38:49.568 DEBUG [main] Found 1 resource by src( org/nutz/plugins/slog/slog.js ) , regex( ^(.+[.])(js|json)$ )
18-11-04 22:38:49.568 DEBUG [main] loading [org/nutz/plugins/slog/slog.js]
18-11-04 22:38:49.569 DEBUG [main] Loaded 2 bean define from path=[org/nutz/plugins/slog/slog.js] --> [slogService, $aop_slog]
18-11-04 22:38:49.569 DEBUG [main] found hotplug -- org.nutz.plugins.hotplug.HotplugIocLoader
18-11-04 22:38:49.574 INFO [main] ... NutIoc init complete
18-11-04 22:38:49.574 DEBUG [main] Save object 'hotplug' to [app]
18-11-04 22:38:49.584 INFO [main] Build URL mapping by org.nutz.plugins.apidoc.ApidocUrlMapping ...
18-11-04 22:38:49.595 DEBUG [main] beetl init ....
18-11-04 22:38:49.605 DEBUG [main] found beetl.properties, loading ...
18-11-04 22:38:49.605 DEBUG [main] no custom DIRECT_BYTE_OUTPUT found , set to true
18-11-04 22:38:49.664 DEBUG [lcache.pubsub] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:49.667 DEBUG [lcache.pubsub] Get '$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
18-11-04 22:38:49.670 DEBUG [lcache.pubsub] >> Load definition name=$aop_async
18-11-04 22:38:49.677 DEBUG [lcache.pubsub] Found IocObject($aop_async) in AsyncAopIocLoader@164362159
18-11-04 22:38:49.680 DEBUG [lcache.pubsub] >> Make...'$aop_async'<interface org.nutz.ioc.aop.config.AopConfigration>
18-11-04 22:38:49.700 DEBUG [main] beetl init complete
18-11-04 22:38:49.708 DEBUG [main] @Views(BeetlViewMaker.class,PdfViewMaker.class,DefaultViewMaker.class)
18-11-04 22:38:49.714 DEBUG [main] Found 1 resource by src( mvc/nutzbook-mvc-chain.js ) , regex( ^(.+[.])(js|json)$ )
18-11-04 22:38:49.716 DEBUG [lcache.pubsub] Save object '$aop_async' to [app]
18-11-04 22:38:49.716 DEBUG [main] ActionChain Config:
{
"default": {
"ps": ["net.wendal.nutzbook.yvr.processor.AttackProcessor", "org.nutz.mvc.impl.processor.UpdateRequestAttributesProcessor", "org.nutz.mvc.impl.processor.EncodingProcessor", "org.nutz.mvc.impl.processor.ModuleProcessor", "org.nutz.integration.shiro.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"
}
}
18-11-04 22:38:49.716 DEBUG [main] @ChainBy(org.nutz.mvc.impl.NutActionChainMaker)
18-11-04 22:38:49.720 DEBUG [lcache.pubsub] Get '$aop_slog'<interface org.nutz.ioc.aop.config.AopConfigration>
18-11-04 22:38:49.721 DEBUG [lcache.pubsub] >> Load definition name=$aop_slog
18-11-04 22:38:49.721 DEBUG [lcache.pubsub] Found IocObject($aop_slog) in JsonLoader(paths=[org/nutz/plugins/slog/slog.js])
18-11-04 22:38:49.721 DEBUG [lcache.pubsub] >> Make...'$aop_slog'<interface org.nutz.ioc.aop.config.AopConfigration>
18-11-04 22:38:49.722 DEBUG [lcache.pubsub] Save object '$aop_slog' to [app]
18-11-04 22:38:49.722 DEBUG [main] module class location 'file:/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/'
18-11-04 22:38:49.724 DEBUG [main] > Found @At : 'net.wendal.nutzbook.web.MainModule'
18-11-04 22:38:49.724 DEBUG [main] Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
18-11-04 22:38:49.724 DEBUG [lcache.pubsub] Load AopConfigure for anno=org.nutz.plugins.slog.annotation.Slog by type=org.nutz.plugins.slog.aop.SlogAopConfigration
18-11-04 22:38:49.725 DEBUG [lcache.pubsub] Load AopConfigure for anno=org.nutz.ioc.aop.Aop by type=org.nutz.ioc.aop.config.impl.AnnotationAopConfigration
18-11-04 22:38:49.725 DEBUG [lcache.pubsub] >> Load definition name=conf
18-11-04 22:38:49.734 INFO [main] Create Module obj without Ioc --> class net.wendal.nutzbook.web.MainModule
18-11-04 22:38:49.756 DEBUG [main] '/test' >> (MainModule.java:48).test : void | @Ok(json:full) @Fail(jsp:jsp.500) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.758 INFO [main] Found 1 module methods
18-11-04 22:38:49.758 DEBUG [main] Localization: org.nutz.mvc.impl.NutMessageLoader('msg/') dft<zh-CN>
18-11-04 22:38:49.761 DEBUG [main] Found 5 resource by src( msg/ ) , regex( ^.+[.]properties$ )
18-11-04 22:38:49.761 DEBUG [main] Load Messages in 5 resource : [[File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/index.properties], File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/language_tag.properties], File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/admin_menu.properties], File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/authority.properties], File[/Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/target/classes/msg/zh-CN/user.properties]]]
18-11-04 22:38:49.763 DEBUG [main] Message Loaded, size = 2
18-11-04 22:38:49.764 INFO [main] SessionBy --> org.nutz.integration.shiro.ShiroSessionProvider@234c5e41
18-11-04 22:38:49.764 INFO [main] Setup application...
18-11-04 22:38:49.765 DEBUG [main] Get 'hotplug'<class org.nutz.plugins.hotplug.Hotplug>
18-11-04 22:38:49.766 DEBUG [main] Found 1 resource by src( hotplug/ ) , regex( .+.(js|json)$ )
18-11-04 22:38:49.766 DEBUG [main] Check hotplug.nutzcn.core.json
18-11-04 22:38:49.774 DEBUG [main] Found name=core base=net.wendal.nutzbook.core
18-11-04 22:38:49.775 DEBUG [main] init hotplug name=core
18-11-04 22:38:49.776 INFO [main] > scan 'net.wendal.nutzbook.core'
18-11-04 22:38:49.777 DEBUG [main] Found 19 resource by src( net/wendal/nutzbook/core/ ) , regex( ^.+[.]class$ )
18-11-04 22:38:49.783 INFO [main] > add 'todayYYYYMMDDJob ' - net.wendal.nutzbook.core.quartz.job.TodayYYYYMMDDJob
18-11-04 22:38:49.784 INFO [main] > add 'coreIocBeanFactory ' - net.wendal.nutzbook.core.ioc.CoreIocBeanFactory
18-11-04 22:38:49.789 DEBUG [main] Found @IocBean method : CoreIocBeanFactory.getDataSource(...) define as name=dataSource
18-11-04 22:38:49.790 DEBUG [main] Found @IocBean method : CoreIocBeanFactory.getCacheManager(...) define as name=cacheManager
18-11-04 22:38:49.790 DEBUG [main] Found @IocBean method : CoreIocBeanFactory.buildConfigure(...) define as name=conf
18-11-04 22:38:49.790 DEBUG [main] Found @IocBean method : CoreIocBeanFactory.getDao(...) define as name=dao
18-11-04 22:38:49.791 INFO [main] > add 'jvmJsService ' - net.wendal.nutzbook.core.service.impl.JvmJsServiceImpl
18-11-04 22:38:49.794 INFO [main] > add 'userService ' - net.wendal.nutzbook.core.service.impl.UserServiceImpl
18-11-04 22:38:49.802 INFO [main] > add 'emailService ' - net.wendal.nutzbook.core.service.impl.EmailServiceImpl
18-11-04 22:38:49.809 INFO [main] > add 'pageModule ' - net.wendal.nutzbook.core.module.PageModule
18-11-04 22:38:49.810 INFO [main] > add 'captchaModule ' - net.wendal.nutzbook.core.module.CaptchaModule
18-11-04 22:38:49.813 INFO [main] > add 'userModule ' - net.wendal.nutzbook.core.module.UserModule
18-11-04 22:38:49.821 INFO [main] Build URL mapping by org.nutz.plugins.apidoc.ApidocUrlMapping ...
18-11-04 22:38:49.822 DEBUG [main] module class location 'file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar'
18-11-04 22:38:49.822 DEBUG [main] > scan 'net.wendal.nutzbook.core'
18-11-04 22:38:49.823 DEBUG [main] Found 19 resource by src( net/wendal/nutzbook/core/ ) , regex( ^.+[.]class$ )
18-11-04 22:38:49.830 DEBUG [lcache.pubsub] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:49.830 DEBUG [lcache.pubsub] >> Load definition name=conf
18-11-04 22:38:49.831 DEBUG [lcache.pubsub] Found IocObject(conf) in HotplugIocLoader@1057847646
18-11-04 22:38:49.831 DEBUG [lcache.pubsub] >> Make...'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:49.831 DEBUG [lcache.pubsub] Save object 'conf' to [app]
18-11-04 22:38:49.836 DEBUG [lcache.pubsub] Load class org.nutz.ioc.impl.PropertiesProxy without AOP
18-11-04 22:38:49.837 DEBUG [lcache.pubsub] Get 'coreIocBeanFactory'<>
18-11-04 22:38:49.837 DEBUG [main] >> add 'net.wendal.nutzbook.core.module.PageModule'
18-11-04 22:38:49.837 DEBUG [lcache.pubsub] >> Load definition name=coreIocBeanFactory
18-11-04 22:38:49.839 DEBUG [lcache.pubsub] Found IocObject(coreIocBeanFactory) in HotplugIocLoader@1057847646
18-11-04 22:38:49.839 DEBUG [main] >> add 'net.wendal.nutzbook.core.module.CaptchaModule'
18-11-04 22:38:49.839 DEBUG [lcache.pubsub] >> Make...'coreIocBeanFactory'<>
18-11-04 22:38:49.840 DEBUG [main] >> add 'net.wendal.nutzbook.core.module.UserModule'
18-11-04 22:38:49.840 DEBUG [lcache.pubsub] Save object 'coreIocBeanFactory' to [app]
18-11-04 22:38:49.840 DEBUG [main] Use org.nutz.mvc.impl.NutEntryDeterminer as EntryMethodDeterminer
18-11-04 22:38:49.841 DEBUG [lcache.pubsub] Load class net.wendal.nutzbook.core.ioc.CoreIocBeanFactory without AOP
18-11-04 22:38:49.856 DEBUG [lcache.pubsub] Found 6 resource by src( custom/ ) , regex( ^.+[.]properties$ )
18-11-04 22:38:49.857 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/redis.properties
18-11-04 22:38:49.859 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/mail.properties
18-11-04 22:38:49.860 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/website.properties
18-11-04 22:38:49.860 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/topic.properties
18-11-04 22:38:49.860 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/db.properties
18-11-04 22:38:49.861 DEBUG [lcache.pubsub] load properties from jar:file:/Users/guolifei/.m2/repository/net/wendal/nutzcn/nutzcn-core/3.1.0/nutzcn-core-3.1.0.jar!/custom/cron.properties
18-11-04 22:38:49.862 INFO [lcache.pubsub] JedisAgent is Ready ...
18-11-04 22:38:49.863 DEBUG [lcache.pubsub] psubscribe LCache:*
18-11-04 22:38:49.864 DEBUG [main] '/', '/index' >> (PageModule.java:22).index : String | @Ok(->:${obj}) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.864 DEBUG [lcache.pubsub] Get 'jedisPool'<class redis.clients.util.Pool>
18-11-04 22:38:49.865 DEBUG [lcache.pubsub] >> Load definition name=jedisPool
18-11-04 22:38:49.868 DEBUG [lcache.pubsub] Found IocObject(jedisPool) in JsonLoader(paths=[org/nutz/integration/jedis/jedis.js])
18-11-04 22:38:49.869 DEBUG [main] '/user/login' >> (PageModule.java:30).login : String | @Ok(->:${obj}) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.869 DEBUG [lcache.pubsub] >> Make...'jedisPool'<class redis.clients.util.Pool>
18-11-04 22:38:49.870 DEBUG [lcache.pubsub] Save object 'jedisPool' to [app]
18-11-04 22:38:49.885 DEBUG [main] '/captcha/next' >> (CaptchaModule.java:25).next : BufferedImage | @Ok(raw:png) @Fail(null ) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.891 DEBUG [lcache.pubsub] Get 'jedisPoolConfig'<>
18-11-04 22:38:49.892 DEBUG [lcache.pubsub] >> Load definition name=jedisPoolConfig
18-11-04 22:38:49.892 DEBUG [lcache.pubsub] Found IocObject(jedisPoolConfig) in JsonLoader(paths=[org/nutz/integration/jedis/jedis.js])
18-11-04 22:38:49.892 DEBUG [lcache.pubsub] >> Make...'jedisPoolConfig'<>
18-11-04 22:38:49.892 DEBUG [lcache.pubsub] Save object 'jedisPoolConfig' to [app]
18-11-04 22:38:49.893 DEBUG [lcache.pubsub] Load class redis.clients.jedis.JedisPoolConfig without AOP
18-11-04 22:38:49.923 DEBUG [main] '/user/login' >> (UserModule.java:34).login : Object | @Ok(json ) @Fail(http:500) | by 0 Filters | (I:UTF-8/O:UTF-8)
18-11-04 22:38:49.925 INFO [main] Found 4 module methods
18-11-04 22:38:49.957 DEBUG [main] Get 'dao'<interface org.nutz.dao.Dao>
18-11-04 22:38:49.957 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.956 ERROR [main] log4j2 jmx will case reload memory leak! pls add -Dlog4j2.disable.jmx=true to JAVA_OPTS
18-11-04 22:38:49.959 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.959 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.960 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.960 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.960 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.961 DEBUG [lcache.pubsub] Load class redis.clients.jedis.JedisPool without AOP
18-11-04 22:38:49.962 DEBUG [lcache.pubsub] Get 'jedisPoolConfig'<>
18-11-04 22:38:49.962 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.962 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.963 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.963 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:49.963 DEBUG [lcache.pubsub] Get 'conf'<>
18-11-04 22:38:50.149 DEBUG [main] >> Load definition name=dao
18-11-04 22:38:50.149 DEBUG [main] Found IocObject(dao) in HotplugIocLoader@1057847646
18-11-04 22:38:50.149 DEBUG [main] >> Make...'dao'<interface org.nutz.dao.Dao>
18-11-04 22:38:50.149 DEBUG [main] Save object 'dao' to [app]
18-11-04 22:38:50.151 DEBUG [main] Get 'dataSource'<interface javax.sql.DataSource>
18-11-04 22:38:50.151 DEBUG [main] >> Load definition name=dataSource
18-11-04 22:38:50.151 DEBUG [main] Found IocObject(dataSource) in HotplugIocLoader@1057847646
18-11-04 22:38:50.151 DEBUG [main] >> Make...'dataSource'<interface javax.sql.DataSource>
18-11-04 22:38:50.151 DEBUG [main] Save object 'dataSource' to [app]
18-11-04 22:38:50.151 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.171 DEBUG [main] Load class com.alibaba.druid.pool.DruidDataSource without AOP
18-11-04 22:38:50.171 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.171 DEBUG [main] Get 'coreIocBeanFactory'<>
18-11-04 22:38:50.325 DEBUG [main] Get 'cacheManager'<class net.sf.ehcache.CacheManager>
18-11-04 22:38:50.325 DEBUG [main] >> Load definition name=cacheManager
18-11-04 22:38:50.325 DEBUG [main] Found IocObject(cacheManager) in HotplugIocLoader@1057847646
18-11-04 22:38:50.325 DEBUG [main] >> Make...'cacheManager'<class net.sf.ehcache.CacheManager>
18-11-04 22:38:50.325 DEBUG [main] Save object 'cacheManager' to [app]
18-11-04 22:38:50.326 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.326 DEBUG [main] Load class net.sf.ehcache.CacheManager without AOP
18-11-04 22:38:50.327 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.327 DEBUG [main] Get 'coreIocBeanFactory'<>
18-11-04 22:38:50.327 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.327 DEBUG [main] Get 'dataSource'<interface javax.sql.DataSource>
18-11-04 22:38:50.327 DEBUG [main] Get 'cacheManager'<class net.sf.ehcache.CacheManager>
18-11-04 22:38:50.327 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.327 DEBUG [main] Get 'coreIocBeanFactory'<>
18-11-04 22:38:50.512 DEBUG [main] Jdbcs init complete
18-11-04 22:38:50.512 INFO [main] Get Connection from DataSource for JdbcExpert, if you lock at here, check your database server and configure
Sun Nov 04 22:38:50 CST 2018 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
18-11-04 22:38:50.769 DEBUG [main] select expert : org.nutz.dao.impl.jdbc.mysql.MysqlJdbcExpert
18-11-04 22:38:50.774 DEBUG [main] JDBC Driver --> mysql-connector-java-5.1.41 ( Revision: 83c6dc41b96809df81444362933043b20a1d49d5 )
18-11-04 22:38:50.774 DEBUG [main] JDBC Name --> MySQL Connector Java
18-11-04 22:38:50.774 DEBUG [main] JDBC URL --> jdbc:mysql://127.0.0.1:3306/website
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_client=utf8
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_connection=utf8
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_database=utf8
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_filesystem=binary
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_results=
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_server=utf8
18-11-04 22:38:50.850 DEBUG [main] Mysql : character_set_system=utf8
18-11-04 22:38:50.851 DEBUG [main] Mysql : character_sets_dir=/usr/local/mysql-5.7.21-macos10.13-x86_64/share/charsets/
18-11-04 22:38:50.853 DEBUG [main] Mysql : binlog_format=ROW
18-11-04 22:38:50.854 DEBUG [main] Mysql : database=website
18-11-04 22:38:50.855 DEBUG [main] Mysql : user=root@localhost
18-11-04 22:38:50.907 DEBUG [main] Database info --> MYSQL:[MySQL - 5.7.21]
18-11-04 22:38:50.912 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:50.912 DEBUG [main] Get 'jedisAgent'<class org.nutz.integration.jedis.JedisAgent>
18-11-04 22:38:50.912 DEBUG [main] >> Load definition name=jedisAgent
18-11-04 22:38:50.913 DEBUG [main] Found IocObject(jedisAgent) in JsonLoader(paths=[org/nutz/integration/jedis/jedis.js])
18-11-04 22:38:50.913 DEBUG [main] >> Make...'jedisAgent'<class org.nutz.integration.jedis.JedisAgent>
18-11-04 22:38:50.913 DEBUG [main] Save object 'jedisAgent' to [app]
18-11-04 22:38:50.913 DEBUG [main] Load class org.nutz.integration.jedis.JedisAgent without AOP
18-11-04 22:38:50.917 DEBUG [main] Get 'conf'<>
18-11-04 22:38:50.919 DEBUG [main] Found 19 resource by src( net/wendal/nutzbook/core/ ) , regex( ^.+[.]class$ )
18-11-04 22:38:50.953 DEBUG [main] Get 'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
18-11-04 22:38:50.953 DEBUG [main] >> Load definition name=nutQuartzCronJobFactory
18-11-04 22:38:50.954 DEBUG [main] Found IocObject(nutQuartzCronJobFactory) in JsonLoader(paths=[])
18-11-04 22:38:50.954 DEBUG [main] >> Make...'nutQuartzCronJobFactory'<class org.nutz.integration.quartz.NutQuartzCronJobFactory>
18-11-04 22:38:50.954 DEBUG [main] Save object 'nutQuartzCronJobFactory' to [app]
18-11-04 22:38:50.955 DEBUG [main] Load class org.nutz.integration.quartz.NutQuartzCronJobFactory without AOP
18-11-04 22:38:50.956 DEBUG [main] Get 'scheduler'<>
18-11-04 22:38:50.956 DEBUG [main] >> Load definition name=scheduler
18-11-04 22:38:50.957 DEBUG [main] Found IocObject(scheduler) in JsonLoader(paths=[])
18-11-04 22:38:50.957 DEBUG [main] >> Make...'scheduler'<>
18-11-04 22:38:50.957 DEBUG [main] Save object 'scheduler' to [app]
18-11-04 22:38:51.007 DEBUG [main] Get 'jobFactory'<>
18-11-04 22:38:51.008 DEBUG [main] >> Load definition name=jobFactory
18-11-04 22:38:51.008 DEBUG [main] Found IocObject(jobFactory) in JsonLoader(paths=[])
18-11-04 22:38:51.008 DEBUG [main] >> Make...'jobFactory'<>
18-11-04 22:38:51.008 DEBUG [main] Save object 'jobFactory' to [app]
18-11-04 22:38:51.008 DEBUG [main] Load class org.nutz.integration.quartz.NutQuartzJobFactory without AOP
18-11-04 22:38:51.133 DEBUG [main] Get 'conf'<>
18-11-04 22:38:51.134 DEBUG [main] found cron job packages = net.wendal.nutzbook.core.quartz.job
18-11-04 22:38:51.135 DEBUG [main] Found 1 resource by src( net/wendal/nutzbook/core/quartz/job/ ) , regex( ^.+[.]class$ )
18-11-04 22:38:51.135 DEBUG [main] job define name=net.wendal.nutzbook.core.quartz.job.TodayYYYYMMDDJob cron=0 0 * * * ?
18-11-04 22:38:51.146 DEBUG [main] Get 'conf'<class org.nutz.ioc.impl.PropertiesProxy>
18-11-04 22:38:51.146 DEBUG [main] check hotplug.localdir : /var/lib/hotplug
18-11-04 22:38:51.147 INFO [main] Nutz.Mvc[nutz] is up in 1862ms
18-11-04 22:38:51.147 INFO [main] exclusionsPrefix = ^(/rs/|/druid/)
[INFO] Started o.e.j.m.p.JettyWebAppContext@84487f4{/,file:///Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp/,AVAILABLE}{file:///Users/guolifei/Documents/codespace/nutz-website/nutzcn-webapp/src/main/webapp/}
[INFO] Started ServerConnector@1cd6b1bd{HTTP/1.1,[http/1.1]}{0.0.0.0:8080}
[INFO] Started @6359ms
[INFO] Started Jetty Server
[INFO] Using Non-Native Java sun.nio.fs.PollingWatchService
[WARNING] Quiet Time is too low for non-native WatchService [sun.nio.fs.PollingWatchService]: 1000 < 5000 ms (defaulting to 5000 ms)
18-11-04 22:39:36.666 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.682 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.684 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.685 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.686 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.689 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.690 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.691 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.692 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.695 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.695 DEBUG [qtp1035363280-17] GET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.697 DEBUG [qtp1035363280-17] SET key=shiro-activeSessionCache:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.700 DEBUG [qtp1035363280-17] fire channel=LCache:shiro-activeSessionCache msg=3uhch74e2ih1ro1us07s9b7nls:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.700 DEBUG [lcache.pubsub] channel=LCache:shiro-activeSessionCache, msg=3uhch74e2ih1ro1us07s9b7nls:sp80l59vfghempupl7c8f05oaf
18-11-04 22:39:36.701 DEBUG [qtp1035363280-17] Found mapping at hotplug(core) for [GET] path=/ : PageModule.index(PageModule.java:22)
18-11-04 22:39:36.714 DEBUG [qtp1035363280-17] Get 'jedisAgent'<class org.nutz.integration.jedis.JedisAgent>
18-11-04 22:39:36.714 DEBUG [qtp1035363280-17] Get 'dao'<interface org.nutz.dao.Dao>
18-11-04 22:39:36.714 DEBUG [qtp1035363280-17] Get 'jedisPool'<class redis.clients.util.Pool>
18-11-04 22:39:37.394 DEBUG [qtp1035363280-15] Found mapping at hotplug(core) for [GET] path=/ : PageModule.index(PageModule.java:22)
18-11-04 22:39:37.568 DEBUG [qtp1035363280-15] Found mapping at hotplug(core) for [GET] path=/ : PageModule.index(PageModule.java:22)
18-11-04 22:39:45.133 DEBUG [qtp1035363280-15] Search mapping for [GET] path=/yvr/list/movie : NOT Action match
18-11-04 22:39:46.267 DEBUG [qtp1035363280-14] Search mapping for [GET] path=/yvr/list/movie : NOT Action match