Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 75849 invoked by uid 500); 1 Apr 2001 16:42:22 -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 75842 invoked from network); 1 Apr 2001 16:42:21 -0000 Received: from lmail.actcom.co.il (root@192.114.47.13) by h31.sny.collab.net with SMTP; 1 Apr 2001 16:42:21 -0000 Received: from amirpc ([192.117.113.162]) by lmail.actcom.co.il (8.11.2/8.11.2) with SMTP id f31Gliv15877 for ; Sun, 1 Apr 2001 18:47:45 +0200 From: "Amir Nuri" To: "Tomcat-User" Subject: Web.xml Question Date: Sun, 1 Apr 2001 18:48:39 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1255" 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) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Hi I have two tomcat instances , each one of them has it's own server.xml file and it's context. My directory structure is webapps ->App1->WEB-INF->web.xml ->App2->WEB-INF->web.xml Tomcat#1 has App1 context and Tomcat#2 has App2 context (defined in server1.xml and server2.xml) On my web.xml files i have load-on-startup directive. My Problem is that i expexted that each tomcat will activate its own web.xml file ( in it's WEB-INF directory of the context) But every tomcat uses both web.xml files !!!!???? The indication of the problem is that both tomcat's instances try to load on startup all the servlets defined in the web.xml files. Tomcat version 3.2.1 Apache version 1.3.14 (Unix) mod_jk