Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 75426 invoked by uid 500); 5 Jul 2001 04:55:45 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 75152 invoked from network); 5 Jul 2001 04:53:47 -0000 Received: from unknown (HELO violle.seven-seas) (root@202.131.114.118) by h31.sny.collab.net with SMTP; 5 Jul 2001 04:53:47 -0000 Received: from violle (mach3.seven-seas [192.168.69.4]) by violle.seven-seas (8.9.3/8.8.7) with SMTP id JAA01907 for ; Thu, 5 Jul 2001 09:52:00 +0530 From: "Anshul" To: Subject: Context mixing in tomcat. Date: Thu, 5 Jul 2001 10:02:21 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) In-Reply-To: <3B43C88A.627CD76B@servidor.unam.mx> X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Importance: Normal X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N This is a very major security concern. I have created two contexts, ctx1 and ctx2. Both have different web.xmls. They however share some of the servlets, which for now I have duplicated. That means ServletA exists both in ctx1_HOME/WEB-INF/classes as well as ctx2_HOME/WEB-INF/classes. I have programmed ServletA, such that it reads the contexts and behaves accordingly, let us say it shows up different border templates(html pages) for two contexts. Now what I am seeing is that it mixes up the two, showing border templates for ctx1 in ctx2. Now this should never happen. I am quite confidant that this must have been taken care of by tomcat developers and will be happy to know that I would made some blunders in my configuration, but it worries me a lot. And this thing doesn't happen very regularly. Just occasionally that the contexts are mixed up. Can any one please throw some light on this????? I don't know but I feel this should concern all......