NutzCN Logo
问答 部署tomcat卡在这里
发布于 2815天前 作者 qq_d6d46f6d 3191 次浏览 复制 上一个帖子 下一个帖子
标签: nutzwk

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=256M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
08-Mar-2017 15:28:16.083 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.0.39
08-Mar-2017 15:28:16.087 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Nov 9 2016 08:48:39 UTC
08-Mar-2017 15:28:16.087 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.0.39.0
08-Mar-2017 15:28:16.087 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Linux
08-Mar-2017 15:28:16.088 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 2.6.32-642.13.1.el6.x86_64
08-Mar-2017 15:28:16.088 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
08-Mar-2017 15:28:16.088 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: /usr/java/jdk1.8.0_111/jre
08-Mar-2017 15:28:16.088 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_111-b14
08-Mar-2017 15:28:16.088 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
08-Mar-2017 15:28:16.088 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: /usr/local/apache-tomcat-8.0.39
08-Mar-2017 15:28:16.088 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: /usr/local/apache-tomcat-8.0.39
08-Mar-2017 15:28:16.088 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=/usr/local/apache-tomcat-8.0.39/conf/logging.properties
08-Mar-2017 15:28:16.088 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
08-Mar-2017 15:28:16.089 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xms2048m
08-Mar-2017 15:28:16.089 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Xmx4096m
08-Mar-2017 15:28:16.089 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:PermSize=256M
08-Mar-2017 15:28:16.089 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -XX:MaxPermSize=512m
08-Mar-2017 15:28:16.089 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
08-Mar-2017 15:28:16.089 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
08-Mar-2017 15:28:16.089 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.endorsed.dirs=/usr/local/apache-tomcat-8.0.39/endorsed
08-Mar-2017 15:28:16.089 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=/usr/local/apache-tomcat-8.0.39
08-Mar-2017 15:28:16.089 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=/usr/local/apache-tomcat-8.0.39
08-Mar-2017 15:28:16.090 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=/usr/local/apache-tomcat-8.0.39/temp
08-Mar-2017 15:28:16.090 信息 [main] 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: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
08-Mar-2017 15:28:16.202 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
08-Mar-2017 15:28:16.214 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
08-Mar-2017 15:28:16.216 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
08-Mar-2017 15:28:16.217 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
08-Mar-2017 15:28:16.217 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 462 ms
08-Mar-2017 15:28:16.236 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
08-Mar-2017 15:28:16.236 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.39
08-Mar-2017 15:28:18.807 信息 [admin.timemans.com-startStop-1] 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.
08-Mar-2017 15:28:18.854 信息 [admin.timemans.com-startStop-1] org.apache.catalina.core.ApplicationContext.log Initializing Shiro environment
2017-03-08 15:28:18,854 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:128) INFO - Starting Shiro environment initialization.
2017-03-08 15:28:18,863 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:76) DEBUG - Checking any specified config locations.
2017-03-08 15:28:18,863 org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:81) DEBUG - No INI instance or config locations specified. Trying default config locations.
2017-03-08 15:28:18,866 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [shiro.ini]
2017-03-08 15:28:18,872 org.apache.shiro.config.Ini.load(Ini.java:342) DEBUG - Parsing [main]
2017-03-08 15:28:18,877 org.apache.shiro.config.Ini.load(Ini.java:342) DEBUG - Parsing [urls]
2017-03-08 15:28:18,877 org.apache.shiro.web.env.IniWebEnvironment.getDefaultIni(IniWebEnvironment.java:136) DEBUG - Discovered non-empty INI configuration at location 'classpath:shiro.ini'. Using for configuration.
2017-03-08 15:28:18,880 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=main,urls]
2017-03-08 15:28:19,065 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 com.timemans.frame.common.shiro.filter.SimpleAuthenticationFilter
2017-03-08 15:28:19,114 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$cacheManager'. Looking up object with id 'cacheManager'
2017-03-08 15:28:19,123 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$sessionDAO'. Looking up object with id 'sessionDAO'
2017-03-08 15:28:19,135 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$sessionManager'. Looking up object with id 'sessionManager'
2017-03-08 15:28:19,138 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$sessionIdCookie'. Looking up object with id 'sessionIdCookie'
2017-03-08 15:28:19,141 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$rememberMeCookie'. Looking up object with id 'rememberMeCookie'
2017-03-08 15:28:19,155 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$sha256Matcher'. Looking up object with id 'sha256Matcher'
2017-03-08 15:28:19,155 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$shiroDbRealm'. Looking up object with id 'shiroDbRealm'
2017-03-08 15:28:19,156 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$shiroDbRealm'. Looking up object with id 'shiroDbRealm'
2017-03-08 15:28:19,159 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$authcStrategy'. Looking up object with id 'authcStrategy'
2017-03-08 15:28:19,160 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$cacheManager'. Looking up object with id 'cacheManager'
2017-03-08 15:28:19,160 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:234) DEBUG - No authorizationCache instance set. Checking for a cacheManager...
2017-03-08 15:28:19,160 org.apache.shiro.realm.AuthorizingRealm.getAuthorizationCacheLazy(AuthorizingRealm.java:242) DEBUG - CacheManager [org.apache.shiro.cache.ehcache.EhCacheManager@2edd9ecb] has been configured. Building authorization cache named [shiroDbRealm.authorizationCache]
2017-03-08 15:28:19,160 org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:206) DEBUG - cacheManager property not set. Constructing CacheManager instance...
2017-03-08 15:28:19,168 org.apache.shiro.io.ResourceUtils.loadFromClassPath(ResourceUtils.java:159) DEBUG - Opening resource from class path [ehcache.xml]
2017-03-08 15:28:19,170 net.sf.ehcache.config.ConfigurationFactory.parseConfiguration(ConfigurationFactory.java:150) DEBUG - Configuring ehcache from InputStream
2017-03-08 15:28:19,184 net.sf.ehcache.config.BeanHandler.setAttribute(BeanHandler.java:271) DEBUG - Ignoring ehcache attribute xmlns:xsi
2017-03-08 15:28:19,184 net.sf.ehcache.config.BeanHandler.setAttribute(BeanHandler.java:271) DEBUG - Ignoring ehcache attribute xsi:noNamespaceSchemaLocation
2017-03-08 15:28:19,186 net.sf.ehcache.config.DiskStoreConfiguration.translatePath(DiskStoreConfiguration.java:141) DEBUG - Disk Store Path: ehcache.disk.store.dir/nutzwk
2017-03-08 15:28:19,198 net.sf.ehcache.config.CacheConfiguration.setStatistics(CacheConfiguration.java:2388) WARN - Statistics can no longer be enabled via configuration.
2017-03-08 15:28:19,201 net.sf.ehcache.util.PropertyUtil.parseProperties(PropertyUtil.java:87) DEBUG - propertiesString is null.
2017-03-08 15:28:19,210 net.sf.ehcache.config.ConfigurationHelper.createCacheManagerEventListener(ConfigurationHelper.java:189) DEBUG - No CacheManagerEventListenerFactory class specified. Skipping...
2017-03-08 15:28:19,260 net.sf.ehcache.Cache.createBootstrapCacheLoader(Cache.java:1044) DEBUG - No BootstrapCacheLoaderFactory class specified. Skipping...
2017-03-08 15:28:19,260 net.sf.ehcache.Cache.createCacheWriter(Cache.java:1017) DEBUG - CacheWriter factory not configured. Skipping...
2017-03-08 15:28:19,260 net.sf.ehcache.config.ConfigurationHelper.createCacheExceptionHandler(ConfigurationHelper.java:100) DEBUG - No CacheExceptionHandlerFactory class specified. Skipping...
2017-03-08 15:28:19,322 net.sf.ehcache.Cache.createBootstrapCacheLoader(Cache.java:1044) DEBUG - No BootstrapCacheLoaderFactory class specified. Skipping...
2017-03-08 15:28:19,322 net.sf.ehcache.Cache.createCacheWriter(Cache.java:1017) DEBUG - CacheWriter factory not configured. Skipping...
2017-03-08 15:28:19,322 net.sf.ehcache.config.ConfigurationHelper.createCacheExceptionHandler(ConfigurationHelper.java:100) DEBUG - No CacheExceptionHandlerFactory class specified. Skipping...
2017-03-08 15:28:19,338 net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:169) DEBUG - Using diskstore path ehcache.disk.store.dir/nutzwk
2017-03-08 15:28:19,338 net.sf.ehcache.DiskStorePathManager.resolveAndLockIfNeeded(DiskStorePathManager.java:170) DEBUG - Holding exclusive lock on /usr/local/apache-tomcat-8.0.39/bin/ehcache.disk.store.dir/nutzwk/.ehcache-diskstore.lock
2017-03-08 15:28:19,344 net.sf.ehcache.store.disk.DiskStorageFactory.(DiskStorageFactory.java:170) DEBUG - Matching data file missing (or empty) for index file. Deleting index file ehcache.disk.store.dir/nutzwk/shiro-active%0053ession%0043ache.index
2017-03-08 15:28:19,344 net.sf.ehcache.store.disk.DiskStorageFactory.deleteFile(DiskStorageFactory.java:838) DEBUG - Failed to delete file shiro-active%0053ession%0043ache.index
2017-03-08 15:28:19,468 net.sf.ehcache.Cache.initialise(Cache.java:1262) DEBUG - Initialised cache: shiro-activeSessionCache
2017-03-08 15:28:19,468 net.sf.ehcache.config.ConfigurationHelper.createCacheDecorators(ConfigurationHelper.java:334) DEBUG - CacheDecoratorFactory not configured. Skipping for 'shiro-activeSessionCache'.
2017-03-08 15:28:19,468 net.sf.ehcache.config.ConfigurationHelper.createDefaultCacheDecorators(ConfigurationHelper.java:364) DEBUG - CacheDecoratorFactory not configured for defaultCache. Skipping for 'shiro-activeSessionCache'.
2017-03-08 15:28:19,469 org.apache.shiro.cache.ehcache.EhCacheManager.ensureCacheManager(EhCacheManager.java:219) DEBUG - implicit cacheManager created successfully.
2017-03-08 15:28:19,469 org.apache.shiro.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:159) INFO - Cache with name 'shiroDbRealm.authorizationCache' does not yet exist. Creating now.
2017-03-08 15:28:19,481 net.sf.ehcache.store.MemoryStore.(MemoryStore.java:180) DEBUG - Initialized net.sf.ehcache.store.MemoryStore for shiroDbRealm.authorizationCache
2017-03-08 15:28:19,488 net.sf.ehcache.Cache.initialise(Cache.java:1262) DEBUG - Initialised cache: shiroDbRealm.authorizationCache
2017-03-08 15:28:19,488 net.sf.ehcache.config.ConfigurationHelper.createDefaultCacheDecorators(ConfigurationHelper.java:364) DEBUG - CacheDecoratorFactory not configured for defaultCache. Skipping for 'shiroDbRealm.authorizationCache'.
2017-03-08 15:28:19,488 org.apache.shiro.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:166) INFO - Added EhCache named [shiroDbRealm.authorizationCache]
2017-03-08 15:28:19,489 org.apache.shiro.config.ReflectionBuilder.resolveReference(ReflectionBuilder.java:238) DEBUG - Encountered object reference '$rememberMeManager'. Looking up object with id 'rememberMeManager'
2017-03-08 15:28:19,502 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.
2017-03-08 15:28:19,504 org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:122) DEBUG - Creating instance from Ini [sections=main,urls]
2017-03-08 15:28:19,506 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/private/doLogin] from String definition [anon]
2017-03-08 15:28:19,506 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/private/doLogin] to filter [anon] with config [null]
2017-03-08 15:28:19,507 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/assets/**] from String definition [anon]
2017-03-08 15:28:19,507 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/assets/**] to filter [anon] with config [null]
2017-03-08 15:28:19,507 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/**] from String definition [anon]
2017-03-08 15:28:19,508 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/**] to filter [anon] with config [null]
2017-03-08 15:28:19,508 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.createChain(DefaultFilterChainManager.java:127) DEBUG - Creating chain [/private/**] from String definition [authc]
2017-03-08 15:28:19,508 org.apache.shiro.web.filter.mgt.DefaultFilterChainManager.applyChainConfig(DefaultFilterChainManager.java:278) DEBUG - Attempting to apply path [/private/**] to filter [authc] with config [null]
2017-03-08 15:28:19,508 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]
2017-03-08 15:28:19,508 org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:141) INFO - Shiro environment initialized in 652 ms.

13 回复

后面没日志了??

catalina.sh修改如下

JAVA_OPTS="-Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/urandom"
JAVA_OPTS="-Ddruid.registerToSysProperty=true -server -Xms2048m -Xmx4096m -XX:PermSize=256M -XX:MaxPermSize=512m" 

卡在这里,时间比较长。

"时间比较长",意思是后面还是能启动的? 往后10行的日志也贴上

现在后面没有了日志,就卡在这里

是不是db连接配错咯

确认过了datasource没错

把日志统统改成debug

tomcat,换了一个版本好了。

原来的版本是8.0.39,那新版本多少?

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