Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 045C19ECB for ; Tue, 6 Dec 2011 09:10:59 +0000 (UTC) Received: (qmail 1245 invoked by uid 500); 6 Dec 2011 09:10:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 1186 invoked by uid 500); 6 Dec 2011 09:10:55 -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 1173 invoked by uid 99); 6 Dec 2011 09:10:55 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 09:10:55 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of morechud@gmail.com designates 209.85.216.45 as permitted sender) Received: from [209.85.216.45] (HELO mail-qw0-f45.google.com) (209.85.216.45) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Dec 2011 09:10:50 +0000 Received: by qadz30 with SMTP id z30so2995370qad.18 for ; Tue, 06 Dec 2011 01:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=auh0Ez4AvSlBodmUv7ngI0WeEzCSvyTg2XS2XKB1Mq8=; b=UXUgeqRXybfp0qa4uJ4dQdVrXgN7GuOjFcd0kT2n4alwUTvpBlYedeGe9uLubLVCPu GjCTqxCykqArbtviXCQByzol4QVPhCZyTAWHME+/JzmjBWrfiU0Op625HnaFycVQkRvl YAb+YyVJAED5hkpUIGQPYeeRCXwrygDO6nHeU= MIME-Version: 1.0 Received: by 10.224.180.131 with SMTP id bu3mr11232152qab.5.1323162629828; Tue, 06 Dec 2011 01:10:29 -0800 (PST) Received: by 10.229.162.208 with HTTP; Tue, 6 Dec 2011 01:10:29 -0800 (PST) In-Reply-To: <-3002813923972400901@unknownmsgid> References: <1323123800.5164.31.camel@cleveland.mikusa.com> <-3002813923972400901@unknownmsgid> Date: Tue, 6 Dec 2011 01:10:29 -0800 Message-ID: Subject: Re: SSL configuration on apache tomcat 6 - Oracle EL5 From: Oladapo Moshood To: Tomcat Users List Content-Type: multipart/alternative; boundary=20cf303b400387ef7a04b368ce73 --20cf303b400387ef7a04b368ce73 Content-Type: text/plain; charset=ISO-8859-1 I think yes because I specified the library path. Or how can I confirm your question on my server. see below what I have in the path [root@opt01 apr-httpd]# ll total 16 drwxr-xr-x 2 root root 4096 Dec 2 12:27 bin drwxr-xr-x 2 root root 4096 Dec 2 12:27 build-1 drwxr-xr-x 3 root root 4096 Dec 2 12:27 include drwxr-xr-x 3 root root 4096 Dec 5 04:02 lib [root@opt01 apr-httpd]# cd lib [root@opt01 lib]# ll total 2932 -rw-r--r-- 1 root root 8351 Dec 2 12:27 apr.exp -rw-r--r-- 1 root root 873264 Dec 2 12:27 libapr-1.a -rwxr-xr-x 1 root root 831 Dec 2 12:27 libapr-1.la lrwxrwxrwx 1 root root 17 Dec 2 12:27 libapr-1.so -> libapr-1.so.0.4.5 lrwxrwxrwx 1 root root 17 Dec 2 12:27 libapr-1.so.0 -> libapr-1.so.0.4.5 -rwxr-xr-x 1 root root 594639 Dec 2 12:27 libapr-1.so.0.4.5 -rw-r--r-- 1 root root 879016 Dec 5 04:02 libtcnative-1.a -rwxr-xr-x 1 root root 899 Dec 5 04:02 libtcnative-1.la lrwxrwxrwx 1 root root 23 Dec 5 04:02 libtcnative-1.so -> libtcnative-1.so.0.1.16 lrwxrwxrwx 1 root root 23 Dec 5 04:02 libtcnative-1.so.0 -> libtcnative-1.so.0.1.16 -rwxr-xr-x 1 root root 604439 Dec 5 04:02 libtcnative-1.so.0.1.16 drwxr-xr-x 2 root root 4096 Dec 5 04:02 pkgconfig I also have the native library in /usr/lib: [root@opt01 lib]# pwd /usr/lib [root@opt01 lib]# ls -l libtc* -rwxr-xr-x 1 root root 785200 Jan 10 2007 libtcl8.4.so lrwxrwxrwx 1 root root 23 Dec 5 04:07 libtcnative-1.so -> libtcnative-1.so.0.1.16 -rwxr-xr-x 1 root root 604439 Dec 5 04:06 libtcnative-1.so.0.1.16 [root@opt01 lib]# My tomcat startup variables are: Using CATALINA_BASE: /home/oracle/apache-tomcat-6.0.20 Using CATALINA_HOME: /home/oracle/apache-tomcat-6.0.20 Using CATALINA_TMPDIR: /home/oracle/apache-tomcat-6.0.20/temp Using JRE_HOME: /usr/java/jre1.6.0_17 THa On Tue, Dec 6, 2011 at 12:12 AM, Pid * wrote: > On 6 Dec 2011, at 07:51, Oladapo Moshood wrote: > > > Dan, > > > > This is what I actually have in my Oracle EL5. The other information I > sent > > on apache-tomcat-7 was done on my redhat 6 to see if the error i'm > getting > > is a bug in apache-tomcat-6, but got the same error. > > > > Here is how i installed it on Oracle EL5: > > I have the native libraries in > > /usr/share/apache-tomcat-6.0.20/bin/tomcat-native-1.1.22-src/jni/native > to > > install tomcat native. > > > > I Installed with "./configure --with-apr=/usr/local/apr-httpd/ > > And is that location in the library path that Tomcat is looking in? > > > p > > > > --with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/" > > > > > > Thank you > > > > On Mon, Dec 5, 2011 at 11:44 PM, Oladapo Moshood > wrote: > > > >> Dear Dan, > >> > >> I have the native libraries in > >> /usr/share/apache-tomcat-7.0.23/bin/tomcat-native-1.1.22-src/jni/native > to > >> install tomcat native. > >> > >> I Installed with "./configure --with-apr=/usr/local/apr-httpd/ > >> --with-java-home=/usr/java/jdk1.7.0/" > >> > >> Thank you > >> > >> > >> > >> > >> On Mon, Dec 5, 2011 at 2:23 PM, Daniel Mikusa > wrote: > >> > >>> On Mon, 2011-12-05 at 13:20 -0800, Oladapo Moshood wrote: > >>>> Dear all, > >>>> > >>>> I have a very serious problem in making SSL work on apache tomcat 6 on > >>> my > >>>> oracle EL5. I have been able to configure everything. If I access > >>>> http://localhost:8443 it works but if I change the http to https, it > >>>> doesn't work. I check my catalina.out log to see with and I saw: > >>>> > >>>> 5-Dec-2011 18:05:55 org.apache.catalina.core.AprLifecycleListener > >>>> lifecycleEvent > >>>> INFO: Failed to initialize the SSLEngine. > >>>> > >>>> I see no other error apart from this error. What can I do? I need to > >>>> replicate this at a client site tomorrow - I have to make it work. > >>>> > >>>> > >>>> I WILL REALLY APPRECIATE ANY ASSISTANCE. > >>>> > >>>> Thank you > >>> > >>> Using the APR connector requires native libraries. > >>> > >>> 1.) Where did you get the native libraries? distro package or compile > >>> from source? > >>> > >>> 2.) What options were used to compile the libraries (i.e. if compiling > >>> from src, please list your "./configure ..." command). > >>> > >>> Dan > >>> > >>> > >>> > >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --20cf303b400387ef7a04b368ce73--