wood burning stoves*
The moose likes Struts and the fly likes Where to place Struts jars in Tomcat 5.5? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Where to place Struts jars in Tomcat 5.5?" Watch "Where to place Struts jars in Tomcat 5.5?" New topic
Author

Where to place Struts jars in Tomcat 5.5?

Priya Bindra
Ranch Hand

Joined: Sep 22, 2009
Posts: 51
We all know that whenever we store the struts jars in WEB-INF/lib folder of the webapp, and we need to redeploy the app, we must shut down tomcat.

Also, i feel it is a bad design practise to store struts jars within each webapp, when tomcat can host multiple struts webapps.

So i placed the struts jars in tomcat's common/lib folder and it works well. Although, i tried to place the struts jars inside another folder i.e. common/lib/struts-lib, but the container couldnt read jars from there.

Please let me know if this is the standard industry practise?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

Normal practice is to put Struts jars in each webapp. This is particularly important as you may need to deploy multiple versions of Struts at once, plus Struts (Struts 1) is relatively old and simply may not work in a shared environment.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Where to place Struts jars in Tomcat 5.5?
 
Similar Threads
ERRORgetProxyFactory, CGLIB Enhancement failed:
Deploying WAR file on Tomcat
Strange Problem with servlet output
Redeploy application
Struts Config