linux服务器下报错java.net.SocketException: Broken pipe (Write failed)
错误信息:Root Causenet.sf.ehcache.CacheException: Problem starting listener for RMICachePeer //localhost:40001/dictCache. Initial cause was error marshalling arguments; nested exception is:
java.net.SocketException: Broken pipe (Write failed) net.sf.ehcache.distribution.RMICacheManagerPeerListener.notifyCacheAdded(RMICacheManagerPeerListener.java:538) net.sf.ehcache.event.CacheManagerEventListenerRegistry.notifyCacheAdded(CacheManagerEventListenerRegistry.java:159) net.sf.ehcache.CacheManager.addCacheNoCheck(CacheManager.java:1104) net.sf.ehcache.CacheManager.addConfiguredCaches(CacheManager.java:656) net.sf.ehcache.CacheManager.init(CacheManager.java:374) net.sf.ehcache.CacheManager.<init>(CacheManager.java:299) net.sf.ehcache.CacheManager.create(CacheManager.java:697) org.jeecgframework.core.util.EhcacheUtil.<clinit>(EhcacheUtil.java:20) org.jeecgframework.web.system.manager.ClientManager.addClientToCachedMap(ClientManager.java:42) org.jeecgframework.web.system.manager.ClientManager.addClinet(ClientManager.java:82) org.jeecgframework.core.util.ResourceUtil.getSessionUser(ResourceUtil.java:83) org.jeecgframework.web.system.controller.core.LoginController.login(LoginController.java:412)
这个问题该如何解决,求大神~
对啦同样的war包放在 window server下 就能成功启动 本帖最后由 iSuperGifted 于 2018-7-16 09:08 编辑
找到原因了,其实是因为 Linux下 ./shutdown.sh 关闭tomcat服务器其实并没有结束tomcat的进程,而./startup.sh 有启动了一个,最后导致系统有很多tomcat的进程,ps -ef|grep java将所有的java进程kill掉,然后重启tomcat就ok了
页:
[1]