Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am a Apache Tomcat newbie and about to deploy an upgraded version of a Spring MVC application (compiled to a .war file) on an Apache Tomcat/6.0.28 server, using Tomcat Web Application Manager.

Because I am not 100% certain that the application will work properly in a production environment, I want to be able to roll back to the currently deployed .war file. Since I don't have this file locally but it obviously is on the server, I would like to download it from Tomcat Web Application Manager before I overwrite it.

Is this possible or is there another way?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Unless you have access to the server filesystem I don't think you'll be able to access the existing web application.

If you do have access to the filesystem you should be able to find the deployed webapp in the tomcat web-apps directory, from which you can just copy out the file.

share|improve this answer
    
Thanks. That was what I suspected. –  Gruber Sep 28 '12 at 11:18
    
On my machine I located the war files in the folder /var/lib/tomcat6/webapps. –  Gruber Nov 14 '12 at 10:53

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.