pintu shah wrote:
whenever you want to deploy third party's war file at that time you have to change the owner of the war file to current system name or user name.
No you don't. You just have to make sure that the server has to have read access rights to the WAR. Usually, that means that the WAR has been assigned to the Tomcat userID, or at least to a user group that Tomcat is a member of, but with "anyone can read" rights, Tomcat can read the WAR regardless of owner or group assigned to the WAR file.
If you deploy a WAR via JSR-88 or the Tomcat management webapp, all that's required is that the person deploying the WAR have read access rights to it, since the remote deployer copies the WAR to Tomcat using tomcat's own file access rights. That's because file access rights aren't part of the (WAR) file, they're part of the filesystem directory entry for the file, and HTTP file upload neither will nor can copy access rights. For one thing, they're not OS independent.
An IDE is no substitute for an Intelligent Developer.