Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Maven generated a WAR via an automated build, but then the WAR had to be manually tweaked so that an Apache/Tomcat combo on another computer could host the WAR.

The logs didn't provide much info, so I'm looking at the exploded WAR folder of a working WAR and non-working WAR.

Would you just use WinMerge (Mac OC Windiff-like tool) for reviewing the differences in the exploded WAR contents between the working and non-working WAR?

Is there something in particular that you'd look for in the non-working WAR?

share|improve this question
up vote 1 down vote accepted

I have had to do this before though in linux. I exploded both the war files out and did

$ diff --brief -r originalwebapp.war/ newwebapp.war/

This lists all the files that are different between the two archives. Hopefully, it will be a few files - most likely in the WEB-INF/ folder re: configuration of one form or another OR maybe libs being moved around.

share|improve this answer
thanks @Shri. I'll try that out – Kevin Meredith Jan 23 '13 at 23:35

Your Answer


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.