File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Tomcat startup problem after deployment of an application

mahi tuli
Greenhorn

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
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

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.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16095
    
  21

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
Greenhorn

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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat startup problem after deployment of an application