File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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: 12682
    
    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


Java Resources at www.wbrogden.com
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: 39553
    
  27
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 - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Applying patch in java web application
 
Similar Threads
Servlet 2.3 not supported by Websphere 4.0 .. solution?
Not able run mysql based jdbc program
JSP cannot call Servlet
how to refer a jar outside executable in desktop application?
Java source files security