wood burning stoves 2.0*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 60800

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: http://aspose.com/file-tools
subject: Latest Class files not picked up by Tomcat
Similar Threads
Accessing a Remote EJB in Glassfish from Tomcat
Changing Xms and XmX Parameters in tomcat.
Hot Deployment in IntelliJ and Tomcat
JWS and setup/configuration files
Tracing back to development from production