简体   繁体   English

XAMPP:tomcat不从控制面板启动,仅从bat启动

[英]XAMPP: tomcat doesn't start from control panel, starts only from bat

I installed XAMPP and have trouble starting tomcat. 我安装了XAMPP,无法启动tomcat。 Apache, MySQL, FileZilla start without problems when I click the "Start" button, while Tomcat writes Attempting to start Tomcat service... and seems to pass out - it doesn't start no matter how long I wait for it. 当我单击“开始”按钮时,Apache,MySQL,FileZilla的启动没有问题,而Tomcat则写了“ Attempting to start Tomcat service...并且似乎已失效-不管我等待多长时间都不会启动。

I can start it manually from catalina_start.bat though. 我可以从catalina_start.bat手动启动它。 But I really wish to find out what causes this problem and be able to start tomcat from control panel. 但我真的很想找出导致此问题的原因,并能够从控制面板启动tomcat。 Please help! 请帮忙!

I think that problem is about port conflict, by default both Apache and Tomcat using port 8080, when you using XAMPP and start Apache first then Apache hold that port then you can not start Tomcat, you can start Tomcat via bat file my be because you already stopped the Apache. 我认为该问题与端口冲突有关,默认情况下,Apache和Tomcat都使用端口8080,当您使用XAMPP并首先启动Apache时,Apache会保持该端口,那么您将无法启动Tomcat,则可以通过bat文件启动Tomcat,因为已经停止了Apache。 Also by default when you click on Start button of Tomcat on XAMPP, it will call to catalina_start.bat file. 同样默认情况下,当您在XAMPP上单击Tomcat的“开始”按钮时,它将调用catalina_start.bat文件。

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

相关问题 如何从 Windows.bat 启动 Tomcat webapp - how to start a Tomcat webapp from a Windows .bat Xampp Tomcat无法启动,返回代码:-1073741510 - Xampp Tomcat doesn't start return code: -1073741510 无法在Windows中使用bat文件启动tomcat - Can't start tomcat with bat file in windows 不同的JVM行为:从Eclipse启动tomcat与从Catalina.bat启动 - Different JVM behavior: start tomcat from Eclipse vs start from Catalina.bat Apache tomcat 错误(没有来自 eclipse 或 xampp tomcat) - Apache tomcat error (no from eclipse or xampp tomcat) bluetoothAdapter.startDiscovery() 不从通知面板单击蓝牙按钮就不会启动并立即完成 - bluetoothAdapter.startDiscovery() doesn't start without clicking the bluetooth button from the notification panel and finishes immediately mvn tomcat:run没有启动Tomcat - mvn tomcat:run doesn't start Tomcat 如何从Java干净启动和停止Tomcat,为什么我的方法无法重复工作? - How to start and stop Tomcat cleanly from Java and why my way doesn't work repeatably? Tomcat不在启动时从eclipse启动:本地主机上的Tomcat服务器所需的多个端口(8005、8080)已在使用中 - Tomcat doesn't start from eclipse on startup : Several ports (8005, 8080) required by Tomcat Server at localhost are already in use 从Java运行.bat不会显示CMD - Running .bat from Java doesn't show the CMD
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM