XAMPP Tomcat Not Stopping
You should check the PID and verify that it is not associated with any other service/process mistaken for Tomcat by XAMPP.
In my case I had Jenkins running on port 8080 and starting XAMPP it was "guessing" that Tomcat was already running:
In reality, looking at the PID (198092 in my case) it was associated with java.exe:
and this was a process generated by my Jenkins server running on that port:
This is why you cannot stop Tomcat from there... (it is not Tomcat running on 8080).
To verify this and properly start Tomcat you can try this:
Stopping Jenkins:
Will remove the service running on 8080 and XAMPP is able to correctly detect that Tomcat is not running:
At this point you can Start Tomcat in XAMPP (and it should start for real this time):
Going to the localhost page, port 8080 you will have a proof of it:
If you want you can now successfully stop it from XAMPP:
Ani
I am a learner with over 5 years of experience working on AWS, NodeJs, Java and Python I'm 4x AWS certified and experienced in architecting, implementing and troubleshooting applications using Amazon Web Services. Technical skills involve working on NodeJs, Java and Python, using Serverless, Spring, Hibernate and Express frameworks using NoSQL(AWS DynamoDB) databases, Search engines(AWS CloudSearch and ElasticSearch) and Relational DBs(MySql / Postgres)
Updated on July 24, 2022Comments
-
Ani almost 2 years
I have XAMPP installed on my Windows machine, I am unable to stop the Tomcat server.
I have tried to kill the process with the Process Id as well, But weirdly it's not showing in the Task Manager nor the local Services, Which I referred from here - apache service not stopping in xampp
Here's my XAMPP Control Panel screenshot -
Here's the Task Manager, I can't find the Process ID 3104 as shown in the XAMPP Control Panel-
I did run the command "Services.msc" to find and stop it but, no luck there either.
-
Admin over 2 yearsPlease provide additional details in your answer. As it's currently written, it's hard to understand your solution.