已开启
【24.03 RISCV64版本】RISCV64架构下 systemctl stop tomcat-jsvc.service 失败 #6
AtomGit-Bot创建于  2024年4月3日
AtomGit-Bot
2024年4月3日 创建

【标题描述】
在oerv 2409环境下stop tomcat-jsva failed

【环境信息】
硬件信息:openEuler RISCV64-24.03

【问题复现步骤】
dnf install tomcat-jsvc.service
systemctl start tomcat-jsvc.service
systemctl stop tomcat-jsvc.service
systemctl status tomcat-jsvc.service
【实际结果】
image-20240403142835800
【其他相关附件信息】
在x86下测试:环境(openEuler 22.03 sp3)
则是正常的
image-20240403143043051

likedislike
openeuler-ci-bot
openeuler-ci-bot成员
2024年4月3日 评论:

Hi yinist, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Application, and any of the maintainers: @jimmy_hero , @zhuchunyi , @small_leek , @AlexZ11 , @caodongxia , @wk333 , @starlet-dx

likedislike
AAtomGit-Bot
2024年4月3日 创建了缺陷
openeuler-ci-botopeneuler-ci-bot成员
2024年4月3日 添加了   sig/Application 标签
AAtomGit-Bot
2024年4月3日 修改了标题
AAtomGit-Bot
2024年4月3日 修改了描述
Dingli Zhang
Dingli Zhang
2024年8月14日 评论:

此问题其实是因为start与stop间隔时间太短,服务并没有完全启动就直接stop导致的。
在x86的openeuler24.03上测试,只要start与stop间隔时间很短,也会stop failed,见:

输入图片说明

而在riscv64上更明显的原因是不论是qemu还是开发板,目前性能都无法与x86相比,所以需要更多的启动时间。
另外默认的jdk8在riscv64上不含有jit,可以使用11及以上的版本来使能jit。

除了访问webapps/ROOT下的默认页之外,可以查看/var/log/tomcat/catalina.out日志文件来判断是否启动完成:

INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 75218 ms
likedislike
laokz
laokz
2025年8月6日 评论:

这个issue可以关闭了

likedislike