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

I'm trying to update a legacy application to Tomcat10Java21 and ran into a block while debugging

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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1743776276a4505293.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信