Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 2854 invoked from network); 27 Jan 2005 14:31:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jan 2005 14:31:32 -0000 Received: (qmail 37779 invoked by uid 500); 27 Jan 2005 14:30:47 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 37736 invoked by uid 500); 27 Jan 2005 14:30:46 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 37708 invoked by uid 99); 27 Jan 2005 14:30:45 -0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,HTML_10_20,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from web81108.mail.yahoo.com (HELO web81108.mail.yahoo.com) (206.190.37.167) by apache.org (qpsmtpd/0.28) with SMTP; Thu, 27 Jan 2005 06:30:44 -0800 Message-ID: <20050127143041.75527.qmail@web81108.mail.yahoo.com> Received: from [66.141.169.199] by web81108.mail.yahoo.com via HTTP; Thu, 27 Jan 2005 06:30:41 PST Date: Thu, 27 Jan 2005 06:30:41 -0800 (PST) From: "DAVID B. LEVI" Subject: Re: Class Load Issue To: Tomcat Developers List In-Reply-To: <8D7DE0C84F1D5149894354E754E6807E33269A@mail.lou.emergint.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1791476486-1106836241=:75189" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N --0-1791476486-1106836241=:75189 Content-Type: text/plain; charset=us-ascii Kevin I have been getting mail from Tomcat for many months. I have tried unsuccessfully to "unsubscribe" from the list as I have nothing to do with Tomcat. Will you please ask someone there to unsubscribe this address? Many thanks. "Kevin L. Cobb" wrote: Hi all, I am new to the list but not new to Tomcat. We have a main servlet that we want instantiated before any pages are hit. Hence, in the web.xml, we use the directive 1. In addition, we use a Custom Class Loader that extends WebapppClassLoader because our core classes are encrypted. Here is the rub. The web application works fine but I get an error in the Catalina log when the app starts, but only when using the Custom Class Loader. The error basically says that the main servlet that I am trying to load cannot be found. But, the servlet is found when I hit the page, or the application would not work at all. The problem does not seem to be in the Custom Class Loader itself, but in the way the main servlet is being accessed when the "load-on-startup" is applied. I assume that the load-on-startup directive would attempt to load my main servlet class using the Custom Class Loader, but perhaps it does not? I have to me missing something here. Any help is appreciated. Kevin --0-1791476486-1106836241=:75189--