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

Applying patch in java web application

Abhi Agg
Greenhorn

Joined: Dec 22, 2008
Posts: 2
I have web application deployed in tomcat.
I need to provide way to apply patches(bug fixes) by just copying the patched jar files in some patch folder.
How to override the loading of regular WEB-INF/lib jar file with the CATALINAHOME/patch jar file?

Thanks,
Abhi
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
It makes no sense to fiddle with a patch folder, just stop the application, replace the jar files directly and restart the application.

The Tomcat management app has simple commands to start and stop applications.

Bill
Abhi Agg
Greenhorn

Joined: Dec 22, 2008
Posts: 2
Actually our product is deployed using tomcat and customer is directly using it.
So it would be tough and confusing for user to navigate through the webapp directory structure and apply the patch.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42292
    
  64
Are you saying that the users are creating patches for the software supplied by your company? That's rather an unusual way of doing things, isn't it?


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applying patch in java web application