Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-09 Thread Pid *
On 9 Dec 2011, at 07:54, Oladapo Moshood morec...@gmail.com wrote:



On Thu, Dec 8, 2011 at 8:41 AM, Daniel Mikusa dmik...@vmware.com wrote:

 On Thu, 2011-12-08 at 08:22 -0800, Oladapo Moshood wrote:
  After the re-installation of the whole Apache Tomcat Native Library, I
  still get:
 

 Ok, take a step back for a second...

 1.) What were the results of ./configure ...?  If you could paste them
 in here, that would be helpful.


Please attached is the config.log as requested. Also see below:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure --with-apr=/usr/local/apr-httpd/


You have an extra slash there, above.


--with-java-home=/usr/lib/jvm/java-1.6.0-openjdk --with-ssl=/usr/lib/openssl

## - ##
## Platform. ##
## - ##

hostname = opt01.petrodata.net
uname -m = i686
uname -r = 2.6.18-128.el5xen
uname -s = Linux
uname -v = #1 SMP Wed Jan 21 11:55:02 EST 2009

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = i686
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
hostinfo   = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /usr/kerberos/sbin
PATH: /usr/kerberos/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /root/bin


## --- ##
## Core tests. ##
## --- ##

configure:1491: checking build system type
configure:1509: result: i686-pc-linux-gnu
configure:1517: checking host system type
configure:1531: result: i686-pc-linux-gnu
configure:1539: checking target system type
configure:1553: result: i686-pc-linux-gnu
configure:1580: checking for a BSD-compatible install
configure:1635: result: /usr/bin/install -c
configure:1653: checking for working mkdir -p
configure:1669: result: yes
configure:1762: checking for chosen layout
configure:1764: result: tcnative
configure:1921: checking for APR
configure:2003: result: yes
configure:2072: checking for a BSD-compatible install
configure:2127: result: /usr/bin/install -c
configure:2142: checking for JDK location (please wait)
configure:2171: result: /usr/lib/jvm/java-1.6.0-openjdk
configure:2247: checking Java platform
configure:2273: checking Java platform
configure:2279: result:


The result field is empty... Not sure what that means.


configure:2289: checking for sablevm
configure:2320: result: NONE
configure:2397: checking os_type directory
configure:2518: checking for gcc
configure:2544: result: gcc
configure:2788: checking for C compiler version
configure:2791: gcc --version /dev/null 5
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2794: $? = 0
configure:2796: gcc -v /dev/null 5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre


That's not good though, above.



--with-cpu=generic --host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
configure:2799: $? = 0
configure:2801: gcc -V /dev/null 5
gcc: '-V' option must have argument
configure:2804: $? = 1
configure:2827: checking for C compiler default output file name
configure:2830: gccconftest.c  5
configure:2833: $? = 0
configure:2879: result: a.out
configure:2884: checking whether the C compiler works
configure:2890: ./a.out
configure:2893: $? = 0
configure:2910: result: yes
configure:2917: checking whether we are cross compiling
configure:2919: result: no
configure:2922: checking for suffix of executables
configure:2924: gcc -o conftestconftest.c  5
configure:2927: $? = 0
configure:2952: result:
configure:2958: checking for suffix of object files
configure:2979: gcc -c   conftest.c 5
configure:2982: $? = 0
configure:3004: result: o
configure:3008: checking whether we are using the GNU C compiler
configure:3032: gcc -c   conftest.c 5
configure:3038: $? = 0
configure:3042: test -z
 || test ! -s conftest.err
configure:3045: $? = 0
configure:3048: test -s conftest.o
configure:3051: $? = 0
configure:3064: result: yes
configure:3070: checking whether gcc accepts -g
configure:3091: gcc -c -g  conftest.c 5
configure:3097: $? = 0
configure:3101: test -z
 || test ! -s conftest.err
configure:3104: $? = 0
configure:3107: test -s 

Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-08 Thread Oladapo Moshood
After the re-installation of the whole Apache Tomcat Native Library, I
still get:


Dec 8, 2011 12:25:28 PM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
Dec 8, 2011 12:25:28 PM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
[false], random [true].
Dec 8, 2011 12:25:28 PM org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: Failed to initialize the SSLEngine.
Dec 8, 2011 12:25:28 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 8, 2011 12:25:28 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8443
Dec 8, 2011 12:25:28 PM org.apache.coyote.ajp.AjpAprProtocol init
INFO: Initializing Coyote AJP/1.3 on ajp-8009
Dec 8, 2011 12:25:28 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 534 ms
Dec 8, 2011 12:25:28 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 8, 2011 12:25:28 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
Dec 8, 2011 12:25:29 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive swt-web.war
Dec 8, 2011 12:25:30 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
Dec 8, 2011 12:25:30 PM org.apache.coyote.http11.Http11AprProtocol start
INFO: Starting Coyote HTTP/1.1 on http-8443
Dec 8, 2011 12:25:30 PM org.apache.coyote.ajp.AjpAprProtocol start
INFO: Starting Coyote AJP/1.3 on ajp-8009
Dec 8, 2011 12:25:30 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 1411 ms

Do I need to do the rest of configuration using http server virtual host:
443 ?

When I implemented SSL last on Redhat 4, all i did was to configure
ssl.conf and use proxy reverse to instruct http server to service any
service from my web application.

Please assist to remind me on what to do.


Regards,

Moshood

On Tue, Dec 6, 2011 at 6:38 AM, Daniel Mikusa dmik...@vmware.com wrote:

 On Tue, 2011-12-06 at 01:10 -0800, Oladapo Moshood wrote:
  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 root831 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 root899 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 * p...@pidster.com wrote:
 
   On 6 Dec 2011, at 07:51, Oladapo Moshood morec...@gmail.com 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?

 This is an important question, what do you have set for
 java.library.path?

 If you don't know, run Tomcat and execute

  jinfo tomcat-pid | grep java.library.path

 

Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-08 Thread Daniel Mikusa
On Thu, 2011-12-08 at 08:22 -0800, Oladapo Moshood wrote:
 After the re-installation of the whole Apache Tomcat Native Library, I
 still get:
 

Ok, take a step back for a second...

1.) What were the results of ./configure ...?  If you could paste them
in here, that would be helpful.

2.) After you run make and it completes successfully, what do you see
if you run ldd .libs/libtcnative-1.so? 

Dan

PS.  You're top posting and it is making it very difficult to follow
this post.


 
 Dec 8, 2011 12:25:28 PM org.apache.catalina.core.AprLifecycleListener init
 INFO: Loaded APR based Apache Tomcat Native library 1.1.16.
 Dec 8, 2011 12:25:28 PM org.apache.catalina.core.AprLifecycleListener init
 INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters
 [false], random [true].
 Dec 8, 2011 12:25:28 PM org.apache.catalina.core.AprLifecycleListener
 lifecycleEvent
 INFO: Failed to initialize the SSLEngine.
 Dec 8, 2011 12:25:28 PM org.apache.coyote.http11.Http11AprProtocol init
 INFO: Initializing Coyote HTTP/1.1 on http-8080
 Dec 8, 2011 12:25:28 PM org.apache.coyote.http11.Http11AprProtocol init
 INFO: Initializing Coyote HTTP/1.1 on http-8443
 Dec 8, 2011 12:25:28 PM org.apache.coyote.ajp.AjpAprProtocol init
 INFO: Initializing Coyote AJP/1.3 on ajp-8009
 Dec 8, 2011 12:25:28 PM org.apache.catalina.startup.Catalina load
 INFO: Initialization processed in 534 ms
 Dec 8, 2011 12:25:28 PM org.apache.catalina.core.StandardService start
 INFO: Starting service Catalina
 Dec 8, 2011 12:25:28 PM org.apache.catalina.core.StandardEngine start
 INFO: Starting Servlet Engine: Apache Tomcat/6.0.20
 Dec 8, 2011 12:25:29 PM org.apache.catalina.startup.HostConfig deployWAR
 INFO: Deploying web application archive swt-web.war
 Dec 8, 2011 12:25:30 PM org.apache.coyote.http11.Http11AprProtocol start
 INFO: Starting Coyote HTTP/1.1 on http-8080
 Dec 8, 2011 12:25:30 PM org.apache.coyote.http11.Http11AprProtocol start
 INFO: Starting Coyote HTTP/1.1 on http-8443
 Dec 8, 2011 12:25:30 PM org.apache.coyote.ajp.AjpAprProtocol start
 INFO: Starting Coyote AJP/1.3 on ajp-8009
 Dec 8, 2011 12:25:30 PM org.apache.catalina.startup.Catalina start
 INFO: Server startup in 1411 ms
 
 Do I need to do the rest of configuration using http server virtual host:
 443 ?
 
 When I implemented SSL last on Redhat 4, all i did was to configure
 ssl.conf and use proxy reverse to instruct http server to service any
 service from my web application.
 
 Please assist to remind me on what to do.
 
 
 Regards,
 
 Moshood
 
 On Tue, Dec 6, 2011 at 6:38 AM, Daniel Mikusa dmik...@vmware.com wrote:
 
  On Tue, 2011-12-06 at 01:10 -0800, Oladapo Moshood wrote:
   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 root831 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 root899 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 * p...@pidster.com wrote:
  
On 6 Dec 2011, at 07:51, Oladapo Moshood morec...@gmail.com 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 

Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-06 Thread Pid *
On 6 Dec 2011, at 07:51, Oladapo Moshood morec...@gmail.com 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 morec...@gmail.com 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 dmik...@vmware.com 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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-06 Thread Oladapo Moshood
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 root831 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 root899 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 * p...@pidster.com wrote:

 On 6 Dec 2011, at 07:51, Oladapo Moshood morec...@gmail.com 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 morec...@gmail.com
 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 dmik...@vmware.com
 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-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-06 Thread Daniel Mikusa
On Mon, 2011-12-05 at 23:51 -0800, 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.
 

Please run ldd .libs/libtcnative-1.so and paste the output in here.
Do you see libssl listed in the output?

 I Installed with ./configure --with-apr=/usr/local/apr-httpd/
 --with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/

You might want to try the following:

1.) make clean
2.) ./configure --with-apr=/usr/local/apr-httpd/
--with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/ --with-ssl
3.) make

That will rebuild and while making sure that SSL is enabled.  

I'm not guaranteeing that will resolve the problem, but it's worth
verifying.

Dan



 
 Thank you
 
 On Mon, Dec 5, 2011 at 11:44 PM, Oladapo Moshood morec...@gmail.com 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 dmik...@vmware.com 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
 
 
 
 


Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-06 Thread Daniel Mikusa
On Tue, 2011-12-06 at 01:10 -0800, Oladapo Moshood wrote:
 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 root831 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 root899 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 * p...@pidster.com wrote:
 
  On 6 Dec 2011, at 07:51, Oladapo Moshood morec...@gmail.com 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?

This is an important question, what do you have set for
java.library.path?

If you don't know, run Tomcat and execute 

 jinfo tomcat-pid | grep java.library.path

or look at the VM Summary tab in jconsole.

Dan



 
  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 morec...@gmail.com
  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 dmik...@vmware.com
  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-unsubscr...@tomcat.apache.org
  For additional commands, e-mail: users-h...@tomcat.apache.org
 
 


Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-06 Thread Oladapo Moshood
Thank you Daniel for your response. I do not see libssl listed, please
see output:

[root@opt01 native]# ldd .libs/libtcnative-1.so
linux-gate.so.1 =  (0x00b3b000)
libapr-1.so.0 = /usr/local/apr/lib/libapr-1.so.0 (0x00288000)
librt.so.1 = /lib/i686/nosegneg/librt.so.1 (0x00c83000)
libcrypt.so.1 = /lib/libcrypt.so.1 (0x00456000)
libpthread.so.0 = /lib/i686/nosegneg/libpthread.so.0 (0x00ec1000)
libdl.so.2 = /lib/libdl.so.2 (0x00bb6000)
libc.so.6 = /lib/i686/nosegneg/libc.so.6 (0x0011)
/lib/ld-linux.so.2 (0x00941000)

Can I still go-ahead and make clean then re-install the native?

Thank you.

On Tue, Dec 6, 2011 at 6:32 AM, Daniel Mikusa dmik...@vmware.com wrote:

 On Mon, 2011-12-05 at 23:51 -0800, 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.
 

 Please run ldd .libs/libtcnative-1.so and paste the output in here.
 Do you see libssl listed in the output?

  I Installed with ./configure --with-apr=/usr/local/apr-httpd/
  --with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/

 You might want to try the following:

 1.) make clean
 2.) ./configure --with-apr=/usr/local/apr-httpd/
 --with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/ --with-ssl
 3.) make

 That will rebuild and while making sure that SSL is enabled.

 I'm not guaranteeing that will resolve the problem, but it's worth
 verifying.

 Dan



 
  Thank you
 
  On Mon, Dec 5, 2011 at 11:44 PM, Oladapo Moshood morec...@gmail.com
 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 dmik...@vmware.com
 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
  
  
  
  



Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-06 Thread Daniel Mikusa
On Tue, 2011-12-06 at 06:50 -0800, Oladapo Moshood wrote:
 Thank you Daniel for your response. I do not see libssl listed, please
 see output:
 
 [root@opt01 native]# ldd .libs/libtcnative-1.so
 linux-gate.so.1 =  (0x00b3b000)
 libapr-1.so.0 = /usr/local/apr/lib/libapr-1.so.0 (0x00288000)
 librt.so.1 = /lib/i686/nosegneg/librt.so.1 (0x00c83000)
 libcrypt.so.1 = /lib/libcrypt.so.1 (0x00456000)
 libpthread.so.0 = /lib/i686/nosegneg/libpthread.so.0 (0x00ec1000)
 libdl.so.2 = /lib/libdl.so.2 (0x00bb6000)
 libc.so.6 = /lib/i686/nosegneg/libc.so.6 (0x0011)
 /lib/ld-linux.so.2 (0x00941000)
 Can I still go-ahead and make clean then re-install the native?

Yes, try rebuilding with the --with-ssl option.  

Also, make sure that you have the openssl and openssl-dev (or whatever
your distro calls them) packages installed.

Dan


 Thank you.
 
 On Tue, Dec 6, 2011 at 6:32 AM, Daniel Mikusa dmik...@vmware.com wrote:
 
  On Mon, 2011-12-05 at 23:51 -0800, 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.
  
 
  Please run ldd .libs/libtcnative-1.so and paste the output in here.
  Do you see libssl listed in the output?
 
   I Installed with ./configure --with-apr=/usr/local/apr-httpd/
   --with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/
 
  You might want to try the following:
 
  1.) make clean
  2.) ./configure --with-apr=/usr/local/apr-httpd/
  --with-java-home=/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/ --with-ssl
  3.) make
 
  That will rebuild and while making sure that SSL is enabled.
 
  I'm not guaranteeing that will resolve the problem, but it's worth
  verifying.
 
  Dan
 
 
 
  
   Thank you
  
   On Mon, Dec 5, 2011 at 11:44 PM, Oladapo Moshood morec...@gmail.com
  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 dmik...@vmware.com
  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
   
   
   
   
 


SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-05 Thread Oladapo Moshood
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


Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-05 Thread Oladapo Moshood
Still waiting to hear from you folks.

I presume if I did not configure server.xml right, then I should see more
errors than this. This is my only challenge, please help me out.

On Mon, Dec 5, 2011 at 1:20 PM, Oladapo Moshood morec...@gmail.com 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



RE: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-05 Thread Caldarale, Charles R
 From: Oladapo Moshood [mailto:morec...@gmail.com] 
 Subject: Re: SSL configuration on apache tomcat 6 - Oracle EL5

 Still waiting to hear from you folks.

A bit impatient, are we?  Remember, everyone on this list is a _volunteer_, not 
paid.  If you want immediate answers, hire someone.

 I presume if I did not configure server.xml right, then I should see more
 errors than this.

Why do you presume that?  And not posting your server.xml here makes it pretty 
much impossible for anyone to help you.

 - Chuck 


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-05 Thread Hassan Schroeder
On Mon, Dec 5, 2011 at 1:50 PM, Oladapo Moshood morec...@gmail.com wrote:
 Still waiting to hear from you folks.

Ah, you'd be wanting our Tier 2 30-minute-response support, then.

Would you like to put that on your Visa or MasterCard?

-- 
Hassan Schroeder  hassan.schroe...@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org



Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-05 Thread Oladapo Moshood
Oh I'm really sorry Chuck, It's good to hear from you.

I wanted to say I presumed my server.xml is well configured that was why I
can only see one error.

Below is what I have in my server.xml:

Listener className=org.apache.catalina.core.AprLifecycleListener
SSLEngine=on /

Connector port=8443
protocol=org.apache.coyote.http11.Http11AprProtocol SSLEnabled=true
maxThreads=150 scheme=https secure=true
sslProtocol=TLSv1 enableLookups=false
SSLCertificateFile=${catalina.base}/config/certs/server.crt
SSLCertificateKeyFile=${catalina.base}/config/certs/server.key/


Thank you

On Mon, Dec 5, 2011 at 1:54 PM, Caldarale, Charles R 
chuck.caldar...@unisys.com wrote:

  From: Oladapo Moshood [mailto:morec...@gmail.com]
  Subject: Re: SSL configuration on apache tomcat 6 - Oracle EL5

  Still waiting to hear from you folks.

 A bit impatient, are we?  Remember, everyone on this list is a
 _volunteer_, not paid.  If you want immediate answers, hire someone.

  I presume if I did not configure server.xml right, then I should see more
  errors than this.

 Why do you presume that?  And not posting your server.xml here makes it
 pretty much impossible for anyone to help you.

  - Chuck


 THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
 MATERIAL and is thus for use only by the intended recipient. If you
 received this in error, please contact the sender and delete the e-mail and
 its attachments from all computers.


 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-05 Thread Oladapo Moshood
Like I said to Chuck, I'm sorry to everyone. I didn't mean to be
disturbing. Please pardon me and please assist.

Thank you Hassan.

On Mon, Dec 5, 2011 at 2:03 PM, Hassan Schroeder hassan.schroe...@gmail.com
 wrote:

 On Mon, Dec 5, 2011 at 1:50 PM, Oladapo Moshood morec...@gmail.com
 wrote:
  Still waiting to hear from you folks.

 Ah, you'd be wanting our Tier 2 30-minute-response support, then.

 Would you like to put that on your Visa or MasterCard?

 --
 Hassan Schroeder  hassan.schroe...@gmail.com
 http://about.me/hassanschroeder
 twitter: @hassan

 -
 To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
 For additional commands, e-mail: users-h...@tomcat.apache.org




Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-05 Thread Daniel Mikusa
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




Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-05 Thread Oladapo Moshood
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 dmik...@vmware.com 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





Re: SSL configuration on apache tomcat 6 - Oracle EL5

2011-12-05 Thread Oladapo Moshood
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/
--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 morec...@gmail.com 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 dmik...@vmware.com 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