Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 14837 invoked from network); 15 Aug 2006 20:35:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 15 Aug 2006 20:35:21 -0000 Received: (qmail 70791 invoked by uid 500); 15 Aug 2006 20:35:10 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 70768 invoked by uid 500); 15 Aug 2006 20:35:10 -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 70757 invoked by uid 99); 15 Aug 2006 20:35:10 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 13:35:10 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [204.181.6.166] (HELO seismtp.com) (204.181.6.166) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Aug 2006 13:35:08 -0700 Received: from bparanjxp ([204.181.6.162]) by seismtp.com (Lotus Domino Release 6.0) with ESMTP id 2006081515344363-23013 ; Tue, 15 Aug 2006 15:34:43 -0500 From: "Bala Paranj" To: Subject: Tomcat Context Problem Date: Tue, 15 Aug 2006 15:34:47 -0500 Message-ID: <000d01c6c0aa$40052490$5803a8c0@SEI> MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2962 X-MIMETrack: Itemize by SMTP Server on seismtp/SEI/US(Release 6.0|September 26, 2002) at 08/15/2006 03:34:43 PM, Serialize by Router on seismtp/SEI/US(Release 6.0|September 26, 2002) at 08/15/2006 03:35:04 PM, Serialize complete at 08/15/2006 03:35:04 PM Content-Type: multipart/alternative; boundary="----=_NextPart_000_000E_01C6C080.572F1C90" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_NextPart_000_000E_01C6C080.572F1C90 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" I am posting this question here because JBoss is using Tomcat internally. 1. server.xml has the context path defined: and is also configured for ssl: 2. web.xml has MyServlet com.xyz.MyServlet MyServlet /somePath/* This is under web-inf inside the myContextPath war file 3. JBoss console window shows: Error starting static Resources java.lang.IllegalArgumentException: Document base C:\Program Files\jboss-4.0.4.GA\server\default\.\myContextPath does not exist or is not a readable directory The client gets the following error message: Server returned HTTP response code: 500 for URL: https://localhost:8443/myContextPath/somePath/MyServlet My question is why is the path whacked out like C:\Program Files\jboss-4.0.4.GA\server\default\.\myContextPath instead of pointing to the right directory which is : C:\Program Files\jboss-4.0.4.GA\server\default\deploy (the war file is in this directory) How can I make JBoss/Tomcat point to the right directory? TIA ------=_NextPart_000_000E_01C6C080.572F1C90--