Problem
[main] WARN bitronix.tm.Configuration - cannot get this JVM unique ID. Make sure it is configured and you only use ASCII characters. Will use IP address instead (unsafe for production usage!).
Solution[CentOS]
Use a newer version centos[Solution 1]
CentOS6.8[kernel 2.6] --> CentOS7.4[kernel 3.10]
Move Java & Tomcat to /usr/local directory[Solution 2]
Note
I tried these two ways above, and that works for me, but there are other things which may cause this problem, just have a try.

本文解决了在CentOS上运行Java应用时遇到的警告问题,该警告提示无法获取JVM的唯一ID。解决方案包括升级到CentOS 7.4版本和将Java与Tomcat移至/usr/local目录。

被折叠的 条评论
为什么被折叠?



