最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

java - Tomcat10 Apache Commons Daemon - CreateJavaVM Failed - Stack Overflow

programmeradmin3浏览0评论

I'm trying to update a legacy application to Tomcat10/Java21 and ran into a block while debugging the windows service. This service is installed using tomcat itself: tomcat10.exe //IS//myservice --StartClass ....

It appears, before java can even be started the service is running into an issue; commons-daemon.log gives the following information:

[info]  [17860] Apache Commons Daemon procrun (1.4.1.0 64-bit) started.
[info]  [17860] Running Service 'myservice'...
[info]  [ 3124] Starting service...
[error] [  868] CreateJavaVM Failed with error [-6]
[error] [  868] The system cannot find the specified file.
[error] [ 3124] Failed to start Java
[error] [ 3124] ServiceStart returned 4.
[info]  [17860] Run service finished.
[info]  [17860] Apache Commons Daemon procrun finished.

Can anyone identify the what's wrong here, or just suggest a method of increasing the log level at THIS SPECIFIC POINT? I already tried modifying tomcat's logging.properties without success.

发布评论

评论列表(0)

  1. 暂无评论