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 Latest Class files not picked up by Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Products » Tomcat
Bookmark "Latest Class files not picked up by Tomcat" Watch "Latest Class files not picked up by Tomcat" New topic

Latest Class files not picked up by Tomcat

Steve Renard
Ranch Hand

Joined: Apr 27, 2007
Posts: 66
We have a web application running on Tomcat in a remote machine.
I needed to make some changes to some of the screens in the application.
So I took a mirror copy of the entire tomcat folder to my local machine.
And I tested my changes on my machine and it works fine.
I tried to update these changes to the remote machine.
So, when I copied the WEB-INF/classes folder to the remote machine and restarted Tomcat, it wouldn't work.
It's not picking up the latest class files. Instead, it's using the old class files.
Please help..
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63211

If you replace the class files with the new ones, how could it pick up the older (now non-existant) ones? Examine your procedures to ensure that the files are getting put where you think they are and that the container is being properly restarted.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Latest Class files not picked up by Tomcat
jQuery in Action, 3rd edition