Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tomcat startup problem after deployment of an application

 
mahi tuli
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have deployed a struts application on tomcat 6.0.18 it was working fine till 1st march. I have deployed the same application on other machine also it was working fine their too. But now its not working any where. even i am not able to start start my tomcat server. But if i am deleting the classes folder from WEB-INF of that application from tomcat then i am able to start tomcat.Please Help me.Its urgent
 
Rob Spoor
Sheriff
Pie
Posts: 20495
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
mahi tuli wrote:Its urgent

Please EaseUp. There is no such thing as urgent around here.

Check your Tomcat logs. If there's a problem during startup it's most likely logged there. The two files you should look at most are catalina.<DATE>.log and localhost.<DATE>.log.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18025
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nobody gets paid here, so we have no operators standing by 24x7 waiting to give instant responses. Most questions do get an answer in a day or two, providing some knows an answer. We're oriented towards self-improvement here. For emergency support, you need to find someone you can buy a service contract from.

When you use the default WAR deployment mechanism (dropping a WAR file in the TOMCAT_HOME/webapps directory), Tomcat will unzip it into a directory with the same name as the WAR. This will then become the definitive copy of the webapp. You can delete the WAR file, and Tomcat will never notice.

A darker side-effect is that you can also update the WAR file and Tomcat will never notice. It will continue to use the older code that's in the unzipped ("exploded") WAR.

For maximum cleanliness when updating a WAR, shutdown Tomcat, delete the WAR file and exploded WAR from TOMCAT_HOME/webapps. Then delete everything under TOMCAT_HOME/temp and TOMCAT_HOME/work. I also clear out the logs directory, but that's not required.

After all that, drop in your new WAR and start TOMCAT. That will ensure a clean app. If there's trouble at that point, let us know.
 
mahi tuli
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My log file say JVM_Bind that means my tomcat is running already. i opened web browser and i was able to see the first page of tomcat server. but i am not able to run my application there. I am using windows 7. I am not able to see tomcat as a running process in my task manager. I dot know how to stop that process and start a new.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic