The main consideration is whether or not you want all your applications
to run on the same versions of these components.  By putting them in
commons/lib you are assuming all applications (running in this instance
of Tomcat) will use the same component versions.  I have on many
occasions had applications running on different versions of the commons
components.  

For example, you may have one application (App A) that is built on the
latest stable release of Collections.  In addition, you have another
application (App B) that is using some stuff from the latest nightly
build.  You may not want to expose App A to potential bugs in the
nightly build so in this case you would deploy the desired Collections
jar file along with each application rather than install them in
commons/lib.

Hope this helps.

-- 
Norm Deane
MIS Consultant
Vanderbilt University
(615) 322-7855
[EMAIL PROTECTED] 

-----Original Message-----
From: Adam Hardy [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 02, 2003 9:53 AM
To: Struts Users Mailing List
Subject: Re: Commons Versions bundled with Struts 1.1


On a related subject, what criteria does one use to decide whether to 
put these in tomcat's commons/lib directory, or in the webapp's own lib 
directory when deploying?



On 09/02/2003 03:44 PM Kris Schneider wrote:
> http://jakarta.apache.org/struts/userGuide/release-notes-1.1.html:
> 
> Commons BeanUtils 1.6.1
> Commons Collections 2.1
> Commons Digester 1.5
> Commons FileUpload 1.0
> Commons Lang 1.0.1
> Commons Logging 1.0.3
> Commons Validator 1.0.2
> 
> Quoting Andrew Hill <[EMAIL PROTECTED]>:
> 
> 
>>Ive been trying to find out the versions of the commons libraries 
>>bundled with Struts 1.1 Final, but haven't found where its 
>>definitively documented (links welcome please!)
>>
>>I went through the various manifest files and got this, but Im not 
>>sure how up to date the manifests are:
>>
>>struts 1.1 (Yeh. Ok. Im pretty confident about this one... ;->) 
>>commons-beanutils 1.6 commons-collections 2.1
>>commons-digester 1.5
>>commons-fileupload 1.0
>>commons-lang 1.0
>>commons-logging 1.0.3
>>commons-validator 1.0.2
>>
>>Is this correct?
> 
> 

-- 
struts 1.1 + tomcat 4.1.27 + java 1.4.2
Linux 2.4.20 RH9


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to