当前位置:网站首页>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,保存,重启完事
边栏推荐
- 大型工厂设备管理痛点和解决方案
- 《单片机原理与应用》——并行IO口原理
- What are the differences between the architecture a, R and m of arm V7, and in which fields are they applied?
- 【MFC开发(17)】高级列表控件List Control
- MATLAB【函数求导】
- 集团公司固定资产管理的痛点和解决方案
- Glitch free clock switching technology
- Advanced C language pointer (Part 2)
- 任务、线程、进程 区别
- MATLAB【函数和图像】
猜你喜欢

What are the differences between the architecture a, R and m of arm V7, and in which fields are they applied?

Foundation: 2 The essence of image

【C】 Summary of wrong questions in winter vacation

SPL installation and basic use (II)

Nacos - 配置管理
![Matlab [functions and images]](/img/8a/d2f68b5a7ed396ad20234c0aa24953.jpg)
Matlab [functions and images]

中小企业固定资产管理办法哪种好?

Matlab tips (23) matrix analysis -- simulated annealing

FreeRTOS学习简易笔记

FreeRTOS learning easy notes
随机推荐
The meaning of yolov5 training visualization index
基础:3.opencv快速入门图像和视频
3、Modbus通讯协议详解
C语言指针的进阶(上篇)
固定资产管理系统让企业动态掌握资产情况
factory type_id::create过程解析
NIO-零拷贝
Centos7 shell script one click installation of JDK, Mongo, Kafka, FTP, PostgreSQL, PostGIS, pgrouting
【MFC开发(16)】树形控件Tree Control
The data analyst will be ruined without project experience. These 8 project resources will not be taken away
【面试必刷101】链表
MD文档中插入数学公式,Typora中插入数学公式
基于Gazebo的无人机管道检测
Qt的模型与视图
【无标题】
SPL Introduction (I)
What are the differences between the architecture a, R and m of arm V7, and in which fields are they applied?
Nacos - 配置管理
vscode自定义各个区域的颜色
How can enterprises and developers take the lead in the outbreak of cloud native landing?