aspose file tools*
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 Spring in Action this week in the Spring 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
Author

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
Marshal

Joined: Jan 10, 2002
Posts: 61413
    
  67

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