当前位置:网站首页>慎用TongWeb的热部署功能
慎用TongWeb的热部署功能
2022-07-17 20:46:00 【萝卜白菜。】
TongWeb的热部署功能可以在应用的web.xml、class、jar发生变化时自动重部署应用,该功能在应用测试阶段可以用,但在生产环境中一定要关闭"热部署功能"。 否则应用web.xml、class、jar一更新,就会触发自动重部署,造成正在访问的用户中断。甚至可能引发此问题:TongWeb上反复重部署应用后异常:application instance has been stopped already 或OutOfMemoryError:Metaspace_realwangpu的博客-CSDN博客

从server.log可以看到,应用在重复加载:
[2021-03-27 13:32:59 325] [INFO] [ContainerBackgroundProcessor] [web-container] [Reloading context [TC_examples]]
[2021-03-27 13:32:59 328] [INFO] [ContainerBackgroundProcessor] [core] [Reloading Context with name [TC_examples] has started]
[2021-03-27 13:32:59 383] [INFO] [ContainerBackgroundProcessor] [core] [SessionListener: contextDestroyed()]
[2021-03-27 13:32:59 384] [INFO] [ContainerBackgroundProcessor] [core] [ContextListener: contextDestroyed()]边栏推荐
- Compréhension initiale de la fonction - partie 2
- 活动预告|Apache Doris x Apache SeaTunnel 联合 Meetup 开启报名!
- 华为无线设备配置静态负载均衡
- ModuleNotFoundError: No module named ‘_ distutils_ hack‘
- Huawei Technologies:Jonatan Krolikowski | 从设计到部署零接触深度强化学习WLANs
- 【7.8】Educational Codeforces Round 131 (Rated for Div. 2)
- Introduction:Multiple DataFrames
- Microservice calling component feign practice
- 函數初認識-下
- Robotics at Google:Laura Graesser | i-Sim2Real:在紧密的人机交互循环中强化学习机器人策略
猜你喜欢

面额10exp(303)的钞票

Tencent cloud object storage operation process

NFT市场格局仍未变化,Okaleido能否掀起新一轮波澜?

Silent AI: how does shengteng AI solve the problem of sign language learning with large models?

歐奈爾的RPS曲線的編制方法(陶博士原創)

Some puzzles about data dictionary

What are the ways to realize load balancing?

Colliding mice collision engineering analysis

The NFT market pattern has not changed. Can okaleido set off a new round of waves?
![Luo Gu: p3092 [usaco13nov]no change G](/img/b9/8cacd3d4ae1cf014654e0204cb3a62.png)
Luo Gu: p3092 [usaco13nov]no change G
随机推荐
面额10exp(303)的钞票
topy库的安装(拓扑优化软件)
STL string output and modification
FreeRTOS-空闲任务和阻塞延时的实现
Initial understanding of functions - next
Luo Gu: p3092 [usaco13nov]no change G
活动预告|Apache Doris x Apache SeaTunnel 联合 Meetup 开启报名!
坐标模拟矩阵旋转的公式
STL string replication comparison
Several small open source projects of mine over the years
面试记录
TKE(K8S)部署mysql使用CFS存储
96. Different binary search trees
"Podcast" \ # 392 original Tang Lang original food: MIDSUMMER night, ma Sha, kebab, Kebab
Colliding mice collision engineering analysis
TKE跨云联网挂载CFS
JSON path syntax introduction and usage scenarios
asterisk:No compatible codecs, not accepting this offer!
洛谷:P4516 [JSOI2018] 潜入行动(树形dp、树上分组背包统计方案数)
【6.15】Codeforces Round #798 (Div. 2)