Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 91737 invoked from network); 2 Oct 2008 08:30:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Oct 2008 08:30:44 -0000 Received: (qmail 80022 invoked by uid 500); 2 Oct 2008 08:30:30 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 79994 invoked by uid 500); 2 Oct 2008 08:30:30 -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 79983 invoked by uid 99); 2 Oct 2008 08:30:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2008 01:30:30 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [193.252.22.156] (HELO smtp3.freeserve.com) (193.252.22.156) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 02 Oct 2008 08:29:28 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf3209.me.freeserve.com (SMTP Server) with ESMTP id 99CD47000088 for ; Thu, 2 Oct 2008 10:29:50 +0200 (CEST) Received: from smtp.homeinbox.net (unknown [91.109.187.106]) by mwinf3209.me.freeserve.com (SMTP Server) with ESMTP id 84A687000087 for ; Thu, 2 Oct 2008 10:29:50 +0200 (CEST) X-ME-UUID: 20081002082950543.84A687000087@mwinf3209.me.freeserve.com Received: from localhost (localhost [127.0.0.1]) by smtp.homeinbox.net (Postfix) with ESMTP id 706311A44CE for ; Thu, 2 Oct 2008 09:29:45 +0100 (BST) X-Virus-Scanned: Debian amavisd-new at homeinbox.net Received: from smtp.homeinbox.net ([127.0.0.1]) by localhost (server01.dev.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yG1paiq1ebm8 for ; Thu, 2 Oct 2008 09:29:36 +0100 (BST) Received: from [192.168.0.4] (study01.dev.local [192.168.0.4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.homeinbox.net (Postfix) with ESMTPSA id A8AF91A420A for ; Thu, 2 Oct 2008 09:29:36 +0100 (BST) Message-ID: <48E48669.6030602@apache.org> Date: Thu, 02 Oct 2008 09:29:29 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat Servlet & Bouncy Castle Problem References: <64229.34657.qm@web23008.mail.ird.yahoo.com> In-Reply-To: <64229.34657.qm@web23008.mail.ird.yahoo.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jeng Yu wrote: > Interestngly, the same RSA public encryption code with > Bouncy Castle library works flawlessly when I develop > it in Netbeans IDE and run it as a java application > (not servlet). In servlet environment, it fails. Yes, > I added cldc_classes.zip class library file from > Bouncy Castle to compile the code. Tomcat only loads '.jar' files. '.zip' files will be ignored. Rename cldc_classes.zip to cdlc_classes.jar and you should be good to go. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org