Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@www.apache.org Received: (qmail 60445 invoked from network); 21 Aug 2004 16:02:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 21 Aug 2004 16:02:14 -0000 Received: (qmail 85338 invoked by uid 500); 21 Aug 2004 16:01:42 -0000 Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 85268 invoked by uid 500); 21 Aug 2004 16:01:42 -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 85255 invoked by uid 99); 21 Aug 2004 16:01:42 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received: from [207.115.63.58] (HELO pimout7-ext.prodigy.net) (207.115.63.58) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sat, 21 Aug 2004 09:01:39 -0700 Received: from aurora.scalasystems.com (66.159.190.3.adsl.snet.net [66.159.190.3]) by pimout7-ext.prodigy.net (8.12.10 milter /8.12.10) with ESMTP id i7LG1Z4u152828 for ; Sat, 21 Aug 2004 12:01:35 -0400 Received: from [192.168.14.7] (iris [192.168.14.7]) by aurora.scalasystems.com (8.12.11/8.12.11) with ESMTP id i7LG1UUR008833 for ; Sat, 21 Aug 2004 12:01:30 -0400 Subject: Re: Tomcat-4.1.27 not picking up jsse from j2sdk-1.4.1 From: Rob Scala To: Tomcat Users List In-Reply-To: <1093098959.11085.51.camel@iris.scalasystems.com> References: <1093055782.11085.21.camel@iris.scalasystems.com> <20040821132152.GA26186@strange.dreamhost.com> <1093098959.11085.51.camel@iris.scalasystems.com> Content-Type: text/plain Message-Id: <1093104090.11085.64.camel@iris.scalasystems.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sat, 21 Aug 2004 12:01:31 -0400 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I discovered my problem. The tomcat rpm for fedora core 2 was built with gcj, and it doesn't work with another jdk. I'll remove it and try to install from jpackage.org or apache.jakarta.org. Thank you very much for your help. On Sat, 2004-08-21 at 10:54, Rob Scala wrote: > This is interesting. Here's what I got: > > Standalone java.version: 1.4.1_02 > Tomcat java.version: 3.4.0 > > 3.4 is also the version of gcc on my machine. > > It seems like there are two versions of java, but there is only one > executable on my machine called "java" (version 1.4.1_02). I wonder if > the 3.4 version goes by another name? > > So I tried setting PATH and JAVA_HOME, but it gave the same result. It > seems that the rpm installation of tomcat hard coded some things - there > is no catalina.sh. > > > On Sat, 2004-08-21 at 09:21, QM wrote: > > On Fri, Aug 20, 2004 at 10:36:22PM -0400, Rob Scala wrote: > > : When running a stand-alone program, it works fine, but within tomcat I > > : get an exception: "Protocol handler not found: https". > > : > > : I note that Security.getProviders() returns different provider lists. > > : With the stand-alone program, it gets the expected list: SUN, SunJSSE, > > : SunRsaSign, SunJCE, and SunJGSS. The same code in tomcat lists only one > > : provider: GNU. > > > > Any chance you're not using the JDK you think you are? > > > > Have a JSP print out the value of the system property "java.version" and > > see whether that matches the expected 1.4.1. > > > > Then: > > - search your system for other versions of the "java" binary > > - check what's the runtime $PATH of the Tomcat scripts > > - check for the $JAVA_HOME environment variable > > > > etc. > > > > > > -QM -- Rob Scala Scala Systems - custom software development http://www.scalasystems.com 860-443-5702 --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org