设为首页收藏本站

JEECG官方网站-企业级JAVA快速开发平台

 找回密码
 立即注册

关注JEECG发展历程 关注最新动态和版本, 记录JEECG成长点滴 最新动态 - 技术支持 - 师徒架构班

JEECG最新版本下载 JEECG智能开发平台 - 显著提高开发效率 常见问题 - 入门视频 - 参与开源团队

商务 QQ: 3102411850、418799587 商务热线: 18611788525 客服电话: 010-64808099 官方邮箱: jeecgos@163.com

查看: 946|回复: 1

[捷微H5] 关于jeewx发布到linux环境下报错的问题

[复制链接]

2

主题

0

好友

31

积分

新手上路

Rank: 2

发表于 2018-3-12 09:32:11 |显示全部楼层
在windows本地环境运行war包没有问题,但到linux环境就报错。
求圈主解答!!!
信息: Stopping service Catalina
三月 09, 2018 1:11:50 上午 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["http-bio-8080"]
三月 09, 2018 1:11:50 上午 org.apache.coyote.AbstractProtocol stop
信息: Stopping ProtocolHandler ["ajp-bio-8009"]
三月 09, 2018 1:11:50 上午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["http-bio-8080"]
三月 09, 2018 1:11:50 上午 org.apache.coyote.AbstractProtocol destroy
信息: Destroying ProtocolHandler ["ajp-bio-8009"]
三月 09, 2018 1:12:07 上午 org.apache.catalina.loader.WebappClassLoaderBase loadClass
信息: Illegal access: this web application instance has been stopped already.  Could not load net.sf.ehcache.store.compound.CompoundStore$KeySet.  The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1777)
        at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
        at net.sf.ehcache.store.compound.CompoundStore.keySet(CompoundStore.java:216)
        at net.sf.ehcache.store.compound.factories.DiskStorageFactory$DiskExpiryTask.run(DiskStorageFactory.java:690)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)

三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/7.0.72
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Sep 14 2016 12:12:26 UTC
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         7.0.72.0
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Linux
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            2.6.32-431.el6.x86_64
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.45.x86_64/jre
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.7.0_45-mockbuild_2013_11_22_18_30-b00
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         /home/tomcat/apache-tomcat-7.0.72
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         /home/tomcat/apache-tomcat-7.0.72
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=/home/tomcat/apache-tomcat-7.0.72/conf/logging.properties
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -XXermSize=64M
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -XX:MaxPermSize=128m
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=/home/tomcat/apache-tomcat-7.0.72/endorsed
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=/home/tomcat/apache-tomcat-7.0.72
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=/home/tomcat/apache-tomcat-7.0.72
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=/home/tomcat/apache-tomcat-7.0.72/temp
三月 09, 2018 1:12:39 上午 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
三月 09, 2018 1:12:39 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-bio-8080"]
三月 09, 2018 1:12:39 上午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-bio-8009"]
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1224 ms
三月 09, 2018 1:12:39 上午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
三月 09, 2018 1:12:39 上午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.72
三月 09, 2018 1:12:39 上午 org.apache.catalina.startup.HostConfig deployWAR
信息: Deploying web application archive /home/tomcat/apache-tomcat-7.0.72/webapps/jeewx.war
三月 09, 2018 1:12:48 上午 org.apache.catalina.startup.TldConfig execute
信息: 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.
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { org.jeecgframework.web.demo.dao.test.JeecgMinidaoDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { org.jeecgframework.web.cgreport.dao.core.CgReportDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { org.jeecgframework.web.cgform.dao.upload.CgFormUploadDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { org.jeecgframework.web.cgform.dao.config.CgFormVersionDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { org.jeecgframework.web.cgform.dao.config.CgFormFieldDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { org.jeecgframework.web.system.dao.repair.RepairDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { org.jeecgframework.web.system.dao.JeecgDictDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { weixin.cms.dao.CmsMenuDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { weixin.cms.dao.CmsAdDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { weixin.cms.dao.CmsArticleDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { weixin.guanjia.message.dao.TextTemplateDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.account.dao.AlipayAccountDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.account.dao.AlipayMenuDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.base.dao.AlipayAutoresponseDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.base.dao.AlipayAutoresponseDefaultDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.base.dao.AlipayGzentityDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.base.dao.AlipayGzuserinfoDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.base.dao.AlipayMessagelogDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.base.dao.AlipayReceivetextContentDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.base.dao.AlipayReceivetextDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.sucai.dao.AlipayNewsitemDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.sucai.dao.AlipayNewstemplateDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.alipay.sucai.dao.AlipayTexttemplateDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.actInvite.dao.WxActInviteDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.auth.dao.JwSystemAuthDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.domo.order.dao.JpDemoOrderCustomDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.domo.order.dao.JpDemoOrderMainDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.domo.order.dao.JpDemoOrderProductDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.account.dao.QywxAccountDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.account.dao.QywxAgentDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.account.dao.QywxMenuDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.base.dao.QywxAutoresponseDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.base.dao.QywxAutoresponseDefaultDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.base.dao.QywxGroupDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.base.dao.QywxGzentityDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.base.dao.QywxGzuserinfoDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.base.dao.QywxLocationDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.base.dao.QywxMessagelogDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.base.dao.QywxReceivetextDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.conversation.dao.QywxConversationDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.sucai.dao.QywxNewsitemDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.sucai.dao.QywxNewstemplateDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.qywx.sucai.dao.QywxTexttemplateDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.core.biz.mutiLang.dao.P3MutiLangDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.core.biz.tag.select.dict.dao.TSTypeDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.core.biz.tag.select.table.dao.CustomTableDao }
[org.jeecgframework.minidao.aop.MiniDaoHandler]register minidao name is { com.jeecg.core.biz.dao.TSOperationDao }
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/tomcat/apache-tomcat-7.0.72/webapps/jeewx/WEB-INF/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/tomcat/apache-tomcat-7.0.72/webapps/jeewx/WEB-INF/lib/slf4j-nop-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
[net.sf.ehcache.distribution.RMICacheManagerPeerListener]Explicitly setting the listener hostname to 'localhost' is not recommended. It will only work if all CacheManager peers are on the same machine.
[net.sf.ehcache.distribution.RMICacheManagerPeerListener]Exception starting RMI registry. Error was Port already in use: 40001; nested exception is:
        java.net.BindException: 地址已在使用
java.rmi.server.ExportException: Port already in use: 40001; nested exception is:
        java.net.BindException: 地址已在使用
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:329)
        at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:237)
        at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:411)
        at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:147)
        at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:207)
        at sun.rmi.registry.RegistryImpl.setup(RegistryImpl.java:123)
        at sun.rmi.registry.RegistryImpl.<init>(RegistryImpl.java:109)
        at java.rmi.registry.LocateRegistry.createRegistry(LocateRegistry.java:203)
        at net.sf.ehcache.distribution.RMICacheManagerPeerListener.startRegistry(RMICacheManagerPeerListener.java:326)
        at net.sf.ehcache.distribution.RMICacheManagerPeerListener.init(RMICacheManagerPeerListener.java:205)
        at net.sf.ehcache.event.CacheManagerEventListenerRegistry.init(CacheManagerEventListenerRegistry.java:104)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:365)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:299)
        at net.sf.ehcache.CacheManager.create(CacheManager.java:697)
        at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:717)
        at org.jeecgframework.core.aop.EhcacheAspect.<clinit>(EhcacheAspect.java:33)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
Caused by: java.net.BindException: 地址已在使用
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:376)
        at java.net.ServerSocket.bind(ServerSocket.java:376)
        at java.net.ServerSocket.<init>(ServerSocket.java:237)
        at java.net.ServerSocket.<init>(ServerSocket.java:128)
        at sun.rmi.transport.proxy.RMIDirectSocketFactory.createServerSocket(RMIDirectSocketFactory.java:45)
        at sun.rmi.transport.proxy.RMIMasterSocketFactory.createServerSocket(RMIMasterSocketFactory.java:344)
        at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:666)
        at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:318)
        ... 48 more
[org.springframework.web.context.ContextLoader]Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehcacheAspect' defined in file [/home/tomcat/apache-tomcat-7.0.72/webapps/jeewx/WEB-INF/classes/org/jeecgframework/core/aop/EhcacheAspect.class]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:997)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:943)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:585)
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:913)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:385)
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:284)
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)
        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
        at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:1092)
        at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1984)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:744)
Caused by: java.lang.ExceptionInInitializerError
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:76)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:990)
        ... 26 more
Caused by: net.sf.ehcache.CacheException: Problem starting listener for RMICachePeer //localhost:40001/eternalCache. Initial cause was error marshalling arguments; nested exception is:
        java.net.SocketException: 断开的管道
        at net.sf.ehcache.distribution.RMICacheManagerPeerListener.notifyCacheAdded(RMICacheManagerPeerListener.java:538)
        at net.sf.ehcache.event.CacheManagerEventListenerRegistry.notifyCacheAdded(CacheManagerEventListenerRegistry.java:159)
        at net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1104)
        at net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:656)
        at net.sf.ehcache.CacheManager.init(CacheManager.java:374)
        at net.sf.ehcache.CacheManager.<init>(CacheManager.java:299)
        at net.sf.ehcache.CacheManager.create(CacheManager.java:697)
        at net.sf.ehcache.CacheManager.getInstance(CacheManager.java:717)
        at org.jeecgframework.core.aop.EhcacheAspect.<clinit>(EhcacheAspect.java:33)
        ... 33 more
Caused by: java.rmi.MarshalException: error marshalling arguments; nested exception is:
        java.net.SocketException: 断开的管道
        at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
        at java.rmi.Naming.rebind(Naming.java:177)
        at net.sf.ehcache.distribution.RMICacheManagerPeerListener.bind(RMICacheManagerPeerListener.java:234)
        at net.sf.ehcache.distribution.RMICacheManagerPeerListener.notifyCacheAdded(RMICacheManagerPeerListener.java:536)
        ... 41 more
Caused by: java.net.SocketException: 断开的管道
        at java.net.SocketOutputStream.socketWrite0(Native Method)
        at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:113)
        at java.net.SocketOutputStream.write(SocketOutputStream.java:159)
        at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
        at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126)
        at java.io.ObjectOutputStream$BlockDataOutputStream.drain(ObjectOutputStream.java:1876)
        at java.io.ObjectOutputStream$BlockDataOutputStream.writeByte(ObjectOutputStream.java:1914)
        at java.io.ObjectOutputStream.writeFatalException(ObjectOutputStream.java:1575)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:350)
        ... 45 more
三月 09, 2018 1:12:55 上午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
三月 09, 2018 1:13:12 上午 org.apache.catalina.util.SessionIdGeneratorBase createSecureRandom
信息: Creation of SecureRandom instance for session ID generation using [SHA1PRNG] took [17,461] milliseconds.
三月 09, 2018 1:13:12 上午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/jeewx] startup failed due to previous errors
三月 09, 2018 1:13:12 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/jeewx] appears to have started a thread named [net.sf.ehcache.CacheManager@7fc7b048] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2018 1:13:12 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/jeewx] appears to have started a thread named [Replication Thread] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2018 1:13:12 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/jeewx] appears to have started a thread named [Replication Thread] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2018 1:13:12 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/jeewx] appears to have started a thread named [eternalCache.data] but has failed to stop it. This is very likely to create a memory leak.
三月 09, 2018 1:13:12 上午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesRmiTargets
严重: Found RMI Target with stub class class [net.sf.ehcache.distribution.RMICachePeer_Stub] and value [RMICachePeer_Stub[UnicastRef2 [liveRef: [endpoint:[127.0.0.1:39238,sun.rmi.transport.proxy.RMIMasterSocketFactory@7e80ae14,net.sf.ehcache.distribution.ConfigurableRMIClientSocketFactory@7d0](local),objID:[-7e4b2ba4:1620699f249:-7fff, 8103773910204140252]]]]]. This RMI Target has been forcibly removed to prevent a memory leak.
三月 09, 2018 1:13:12 上午 org.apache.catalina.startup.HostConfig deployWAR
信息: Deployment of web application archive /home/tomcat/apache-tomcat-7.0.72/webapps/jeewx.war has finished in 32,833 ms
三月 09, 2018 1:13:12 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/ROOT
三月 09, 2018 1:13:12 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/ROOT has finished in 105 ms
三月 09, 2018 1:13:12 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/manager
三月 09, 2018 1:13:13 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/manager has finished in 164 ms
三月 09, 2018 1:13:13 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/examples
三月 09, 2018 1:13:13 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/examples has finished in 491 ms
三月 09, 2018 1:13:13 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/docs
三月 09, 2018 1:13:13 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/docs has finished in 58 ms
三月 09, 2018 1:13:13 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/host-manager
三月 09, 2018 1:13:13 上午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory /home/tomcat/apache-tomcat-7.0.72/webapps/host-manager has finished in 58 ms
三月 09, 2018 1:13:13 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-bio-8080"]
三月 09, 2018 1:13:13 上午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-bio-8009"]
三月 09, 2018 1:13:13 上午 org.apache.catalina.startup.Catalina start
信息: Server startup in 33830 ms

2

主题

0

好友

31

积分

新手上路

Rank: 2

发表于 2018-3-12 10:40:17 |显示全部楼层
已自己解决  解决办法:查找40001端口占用的进程号,然后kill掉
一般使用 lsof -i:40001 
然后 kill -9 进程号
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

Archiver|手机版|JEECG快速开发平台 - 官方论坛 ( 京ICP备12013567号-3 )  

GMT+8, 2019-6-21 07:25 , Processed in 2.262004 second(s), 20 queries , Gzip On, Memcache On.

JEECG Open Source

© 2001-2012 Comsenz Inc.

回顶部