Here are some points to note when registering Tomcat as a service. The details are as follows: After opening the interface, look at the environment variables below. If you don’t understand, it is recommended to learn what environment variables are. . First of all, as shown in the figure above, these four environment variables must be present: There are many places in the service.bat file that require these four environment variables. Missing any one of them will cause problems. Registration may not necessarily fail, but there will be some problems during operation. You can test it by dragging the service.bat file in the bin folder in your tomcat root directory into cmd and pressing Enter The command appears, enter the command (the name is self-defined): service.bat install Tomcat9 One thing to note is, don’t assume that the sentence at the bottom, “The service '……' has been installed,” is correct. It's good enough if it appears, but the path in the framed area in the picture above must exist, otherwise there will be problems. This is what I suffered. If the above path does not exist, uninstall Tomcat, reconfigure the environment variables, and then install it again. . . Summarize This concludes this article on several points to note when registering Tomcat as a service. For more information about registering Tomcat as a service, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future! |
<<: MySQL single table query example detailed explanation
>>: Understanding v-bind in vue
I am a beginner in SQL and thought that the insta...
Generally, we rarely meet HR, but once we do, it c...
This article describes how to create multiple ins...
In fact, many companies have functions similar to...
1. Write the Dockerfile (1) Right-click the proje...
MySQL error: Parameter index out of range (1 >...
Although Mac systems come with PHP and Apache, so...
Due to the limitation of CPU permissions, communi...
Mysql5.5 dual machine hot standby Implementation ...
Preface scp is the abbreviation of secure copy. s...
Table of contents 1. Introduction 2. Code Impleme...
Table of contents Basic database operations 2) Vi...
Copy code The code is as follows: @charset "...
Table of contents Show Me The Code Test the effec...
Table of contents Overview Is the extension neces...