I am creating a project which is in jsp,servlet and tomcat v 8.0.upto last night it works fine but today it didn't work it gives error in publishing tomcat server,please give me any suggestions. I used Eclipse Mars and Tomcat v8.0 Actually I try to clean Tomcat Work Directory and also clean project("build/clean"), but still i get this error what should I do??
Asked
Active
Viewed 2.2k times
11
-
Is this helpful in solving your problem? http://stackoverflow.com/questions/23288991/tomcat-v7-0-stopped-to-run-my-project-at-localhost (this popped in top 3 when I copypasted your title in a well known search engine). – BalusC Mar 24 '16 at 10:14
5 Answers
21
One or more of the temporary xml files have become corrupt.
- Close eclipse.
- In your workspace go to
.metadata/.plugins/org.eclipse.wst.server.core
- Delete the tmp[#] folder. (where [#] is some number). Mine was called tmp0
- Start eclipse

pyropunk51
- 404
- 6
- 8
-
worked fine.. when deleted all temp files there (temp0 and temp1 in my case). – Abhishek Sarkar Aug 15 '18 at 09:55
-
2Deleting the tmp folder (tmp0 in my case) got me farther and brought up a new error message: "org.apache.catalina.LifecycleException: Failed to start component". Then I right-clicked on the server and did "Clean..." and that fixed it for good. Also, maybe helpful for others, this problem happened to me because the disk space filled up. – Michael Singer Jan 20 '19 at 12:48
-
6
In my case, the server.xml file in Tomcat directory (/conf/server.xml) was corrupt. Replacing it with the original version worked for me.

Padmini C
- 119
- 1
- 3
-
Thank you, worked for me as well. I did not have to delete my tomcat – Vineela Thonupunuri Oct 05 '21 at 19:59
1
Your tomcat apache has been corrupted. so you have to delete your server and configure again. I

suraj mahto
- 21
- 1
1
From the Servers view:
- right click on your server
- properties
- Switch Location
This worked for me.

Akrax
- 53
- 5
0
Here you have to follow some steps:
- go to the server and right-click on the server, click on delete
- click to remove all servers from the list and press apply & save
- add the server (tomcat or other)
- start that server
You have to wait for sometime while it configure all data, finally click on restart server.

Matt
- 721
- 9
- 26

Akshay bhavsar
- 29
- 2
-
Yes this solves the problem. And Im here to find a solution without doing this because this is not the correct and effiecient **solution** to the problem. – Blasanka Apr 14 '20 at 06:31