This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Tomcat startup problem after deployment of an application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat startup problem after deployment of an application" Watch "Tomcat startup problem after deployment of an application" New topic

Tomcat startup problem after deployment of an application

mahi tuli

Joined: May 08, 2011
Posts: 6
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

Joined: Oct 27, 2005
Posts: 20078

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.

How To Ask Questions How To Answer Questions
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17026

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.

Customer surveys are for companies who didn't pay proper attention to begin with.
mahi tuli

Joined: May 08, 2011
Posts: 6
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.
Have you checked out Aspose?
subject: Tomcat startup problem after deployment of an application
It's not a secret anymore!