Starting tomcat server at localhost has encountered a problem
there are two ways to resolve the query:
- Try to kill the process on port 8080 and re run the tomcat.
- Run the tomcat on other port. Steps to change the port are as below:
http://www.codejava.net/servers/tomcat/how-to-change-port-numbers-for-tomcat-in-eclipse
Related videos on Youtube
Cœur
Everybody should contribute to clean up Stack Overflow. SO is intended to be a top-quality Q&A site, meant not just for the OP, but for posterity. Thanks to search engines, questions and answers become authoritative for the whole Internet. --Paul Draper TODO: disambiguate the 18,300+ duplicate titles from 41,600+ questions fix the uneditable titles (1,117 titles with length < 15) fix the uneditable titles (containing "help", "problem", "question", "doubt", …) fix the uneditable messages (containing "mydomain.com", "domain.com", "mysite.com", "site.com", "abc.com", "xyz.com", …) fix the uneditable messages with link shorteners (5,032 url:goo.gl, 3,673 url:bit.ly, 1,982 url:tinyurl.com, 1,748 url:cl.ly, …) remove the dead images/codes (8,051 url:imageshack.us, 2,818 url:pastie.org, 2,307 url:photobucket, 430 url:skitch.com, 214 url:rapidshare.com, 78 url:paste.ofcode.org, 58 url:expirebox.com, 4 url:megaupload.com, …) fix the broken links in messages, broken links to connect.microsoft.com, … review the potentially broken Apple links: #DOCUMENTATION in the URL, /library but not /archive in the URL, url:developer.apple.com/mac/library, url:developer.apple.com/safari/library rollback the 99+ solved, resolved, fixed, answered titles (meta, alternative query) correct the spelling in titles correct the 6,600+ "thanks in advanced" and 1,100+ "thanks in advice", …
Updated on May 25, 2022Comments
-
Cœur almost 2 years
Basically I have followed all the instructions to run Java EE programs. I have downloaded and installed tomcat apache server and configured 8080 port on it (it runs successfully on my pc). And I have downloaded and installed Eclipse IDE and connected it to the server.
Then I tried testing it via this simple code:
<html> <body> <h3>Hello World</h3> <p>The time on server is <%= new java.util.Date() %></p> </body> </html>
But whenever I run it I faced this problem:
Starting tomcat server at localhost has encountered a problem
You can see the full error message in this image
-
ΦXocę 웃 Пepeúpa ツ over 6 yearsdo you have another instances of the server running???
-
Zeromus over 6 yearsor, as the error says, you could have other process using those ports that need to be stopped for tomcat to work
-
Pradeep over 6 yearsStop the server which is using your current port and start the server.Follow these instructions.
-
Pradeep over 6 years
-
tobarata over 6 yearsHi, your port 8080 is busy. Do you have skype running ? Most of the time skype is the problem (it uses 8080 as alternative port). You have to change this setting or just quit skype.
-
-
Admin over 6 yearsGreat answer and now I have faced this problem: stackoverflow.com/questions/46238055/…