本地window开发没问题,放到linux上就报错,包都传上去了啊
09-Jun-2019 09:07:32.437 INFO [main] org.apache.catalina.core.StandardServer.await A valid shutdown command was received via the shutdown port. Stopping the Server instance. 09-Jun-2019 09:07:32.438 INFO [main] org.apache.coyote.AbstractProtocol.pause Pausing ProtocolHandler ["http-apr-8080"] 09-Jun-2019 09:07:32.443 INFO [main] org.apache.catalina.core.StandardService.stopInternal Stopping service [Catalina] 09-Jun-2019 09:07:32.452 INFO [main] org.apache.coyote.AbstractProtocol.stop Stopping ProtocolHandler ["http-apr-8080"] 09-Jun-2019 09:07:32.508 INFO [main] org.apache.coyote.AbstractProtocol.destroy Destroying ProtocolHandler ["http-apr-8080"] 09-Jun-2019 09:07:34.050 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.21] using APR version [1.7.0]. 09-Jun-2019 09:07:34.052 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. 09-Jun-2019 09:07:34.052 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true] 09-Jun-2019 09:07:34.055 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.0.2r 26 Feb 2019] 09-Jun-2019 09:07:34.301 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-apr-8080"] 09-Jun-2019 09:07:34.327 INFO [main] org.apache.catalina.startup.Catalina.load Server initialization in [586] milliseconds 09-Jun-2019 09:07:34.356 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina] 09-Jun-2019 09:07:34.356 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet engine: [Apache Tomcat/9.0.20] 09-Jun-2019 09:07:35.662 INFO [main] 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. 09-Jun-2019 09:07:38.250 INFO [main] 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. 2019-06-09 09:07:39 [ERROR]-[Thread: main]-[com.jfinal.core.Config.startPlugins()]: Plugin start error: com.jfinal.plugin.ehcache.EhCachePlugin. Unable to create CacheManagerPeerListener. Initial cause was iZm5ec6u1iybgceit51xbwZ: iZm5ec6u1iybgceit51xbwZ: Name or service not known net.sf.ehcache.CacheException: Unable to create CacheManagerPeerListener. Initial cause was iZm5ec6u1iybgceit51xbwZ: iZm5ec6u1iybgceit51xbwZ: Name or service not known at net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.doCreateCachePeerListener(RMICacheManagerPeerListenerFactory.java:104) at net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.createCachePeerListener(RMICacheManagerPeerListenerFactory.java:84) at net.sf.ehcache.config.ConfigurationHelper.createCachePeerListeners(ConfigurationHelper.java:163) at net.sf.ehcache.CacheManager.configure(CacheManager.java:712) at net.sf.ehcache.CacheManager.doInit(CacheManager.java:439) at net.sf.ehcache.CacheManager.init(CacheManager.java:377) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:259) at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1037) at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:818) at net.sf.ehcache.CacheManager.create(CacheManager.java:799) at com.jfinal.plugin.ehcache.EhCachePlugin.createCacheManager(EhCachePlugin.java:91) at com.jfinal.plugin.ehcache.EhCachePlugin.start(EhCachePlugin.java:61) at com.jfinal.core.Config.startPlugins(Config.java:128) at com.jfinal.core.Config.configPluginWithOrder(Config.java:71) at com.jfinal.core.Config.configJFinal(Config.java:56) at com.jfinal.core.JFinal.init(JFinal.java:61) at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:63) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:102) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4530) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5176) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:633) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) Caused by: java.net.UnknownHostException: iZm5ec6u1iybgceit51xbwZ: iZm5ec6u1iybgceit51xbwZ: Name or service not known at java.net.InetAddress.getLocalHost(InetAddress.java:1506) at net.sf.ehcache.distribution.RMICacheManagerPeerListener.calculateHostAddress(RMICacheManagerPeerListener.java:167) at net.sf.ehcache.distribution.RMICacheManagerPeerListener.<init>(RMICacheManagerPeerListener.java:124) at net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.doCreateCachePeerListener(RMICacheManagerPeerListenerFactory.java:102) ... 49 more Caused by: java.net.UnknownHostException: iZm5ec6u1iybgceit51xbwZ: Name or service not known at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) at java.net.InetAddress.getLocalHost(InetAddress.java:1501) ... 52 more 09-Jun-2019 09:07:39.888 SEVERE [main] org.apache.catalina.core.StandardContext.filterStart Exception starting filter [jfinal] java.lang.RuntimeException: Plugin start error: com.jfinal.plugin.ehcache.EhCachePlugin. Unable to create CacheManagerPeerListener. Initial cause was iZm5ec6u1iybgceit51xbwZ: iZm5ec6u1iybgceit51xbwZ: Name or service not known at com.jfinal.core.Config.startPlugins(Config.java:137) at com.jfinal.core.Config.configPluginWithOrder(Config.java:71) at com.jfinal.core.Config.configJFinal(Config.java:56) at com.jfinal.core.JFinal.init(JFinal.java:61) at com.jfinal.core.JFinalFilter.init(JFinalFilter.java:63) at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:251) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:102) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4530) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5176) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902) at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:841) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1377) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1367) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75) at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:134) at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:902) at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:262) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardService.startInternal(StandardService.java:421) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:932) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183) at org.apache.catalina.startup.Catalina.start(Catalina.java:633) 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.apache.catalina.startup.Bootstrap.start(Bootstrap.java:344) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:475) Caused by: net.sf.ehcache.CacheException: Unable to create CacheManagerPeerListener. Initial cause was iZm5ec6u1iybgceit51xbwZ: iZm5ec6u1iybgceit51xbwZ: Name or service not known at net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.doCreateCachePeerListener(RMICacheManagerPeerListenerFactory.java:104) at net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.createCachePeerListener(RMICacheManagerPeerListenerFactory.java:84) at net.sf.ehcache.config.ConfigurationHelper.createCachePeerListeners(ConfigurationHelper.java:163) at net.sf.ehcache.CacheManager.configure(CacheManager.java:712) at net.sf.ehcache.CacheManager.doInit(CacheManager.java:439) at net.sf.ehcache.CacheManager.init(CacheManager.java:377) at net.sf.ehcache.CacheManager.<init>(CacheManager.java:259) at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:1037) at net.sf.ehcache.CacheManager.newInstance(CacheManager.java:818) at net.sf.ehcache.CacheManager.create(CacheManager.java:799) at com.jfinal.plugin.ehcache.EhCachePlugin.createCacheManager(EhCachePlugin.java:91) at com.jfinal.plugin.ehcache.EhCachePlugin.start(EhCachePlugin.java:61) at com.jfinal.core.Config.startPlugins(Config.java:128) ... 37 more Caused by: java.net.UnknownHostException: iZm5ec6u1iybgceit51xbwZ: iZm5ec6u1iybgceit51xbwZ: Name or service not known at java.net.InetAddress.getLocalHost(InetAddress.java:1506) at net.sf.ehcache.distribution.RMICacheManagerPeerListener.calculateHostAddress(RMICacheManagerPeerListener.java:167) at net.sf.ehcache.distribution.RMICacheManagerPeerListener.<init>(RMICacheManagerPeerListener.java:124) at net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory.doCreateCachePeerListener(RMICacheManagerPeerListenerFactory.java:102) ... 49 more Caused by: java.net.UnknownHostException: iZm5ec6u1iybgceit51xbwZ: Name or service not known at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:929) at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1324) at java.net.InetAddress.getLocalHost(InetAddress.java:1501) ... 52 more 09-Jun-2019 09:07:39.890 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal One or more Filters failed to start. Full details will be found in the appropriate container log file 09-Jun-2019 09:07:39.890 SEVERE [main] org.apache.catalina.core.StandardContext.startInternal Context [] startup failed due to previous errors 09-Jun-2019 09:07:39.893 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.alibaba.druid.proxy.DruidDriver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 09-Jun-2019 09:07:39.894 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesJdbc The web application [ROOT] registered the JDBC driver [com.mysql.jdbc.Driver] but failed to unregister it when the web application was stopped. To prevent a memory leak, the JDBC Driver has been forcibly unregistered. 09-Jun-2019 09:07:39.894 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Abandoned connection cleanup thread] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Object.wait(Native Method) java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:144) com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:64) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) java.lang.Thread.run(Thread.java:748) 09-Jun-2019 09:07:39.895 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Druid-ConnectionPool-Create-960583233] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: sun.misc.Unsafe.park(Native Method) java.util.concurrent.locks.LockSupport.park(LockSupport.java:175) java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039) com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2443) 09-Jun-2019 09:07:39.895 WARNING [main] org.apache.catalina.loader.WebappClassLoaderBase.clearReferencesThreads The web application [ROOT] appears to have started a thread named [Druid-ConnectionPool-Destroy-960583233] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Thread.sleep(Native Method) com.alibaba.druid.pool.DruidDataSource$DestroyConnectionThread.run(DruidDataSource.java:2540) 09-Jun-2019 09:07:39.896 SEVERE [main] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [com.jfinal.template.io.WriterBuffer$2] (value [com.jfinal.template.io.WriterBuffer$2@f7269a2]) and a value of type [com.jfinal.template.io.CharWriter] (value [com.jfinal.template.io.CharWriter@27169a80]) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 09-Jun-2019 09:07:39.896 SEVERE [main] org.apache.catalina.loader.WebappClassLoaderBase.checkThreadLocalMapForLeaks The web application [ROOT] created a ThreadLocal with key of type [com.jfinal.template.io.WriterBuffer$3] (value [com.jfinal.template.io.WriterBuffer$3@4975af1]) and a value of type [com.jfinal.template.io.FastStringWriter] (value []) but failed to remove it when the web application was stopped. Threads are going to be renewed over time to try and avoid a probable memory leak. 09-Jun-2019 09:07:39.900 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/data/wwwroot/dj.taojinyuan.com/static] 09-Jun-2019 09:07:39.911 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/data/wwwroot/dj.taojinyuan.com/static] has finished in [11] ms 09-Jun-2019 09:07:39.911 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [/data/wwwroot/dj.taojinyuan.com/upload] 09-Jun-2019 09:07:39.926 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [/data/wwwroot/dj.taojinyuan.com/upload] has finished in [15] ms 09-Jun-2019 09:07:39.929 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"] 09-Jun-2019 09:07:39.939 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [5,611] milliseconds 09-Jun-2019 09:07:44.370 INFO [Abandoned connection cleanup thread] org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1383) at org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:1036) at com.mysql.jdbc.AbandonedConnectionCleanupThread.checkContextClassLoaders(AbandonedConnectionCleanupThread.java:90) at com.mysql.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:63) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
项目:JFinal
Caused by: java.net.UnknownHostException: iZm5ec6u1iybgceit51xbwZ: iZm5ec6u1iybgceit51xbwZ: Name or service not known
ehcache.xml 中配置的某个 host 访问的配置找不到
要么是真找不到,要么是无法访问