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条)