已开启
【24.03 RISCV64版本】RISCV64架构下 systemctl stop tomcat-jsvc.service 失败 #6
AtomGit-Bot创建于 2024年4月3日
openeuler-ci-bot
2024年4月3日 评论:
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


2024年4月3日 创建了缺陷
2024年4月3日 添加了
sig/Application
标签
2024年4月3日 修改了标题
2024年4月3日 修改了描述
Dingli Zhang
2024年8月14日 评论:
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


laokz
2025年8月6日 评论:
2025年8月6日 评论:
这个issue可以关闭了


【标题描述】
在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
【实际结果】
【其他相关附件信息】
在x86下测试:环境(openEuler 22.03 sp3)
则是正常的