[英]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.