NutzCN Logo
问答 nutz book二次启动出错
发布于 2432天前 作者 qq_458b7604 1272 次浏览 复制 上一个帖子 下一个帖子
标签:
四月 26, 2018 8:26:34 上午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:nutzcn-webapp' did not find a matching property.
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/8.0.48
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Nov 30 2017 16:26:50 UTC
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         8.0.48.0
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 10
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            10.0
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             C:\Program Files\Java\jre1.8.0_172
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_172-b11
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         C:\Users\Administrator\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         C:\apache-tomcat-v8.0.48\apache-tomcat-8.0.48
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\Users\Administrator\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=C:\apache-tomcat-v8.0.48\apache-tomcat-8.0.48
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=C:\Users\Administrator\eclipse-workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=C:\apache-tomcat-v8.0.48\apache-tomcat-8.0.48\endorsed
四月 26, 2018 8:26:34 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=GBK
四月 26, 2018 8:26:34 上午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre1.8.0_172\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre1.8.0_172/bin/server;C:/Program Files/Java/jre1.8.0_172/bin;C:/Program Files/Java/jre1.8.0_172/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Embarcadero\Studio\19.0\bin;C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl;C:\Program Files (x86)\Embarcadero\Studio\19.0\bin64;C:\Users\Public\Documents\Embarcadero\Studio\19.0\Bpl\Win64;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Java\jdk1.6.0_45\bin;C:\Program Files (x86)\Java\jdk1.6.0_45\jre\bin;c:\windows\system32;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\TortoiseSVN\bin;C:\Program Files\VisualSVN Server\bin;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;C:\Program Files (x86)\SSH Communications Security\SSH Secure Shell;";C:\WINDOWS\system32";C:\Users\Administrator\AppData\Roaming\npm;C:\Users\Administrator\AppData\Roaming\npm;C:\Tools\apache-maven-3.5.3\bin;;C:\WINDOWS\system32;;.
四月 26, 2018 8:26:34 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8080"]
四月 26, 2018 8:26:35 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
四月 26, 2018 8:26:35 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8009"]
四月 26, 2018 8:26:35 上午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
四月 26, 2018 8:26:35 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1907 ms
四月 26, 2018 8:26:35 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
四月 26, 2018 8:26:35 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.0.48
四月 26, 2018 8:26:40 上午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
四月 26, 2018 8:26:41 上午 org.apache.tomcat.util.descriptor.web.WebXml orderWebFragments
警告: Used a wrong fragment name dummy at web.xml absolute-ordering tag!
四月 26, 2018 8:26:44 上午 org.apache.jasper.servlet.TldScanner scanJars
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2018-04-26 08:26:45,357 localhost-startStop-1 ERROR Unable to create file logs/nutzcn.log java.io.IOException: 系统找不到指定的路径。
	at java.io.WinNTFileSystem.createFileExclusively(Native Method)
	at java.io.File.createNewFile(Unknown Source)
	at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:409)
	at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:391)
	at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:73)
	at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:80)
	at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:98)
	at org.apache.logging.log4j.core.appender.RollingFileAppender.createAppender(RollingFileAppender.java:191)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:132)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:918)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:858)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:850)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:479)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:219)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:231)
	at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:491)
	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:561)
	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:577)
	at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:212)
	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
	at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
	at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103)
	at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)
	at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
	at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
	at org.apache.shiro.web.env.EnvironmentLoader.<clinit>(EnvironmentLoader.java:108)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:151)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4774)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5313)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

2018-04-26 08:26:45,362 localhost-startStop-1 ERROR Unable to invoke factory method in class class org.apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile. java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build(PluginBuilder.java:132)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.createPluginObject(AbstractConfiguration.java:918)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:858)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.createConfiguration(AbstractConfiguration.java:850)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigure(AbstractConfiguration.java:479)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize(AbstractConfiguration.java:219)
	at org.apache.logging.log4j.core.config.AbstractConfiguration.start(AbstractConfiguration.java:231)
	at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:491)
	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:561)
	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:577)
	at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:212)
	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:152)
	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
	at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
	at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getContext(AbstractLoggerAdapter.java:103)
	at org.apache.logging.slf4j.Log4jLoggerFactory.getContext(Log4jLoggerFactory.java:43)
	at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(AbstractLoggerAdapter.java:42)
	at org.apache.logging.slf4j.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:29)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:358)
	at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383)
	at org.apache.shiro.web.env.EnvironmentLoader.<clinit>(EnvironmentLoader.java:108)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:151)
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4774)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5313)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory@3b0d2a65] unable to create manager for [logs/nutzcn.log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@c9806a1[pattern=logs/${date:yyyy-MM}/nutzcn-%d{yyyy-MM-dd-HH}-%i.log.gz, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1, modulate=false), SizeBasedTriggeringPolicy(size=16777216)]), strategy=DefaultRolloverStrategy(min=1, max=7), advertiseURI=null, layout=%d %-5p %l - %m%n]]
	at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:75)
	at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:80)
	at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:98)
	at org.apache.logging.log4j.core.appender.RollingFileAppender.createAppender(RollingFileAppender.java:191)
	... 39 more

2018-04-26 08:26:45,363 localhost-startStop-1 ERROR Null object returned for RollingFile in Appenders.
2018-04-26 08:26:45,390 localhost-startStop-1 ERROR Unable to locate appender "FILE" for logger config "root"
四月 26, 2018 8:26:45 上午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Shiro environment
08:26:45.428 INFO  (EnvironmentLoader.java:128) initEnvironment - Starting Shiro environment initialization.
08:26:45.492 DEBUG (ResourceUtils.java:159) loadFromClassPath - Opening resource from class path [shiro.ini]
08:26:45.495 DEBUG (Ini.java:351) load - Parsing [main]
08:26:45.498 DEBUG (Ini.java:351) load - Parsing [urls]
08:26:45.522 DEBUG (IniFactorySupport.java:122) createInstance - Creating instance from Ini [sections=main,urls]
08:26:45.967 DEBUG (ReflectionBuilder.java:396) resolveReference - Encountered object reference '$sessionDAO'.  Looking up object with id 'sessionDAO'
08:26:45.985 DEBUG (ReflectionBuilder.java:396) resolveReference - Encountered object reference '$sessionManager'.  Looking up object with id 'sessionManager'
08:26:45.992 DEBUG (ReflectionBuilder.java:396) resolveReference - Encountered object reference '$sessionIdGenerator'.  Looking up object with id 'sessionIdGenerator'
08:26:46.103 DEBUG (EhCacheManager.java:206) ensureCacheManager - cacheManager property not set.  Constructing CacheManager instance... 
08:26:46.178 DEBUG (ResourceUtils.java:159) loadFromClassPath - Opening resource from class path [ehcache.xml]
08:26:46.189 DEBUG (ConfigurationFactory.java:150) parseConfiguration - Configuring ehcache from InputStream
08:26:46.208 DEBUG (BeanHandler.java:271) setAttribute - Ignoring ehcache attribute xmlns:xsi
08:26:46.209 DEBUG (BeanHandler.java:271) setAttribute - Ignoring ehcache attribute xsi:noNamespaceSchemaLocation
08:26:46.211 DEBUG (DiskStoreConfiguration.java:141) translatePath - Disk Store Path: ehcache.disk.store.dir/yvr_cache
08:26:46.238 DEBUG (PropertyUtil.java:88) parseProperties - propertiesString is null.
08:26:46.263 DEBUG (ConfigurationHelper.java:185) createCacheManagerEventListener - No CacheManagerEventListenerFactory class specified. Skipping...
08:26:46.307 DEBUG (Cache.java:955) createBootstrapCacheLoader - No BootstrapCacheLoaderFactory class specified. Skipping...
08:26:46.307 DEBUG (Cache.java:929) createCacheWriter - CacheWriter factory not configured. Skipping...
08:26:46.316 DEBUG (ConfigurationHelper.java:96) createCacheExceptionHandler - No CacheExceptionHandlerFactory class specified. Skipping...
08:26:46.326 DEBUG (Cache.java:955) createBootstrapCacheLoader - No BootstrapCacheLoaderFactory class specified. Skipping...
08:26:46.327 DEBUG (Cache.java:929) createCacheWriter - CacheWriter factory not configured. Skipping...
08:26:46.327 DEBUG (ConfigurationHelper.java:96) createCacheExceptionHandler - No CacheExceptionHandlerFactory class specified. Skipping...
08:26:46.327 DEBUG (Cache.java:955) createBootstrapCacheLoader - No BootstrapCacheLoaderFactory class specified. Skipping...
08:26:46.327 DEBUG (Cache.java:929) createCacheWriter - CacheWriter factory not configured. Skipping...
08:26:46.327 DEBUG (ConfigurationHelper.java:96) createCacheExceptionHandler - No CacheExceptionHandlerFactory class specified. Skipping...
08:26:46.353 DEBUG (MemoryStore.java:153) <init> - Initialized net.sf.ehcache.store.NotifyingMemoryStore for shiro-activeSessionCache
08:26:46.366 DEBUG (Cache.java:1165) initialise - Initialised cache: shiro-activeSessionCache
08:26:46.367 DEBUG (ConfigurationHelper.java:325) createCacheDecorators - CacheDecoratorFactory not configured. Skipping for 'shiro-activeSessionCache'.
08:26:46.367 DEBUG (ConfigurationHelper.java:354) createDefaultCacheDecorators - CacheDecoratorFactory not configured for defaultCache. Skipping for 'shiro-activeSessionCache'.
08:26:46.369 DEBUG (MemoryStore.java:153) <init> - Initialized net.sf.ehcache.store.MemoryStore for markdown
08:26:46.377 ERROR (EnvironmentLoader.java:146) initEnvironment - Shiro environment initialization failed
org.apache.shiro.cache.CacheException: net.sf.ehcache.CacheException: Disk store path can't be created: ehcache.disk.store.dir\yvr_cache
	at org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:224) ~[shiro-ehcache-1.3.2.jar:1.3.2]
	at org.apache.shiro.cache.ehcache.EhCacheManager.init(EhCacheManager.java:199) ~[shiro-ehcache-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:785) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:260) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203) ~[shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99) ~[shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92) ~[shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40) ~[shiro-core-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221) ~[shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133) [shiro-web-1.3.2.jar:1.3.2]
	at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58) [shiro-web-1.3.2.jar:1.3.2]
	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4852) [catalina.jar:8.0.48]
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5313) [catalina.jar:8.0.48]
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:8.0.48]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) [catalina.jar:8.0.48]
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) [catalina.jar:8.0.48]
	at java.util.concurrent.FutureTask.run(Unknown Source) [?:1.8.0_172]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [?:1.8.0_172]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [?:1.8.0_172]
	at java.lang.Thread.run(Unknown Source) [?:1.8.0_172]
Caused by: net.sf.ehcache.CacheException: Disk store path can't be created: ehcache.disk.store.dir\yvr_cache
	at net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:141) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:262) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:251) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:125) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:134) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.store.DiskBackedMemoryStore.createDiskStore(DiskBackedMemoryStore.java:61) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.store.DiskBackedMemoryStore.create(DiskBackedMemoryStore.java:49) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.Cache.initialise(Cache.java:1097) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1306) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1337) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:758) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:459) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.CacheManager.init(CacheManager.java:377) ~[ehcache-core-2.6.11.jar:?]
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:339) ~[ehcache-core-2.6.11.jar:?]
	at org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:213) ~[shiro-ehcache-1.3.2.jar:1.3.2]
	... 29 more
四月 26, 2018 8:26:46 上午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.apache.shiro.web.env.EnvironmentLoaderListener
org.apache.shiro.cache.CacheException: net.sf.ehcache.CacheException: Disk store path can't be created: ehcache.disk.store.dir\yvr_cache
	at org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:224)
	at org.apache.shiro.cache.ehcache.EhCacheManager.init(EhCacheManager.java:199)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
	at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
	at org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:785)
	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.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4852)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5313)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
Caused by: net.sf.ehcache.CacheException: Disk store path can't be created: ehcache.disk.store.dir\yvr_cache
	at net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:141)
	at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:262)
	at net.sf.ehcache.DiskStorePathManager.getFile(DiskStorePathManager.java:251)
	at net.sf.ehcache.store.disk.DiskStorageFactory.<init>(DiskStorageFactory.java:125)
	at net.sf.ehcache.store.disk.DiskStore.create(DiskStore.java:134)
	at net.sf.ehcache.store.DiskBackedMemoryStore.createDiskStore(DiskBackedMemoryStore.java:61)
	at net.sf.ehcache.store.DiskBackedMemoryStore.create(DiskBackedMemoryStore.java:49)
	at net.sf.ehcache.Cache.initialise(Cache.java:1097)
	at net.sf.ehcache.CacheManager.initializeEhcache(CacheManager.java:1306)
	at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1337)
	at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:758)
	at net.sf.ehcache.CacheManager.doInit(CacheManager.java:459)
	at net.sf.ehcache.CacheManager.init(CacheManager.java:377)
	at net.sf.ehcache.CacheManager.<init>(CacheManager.java:339)
	at org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:213)
	... 29 more

四月 26, 2018 8:26:46 上午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
四月 26, 2018 8:26:46 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/nutzcn-webapp] startup failed due to previous errors
四月 26, 2018 8:26:46 上午 org.apache.catalina.core.ApplicationContext log
信息: Cleaning up Shiro Environment
四月 26, 2018 8:26:46 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8080"]
四月 26, 2018 8:26:46 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-nio-8009"]
四月 26, 2018 8:26:46 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 11396 ms

3 回复

目录权限有问题的样子,无论是日志还是ehcache都访问不了文件夹

这个目录是配置的吗 还是在哪个地方

Unable to create file logs/nutzcn.log java.io.IOException: 系统找不到指定的路径。

文件夹搬过??

添加回复
请先登陆
回到顶部