Solution to Tomcat server failing to open tomcat7w.exe

Solution to Tomcat server failing to open tomcat7w.exe

I encountered a little problem when configuring the Tomcat server today, and I would like to provide some reference for you. There are many configuration tutorials on the Internet for your reference. If you encounter any problems, you can check the following link for more details: https://zhidao.baidu.com/question/874079261073744612.html

The main problem is that after the configuration, tomcat7w.exe still cannot be opened. I thought it was not configured properly at the time, and I tried many methods, but still could not open. But later I found that although this file could not be opened, it was executed in cmd command:

The execution result finally shows the following information:

It was only then that I suddenly realized that Tomcat had actually been configured long ago, but tomcat7w.exe was not opened. Although it cannot be opened, it does not matter much, but how to open the file?

The solution is:

Enter the command line prompt cmd, enter the bin installation directory of Tocat, and enter: service.bat install .

For example, my path is D:\eclipsenew\apache-tomcat-7.0.82-windows-x64\apache-tomcat-7.0.82\bin>service.bat install

Run directly, double-click Tomcat7.exe again to run it.

This way you can see the expected results.

Summarize

The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links

You may also be interested in:
  • The pitfalls of using HBuilderx to package app in vue-cli
  • Detailed steps for configuring Tomcat server in IDEA 2020
  • Implementation of deploying vue project to nginx/tomcat server
  • Detailed explanation of how to configure the tomcat external server in HBuilderX to view and edit the jsp interface

<<:  How to implement function currying and decurrying in Javascript

>>:  MySQL 5.6.22 installation and configuration method graphic tutorial

Recommend

Common errors and solutions for connecting Navicat to virtual machine MySQL

Question 1 solve Start the service: service mysql...

mysql 5.7.5 m15 winx64.zip installation tutorial

How to install and configure mysql-5.7.5-m15-winx...

Detailed explanation of nginx optimization in high concurrency scenarios

In daily operation and maintenance work, nginx se...

Detailed explanation of Bind mounts for Docker data storage

Before reading this article, I hope you have a pr...

A brief discussion on the lock range of MySQL next-key lock

Preface One day, I was suddenly asked about MySQL...

Implementation of Docker building Maven+Tomcat basic image

Preface In Java programming, most applications ar...

Detailed explanation of linux nslookup command usage

[Who is nslookup?] 】 The nslookup command is a ve...

How to load the camera in HTML

Effect diagram: Overall effect: Video loading: Ph...

How to display small icons in the browser title bar of HTML webpage

Just like this effect, the method is also very si...

Detailed explanation of MySQL's FreeList mechanism

1. Introduction After MySQL is started, BufferPoo...

Analysis of Linux boot system methods

This article describes how to boot the Linux syst...

Implementation of TypeScript in React project

Table of contents 1. Introduction 2. Usage Statel...

Detailed tutorial for installing influxdb in docker (performance test)

1. Prerequisites 1. The project has been deployed...

Problem record of using vue+echarts chart

Preface echarts is my most commonly used charting...