简体   繁体   English

Tomcat 8.0无法运行新的应用程序

[英]Tomcat 8.0 cannot run a new application

I have a web App running on tomcat web server 8.0 The web app is running on port 8080. I no longer want this app and i want a different app to run on the same port. 我有一个在Tomcat Web服务器8.0上运行的Web应用程序该Web应用程序在端口8080上运行。我不再希望该应用程序,并且我希望另一个应用程序在同一端口上运行。 But tomcat is not starting and throwing error Port 8080 is already in use . 但是tomcat没有启动并且抛出错误Port 8080 is already in use How do i stop the previous app completely? 如何完全停止以前的应用程序? When I used windows 7 i used to kill javaw process. 当我使用Windows 7时,我通常会杀死Javaw进程。 Now in windows 10, javaw is not listed as a process 现在在Windows 10中,javaw未列为进程

One Tomcat instance can run (and usually run) multiple applications, seems idea in question is wrong 一个Tomcat实例可以运行(并且通常可以运行)多个应用程序,似乎有问题的想法是错误的

Must deploy ("upload") WAR packaged application from manager panel, or put this file into folder for example C:\\Program Files\\Apache Software Foundation\\Tomcat 7.0\\webapps 必须从管理器面板部署(“上传”)WAR打包的应用程序,或将此文件放入文件夹,例如C:\\Program Files\\Apache Software Foundation\\Tomcat 7.0\\webapps

In typical configuration WAR is decompressed automatically and active in few second without Tomcat restart. 在典型配置中,WAR会自动解压缩并在几秒钟内激活,而无需重新启动Tomcat。

For resolve your problem just try it : 要解决您的问题,请尝试:

1.Go to the bin directory of Tomcat and run shutdown.bat 1.转到Tomcat的bin目录并运行shutdown.bat

2.You can use utility from the Beyond Logic website in below link for kill processes: 2.您可以从Beyond Logic网站的以下链接中使用实用程序来执行杀死进程:

utility from the Beyond Logic website 来自Beyond Logic网站的实用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM