当前位置:网站首页>jeecg 重启报40001
jeecg 重启报40001
2022-07-01 08:39:00 【sirwsl】
报错
30-May-2022 09:52:49.525 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 70168 ms
sessionCreated:C1BE6C7539EDDD600FE1DAB8A001BF77
[2022-05-30 09:52:54] [WARN] [net.sf.ehcache.distribution.RMICacheManagerPeerListener:120] Explicitly setting the listener hostname to 'localhost' is not recommended. It will only work if all CacheManager peers are on the same machine.
[2022-05-30 09:52:54] [ERROR] [net.sf.ehcache.distribution.RMICacheManagerPeerListener:330] Exception starting RMI registry. Error was Port already in use: 40001; nested exception is:
java.net.BindException: 地址已在使用 (Bind failed)
java.rmi.server.ExportException: Port already in use: 40001; nested exception is:
java.net.BindException: 地址已在使用 (Bind failed)
at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:346)
问题
重启jeecg的tomcat后,出现上述错误,运行netstat -tunlp |grep 40001发现有服务,但是查pid查不到
运行lsof -i:40001后出现一堆这啥
解决
1:查找一下 ehcache.xml文件
find ./ -name ehcache.xml
2:编辑ehcache.xml文件,找到cacheManagerPeerListenerFactory节点
将40001随便改个port,保存,重启完事
边栏推荐
猜你喜欢

Principle and application of single chip microcomputer - off chip development

MAVROS发送自定义话题消息给PX4

Dynamic proxy

The data analyst will be ruined without project experience. These 8 project resources will not be taken away

《单片机原理及应用》-片外拓展

ARM v7的体系结构A、R、M区别,分别应用在什么领域?

Screenshot tips

View drawing process analysis

factory type_id::create过程解析

【无标题】
随机推荐
AVL树的理解和实现
Tita OKR: a dashboard to master the big picture
factory type_id::create过程解析
Centos7 shell脚本一键安装jdk、mongo、kafka、ftp、postgresql、postgis、pgrouting
截图小妙招
Programming with C language: calculate with formula: e ≈ 1+1/1+ 1/2! …+ 1/n!, Accuracy is 10-6
【无标题】
Differences among tasks, threads and processes
How can enterprises and developers take the lead in the outbreak of cloud native landing?
Redis publish subscription
Nacos - gestion de la configuration
一文纵览主流 NFT 市场平台版税、服务费设计
Audio audiorecord create (I)
用C语言编程:用公式计算:e≈1+1/1!+1/2! …+1/n!,精度为10-6
易点易动助力企业设备高效管理,提升设备利用率
Public network cluster intercom +gps visual tracking | help the logistics industry with intelligent management and scheduling
What is 1cr0.5mo (H) material? 1cr0.5mo (H) tensile yield strength
vscode自定义各个区域的颜色
《微机原理》—总线及其形成
C语言指针的进阶(上篇)