Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 63408 invoked from network); 14 Jun 2005 12:09:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jun 2005 12:09:55 -0000 Received: (qmail 15975 invoked by uid 500); 14 Jun 2005 12:09:40 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 15954 invoked by uid 500); 14 Jun 2005 12:09:40 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 15941 invoked by uid 99); 14 Jun 2005 12:09:39 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from gateway.ev.co.yu (HELO Firewall.ev.co.yu) (194.247.214.130) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 14 Jun 2005 05:09:38 -0700 Received: by Firewall.ev.co.yu; (5.65v4.0/1.3/10May95) id AA00798; Mon, 14 Jun 1999 14:18:06 +0200 Received: from [192.168.61.128] (siljatest.up.ev.co.yu [192.168.61.128]) by Uprava.ev.co.yu (8.13.1/8.13.1) with ESMTP id j5EBiL9w011261 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 14 Jun 2005 13:46:53 +0200 (MET DST) Message-Id: <42AEC3A2.8030903@ev.co.yu> Date: Tue, 14 Jun 2005 13:46:42 +0200 From: Nikola Milutinovic Organization: EPS JP Elektrovojvodina User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 X-Accept-Language: en-us, en, sr Mime-Version: 1.0 To: Tomcat Users List Subject: Re: [Q] when to share jars References: <20050614095705.42460.qmail@web41209.mail.yahoo.com> <42AEB95B.5050706@joedog.org> In-Reply-To: <42AEB95B.5050706@joedog.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tim Funk wrote: > Never. I share jars. I wish I hadn't. > > When you upgrade JSTL, struts, etc - all get the upgrade for free - > but that means ultra stable apps which haven't been touched in years > may "magically break". You're absolutely right Tim. If it works, don't fix it. And there is nothing worse than fixing (and breaking) something you never intended to touch, in the forst place. JPackage project is a valiant effort, but anyone who has gone through their (or any other) "RPM dependency hell" knows that stability is hard to achieve and even harder to preserve. You might lean on JPackage, but you'll still be unable to prevent upgrade from breaking stuff. Of course, you can require an exact version of JSTL, Struts,..., but that is just like saying "don't touch anything". Since there is nothing in the J2EE contract that would provide some sort of "library versioning control", the only thing you can do is package JARs with each web-app. That, unfortunately, bloats the WAR, but there is no other way to ensure stability. > [Exception - log4j ... I like have a common/lib log4j] Didn't someone complain on loggers overwriting each other? Of course, it might be a case of misuse. Nix. --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org