Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 79428 invoked from network); 21 Jul 2006 18:44:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Jul 2006 18:44:41 -0000 Received: (qmail 56837 invoked by uid 500); 21 Jul 2006 18:44:27 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 56819 invoked by uid 500); 21 Jul 2006 18:44:27 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 56808 invoked by uid 99); 21 Jul 2006 18:44:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 11:44:27 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,PLING_QUERY,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [12.40.61.38] (HELO frasmtp3.staples.com) (12.40.61.38) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Jul 2006 11:44:24 -0700 Received: from ([10.3.32.124]) by frasmtp3.staples.com with ESMTP id KP-BPZTY.76042239; Fri, 21 Jul 2006 14:43:47 -0400 Received: from fraexims1.staples.com (Not Verified[10.3.32.111]) by fracf1.staples.com with NetIQ MailMarshal (v5.5.4.17) id ; Fri, 21 Jul 2006 14:43:47 -0400 Received: by fraexims1.staples.com with Internet Mail Service (5.5.2656.59) id ; Fri, 21 Jul 2006 14:43:46 -0400 Message-ID: From: "Sharma, Siddharth" To: Tomcat Users List Subject: RE: Shared code but different pages on different virtual hosts? W AS: RE: BOOBIES! Date: Fri, 21 Jul 2006 14:43:42 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Why can't you just put the jars in the WEB-INF/lib of each webapp then? Then you can have a different version of the jar for each webapp. Unless of course, tomcat uses the same classloader to load classes for all webapps. -----Original Message----- From: Harris, Thomas [mailto:Thomas.Harris@sourcemedia.com] Sent: Friday, July 21, 2006 2:36 PM To: Tomcat Users List Subject: RE: Shared code but different pages on different virtual hosts? WAS: RE: BOOBIES! If I create a single jar and put it into shared/lib, then if I need to support more than one version of the core code, I can't. With each webapp/virtual host alias list specifying which WAR file to use, it'll allow me to run two versions of the core code at one time, with different sets of sites on one or the other version, at least until we've had time to test all the sites on the new version, etc. I think I've made my point. Tom -----Original Message----- From: Mike Wannamaker [mailto:Mike.Wannamaker@KINGSTON.Hummingbird.com] Sent: Friday, July 21, 2006 2:25 PM To: 'Tomcat Users List' Subject: RE: Shared code but different pages on different virtual hosts? WAS: RE: BOOBIES! Can't you just put the jar files into tomcat/shared/lib Mike Wannamaker Senior Software Developer Hummingbird Ltd. 552 Princess St, Kingston, ON, K7L 1C7 Tel: (613) 548-4355 x4535 Fax (613) 548-7801 E-Mail: Mike Wannamaker www.hummingbird.com IMPORTANT NOTICE: This communication is privileged and contains confidential information for the sole use of the intended recipient(s). Any unauthorized disclosure, copying or use of this communication is strictly prohibited. If you have received this message in error, please contact the sender and delete this message without printing it or otherwise retaining a copy. -----Original Message----- From: Harris, Thomas [mailto:Thomas.Harris@sourcemedia.com] Sent: July 21, 2006 2:19 PM To: Tomcat Users List Subject: Shared code but different pages on different virtual hosts? WAS: RE: BOOBIES! I wanted to have multiple web applications defined, all using the same core Java code, but each having different JSP and tag file folders. I tried following the example in the Tomcat Wiki at http://wiki.apache.org/tomcat/CreateVirtualHosts, but it assumes all the web apps have the same JSP and tag files, inside a WAR. I would like to package up all of the common code for all the sites in a WAR file, then point each separate web app to private JSP and tag file folders. What I was trying to determine is: 1. Is it even possible? 2. If so, how could it be done? As for the subject line, my previous email sat with the subject "Shared code but different pages on different virtual hosts?" for two weeks without a single response, and I'm still waiting so that my project can continue down it's path. No offense is meant, and it should be pretty obvious, I think, that I just wanted a little attention for my issue. Sorry for any offense it may have caused. Tom -----Original Message----- From: Mike Wannamaker [mailto:Mike.Wannamaker@KINGSTON.Hummingbird.com] Sent: Friday, July 21, 2006 2:09 PM To: 'Tomcat Users List' Subject: RE: BOOBIES! I believe the subject was posted under different subject heading with no response and he's trying to get people looking at it, which I'm sure he will now. That said, some proper netiquette is appreciated in forums. I believe that I'm doing something similar, but using a different approach. I too want to have some common resources that all webapps use. To do this I'm installing my own FileDirContext for web apps which I inject what we call aliases. IE: /basefiles = /home/tomcat/basefiles Thus when someone in the webapp makes a request for /basefiles/common.css it looks it up in /home/tomcat/basefiles, which is outside of any web app context. Is this what you want to do? Mike Wannamaker -----Original Message----- From: Mead, Jennifer L - VSCM [mailto:Mead.Jennifer@vectorscm.com] Sent: July 21, 2006 2:01 PM To: Tomcat Users List Subject: RE: BOOBIES! Could this person (inject other undesirable word) please consider the fact that women are in the user's group also. Jennifer -----Original Message----- From: Harris, Thomas [mailto:Thomas.Harris@sourcemedia.com] Sent: Friday, July 21, 2006 10:59 AM To: users@tomcat.apache.org Subject: BOOBIES! I have been trying to determine how to configure Tomcat 5.5.17 to have a shared appBase on multiple webapps, but have a different set of JSPs for each web app. I've followed the Wiki's CreateVirtualHosts page to configure multiple webapps that use exactly the same WAR file. But, I would like to share the Java, but supply a different docBase for each site. Is this possible? Reference: http://wiki.apache.org/tomcat/CreateVirtualHosts Thanks! Tom Harris "This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution" --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org "This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution" --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org "This communication is intended solely for the addressee and is confidential and not for third party unauthorized distribution" --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org