Lori,
On 2/1/24 10:35, Lori Kilen wrote:
Hello,
I have a Windows server (v2019) and I've updated java to Corretto jdk11.0.22_7 and Tomcat to 9.0.85. I added Tomcat as a Windows Service.
I can start Tomcat from CMD using startup.bat and I can open localhost:8080 in a browser to display Tomcat page. But I cannot start Tomcat from javaw. I get the following entries in the log file:
[info] [ 8024] Apache Commons Daemon procrun (1.3.4.0 64-bit) started.
[info] [ 8024] Running Service 'Tomcat9'...
[info] [ 8748] Starting service...
[error] [ 6892] FindClass org/apache/catalina/startup/Bootstrap failed
[error] [ 6892] The system cannot find the file specified.
[error] [ 8748] Failed to start Java
[error] [ 8748] ServiceStart returned 4.
[info] [ 8024] Run service finished.
[info] [ 8024] Apache Commons Daemon procrun finished.
My CLASSPATH="C:\Tomcat\bin\bootstrap.jar;C:\Tomcat\bin\tomcat-juli.jar"
bootstrap.jar is present in Tomcat\bin, and the folder permissions for Tomcat
mirror what is specified on another, working, server (Tomcat 9.0.62 with jdk
and jre 1.8.0_331)
I've searched the mail archives and online, and found similar questions, but those solutions have not resolved this issue. At this point, I've removed all Java options in javaw.
Can anyone provide any guidance to resolve this issue?
After you upgraded Tomcat and Jav, did you remove any existing Windows
Service and re-install it? One might usually do that using the
bin\service.bat script, but there are other ways.
If you didn't remove/reinstall the service, did you edit the existing
service to ensure that your catalina.home and catalina.base system
properties (in the Java tab) were set to the correct locations? And did
you update the Java binary to point to the newly-installed Java?
-chris
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org