aspose file tools*
The moose likes Tomcat and the fly likes WAR file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "WAR file" Watch "WAR file" New topic
Author

WAR file

Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Hi guys,

I'm trying to upload a WAR file on to my hosting companies server.

The problem i'm having is my WAR file even though i've complied it 'fresh' [date/time of the one i'm uploading is consistent] is the old one, i.e. it doesnt reflect chnages that i've made.

What could be the problem.

I've been on the hosting server and deleted the old WAR file, could there by anything else?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Did you undeploy the old one before deploying the new one?

If not, it's been my experience that not all of the file will be replaced.
Does your hosting company give you access to the Tomcat Manager application?


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Hi Ben,

Thanks for your reply

I have the option of deleting the existing WAR file, so I've deleted it and uploaded the fresh copy, the web interface instructs me to restart, which I do, yet the changed I've made are not reflected?

It all works fine locally.

Could it be that I'm constructing the WAR incorrectly??

Thanks for your thoughts
Zein Nunna
Ranch Hand

Joined: Mar 31, 2005
Posts: 245
Hello guys

Problem solved.

I have discovered Linux is case sensitive and ROOT.war has to be a uppercase 'ROOT'.

Everything else all seems to fall into place.

Other than the broswer difference between IE7 and Firefox.. but I suppose thats for another day.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: WAR file