Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 71711 invoked from network); 21 Jan 2002 04:17:25 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 Jan 2002 04:17:25 -0000 Received: (qmail 14366 invoked by uid 97); 21 Jan 2002 04:17:10 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@jakarta.apache.org Received: (qmail 14350 invoked by uid 97); 21 Jan 2002 04:17:09 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: 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 14339 invoked from network); 21 Jan 2002 04:17:08 -0000 Message-ID: <001001c1a1e6$bbb5ac00$e845b5d4@EPSILON> From: "Pablo Millet" To: "Tomcat Users List" Subject: Context Or not? Date: Sun, 20 Jan 2002 20:14:49 +0100 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000D_01C1A1EF.1CF52C90" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_000D_01C1A1EF.1CF52C90 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all. Sorry for bringing this old topic back to the surface... But I really need help here. I have my Tomcat4 up and running as Stand-Alone but it doesn't want to = deploy my .WAR files. All of the "Examles" application do work just fine... With Tomcat3.3 all works like a charm :) >From what I understand reading the manuals AND sufing the web for = several days I must include my web.xml (descriptor) file into the WEB-INF dir in the = app. Well, i'm doing so and i'm also adding my context in the server.xml wich = looks like this: My web.xml (desccriptor) looks like this: ### NAME bla bla webmaster myself@domain.com bla bla 10 ### Question: Must I have a context in server.xml AND a descriptor? When I do have both I get this error message in the logfile: ### Error initializing resources: Document base=20 /usr/local/jakarta-tomcat-4.0.1/webapps/XXX does not exist or is not a = readable directory ### When I remove the context entry from the server.xml it all works fine = !!! So my friends, wich is it... both or one of them? Many thanx. Cheers Pablo ------=_NextPart_000_000D_01C1A1EF.1CF52C90--