Re: APR libs present but not found

2019-09-12 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

John,

On 9/10/19 14:20, John Beaulaurier -X (jbeaulau - ADVANCED NETWORK
INFORMATION INC at Cisco) wrote:
> I needed to build the APR libs from source as there was no rpm in 
> yum, but the default directory where the libs were place was not
> in the Java path, and so once I noticed that and added that
> directory to the path in setenv.sh APR is found and used.
AFAIK, all yum repos contain a package for libapr. You should not have
had to build from source. Actually, most repos also include a package
for libtcnative, so you can probably avoid building anything yourself.

- -chris
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl16hmAACgkQHPApP6U8
pFi/MQ//Q4bIF4pXYXiBSuqhptVrKli7JNZn9i4frW0ldK60e/0IowgLC36Ji9y0
bcohhinKy/Oq/Y/Buvr8LWyb4yDeS6uk8pcKbC54+Jd7BcUFI1X1qcftobpwnU0b
4B7ooMiNHAEudNiZN/FGGgXzyEVEIDtTQa6745DLDVT94kXpegCyb7qCVE6K2IgY
eiwGMyPCNuGXNBN0emByWGSuy5W0FVsB/cTgdlnJrZZeX7CP9mgHnJ9kE0BQPy81
PO43go/4n+AQargnzdbzwGuVFB4k1AD4Q4l0JpdhBi+RiqrjGGbUBetTSQ+I55D1
tDw9fHjhBZrRSRfcT0AMc5MZQL3KS72mbPKrUNfZ5QxoltVv+1SfYOAt19D1T9Zd
qcyJ6v9gTluuioxyQpIUPW7IQ5b+iFe6X/GI7nQUQh+U4gdOhxbQiZvw8rx1CCpO
ADbXHBNGBc1E5s6optR9ad39xEujA+2O4zqVG8pwjSZ65ZBVyfrCg5LfCR81wdCg
Su1K0n+r2y1QlOAABp50IjiEpIr7fmYqVGI+K74KvPmp8yC37KFI6+XkgOu6cEQr
ebQcWjBuYir+TpCkZz+KBWpJ5QVM7TlDQTGFy5qOOyCitOHiEW7XAscc4w34+H5Q
Pa26jNO8LWC/9fH+ckj0PmMdslojM3MXJwn/hKkOoky0cBHZfBQ=
=SuNP
-END PGP SIGNATURE-

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



RE: APR libs present but not found

2019-09-10 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Hi Christopher,

I needed to build the APR libs from source as there was no rpm in yum, but the 
default directory where the libs were place was not in the 
Java path, and so once I noticed that and added that directory to the path in 
setenv.sh APR is found and used. 

Thanks
-John 


-Original Message-
From: Christopher Schultz  
Sent: Friday, September 6, 2019 2:37 PM
To: users@tomcat.apache.org
Subject: Re: APR libs present but not found

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

John,

On 9/6/19 16:51, John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION 
INC at Cisco) wrote:
> Hello,
> 
> I installed the following RPMs via Yum for OpenSSL support
> 
> RHEL 7.4 apr.i686
> 1.4.8-3.el7_4.1 apr.x86_64
> 1.4.8-3.el7_4.1 apr-devel.i686
> 1.4.8-3.el7_4.1 apr-devel.x86_64
> 1.4.8-3.el7_4.1
> 
> When I test with Tomcat 7.x or 9.x the log notes the APR native libs 
> could not be found in the java library path, when they are in the java 
> library path located at /lib64 and /lib in the OS file system.
> 
> What am I missing?

Can you post the startup log where Tomcat says it "cannot find the APR 
library"? It should include the set of paths it's checking for those files.

Note that both the APR connector AND the OpenSSL-based JSSE connector require 
both libtcnative and libapr in the library path.

- -chris
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl1y0YMACgkQHPApP6U8
pFicOBAAgkpDPq3C805og14AZcCoZ/31VMT4S4YdYCfRMGabnECULuxvM015Lcdi
4o5IG1rDJVivHxyeY8PU2zLbpwL7b4nOuEDSYteJygfbb2xCEOedcSE2PeKBmyj1
nuTDj08bvtXFCN+5k8hv31/ffu2+ZjCffagfQkMxeDG7MmJuLVwN9WIfokO0pEFO
Gq++EdBxTptYAB6UHKDdS9nulpSK6XU8fUP0KmYzCc6w0w2TTToAhHF0OkRiAjyq
egPjBjarglhKUOJH+IADaS4g264qbEZ5Xbtgtws54jKmgEPpc9X8bcOt/EH9Tp0X
7CCCDViwVVjOxrDI7p17GYrEeTBq5qZx2QmhlGmsTTpR1O5C3BIBsPBaasioP6tC
CYRJ3xX7FW+iUTQxqnU9KyzoyfnQ1C+rQjGN0q8vkx+UrmMgSW8CwQAlboiSuGIM
OnqAXkOpfajNveLmBKORBcrxjzgIrHUkLiy3G3qI+qWQrHetbV6q3sE937lTFnhY
lphohR55W0ZkjhWYsVbCa/zAcguKF3xIYjcY5ErD+BKDH/kRaWLKHkR8DbQkEzq5
bFNoO+v9izVMWr13qEERBYXENxQyGRnJOk9KvkW+rLeCVyKdWLHyeeuLGy91gu80
ou6Hzk5ZNwWV70E5Nl3M9I3dx+UOFlTs2YG2UpYHe5GrPmOiNW8=
=PlDO
-END PGP SIGNATURE-

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


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



Re: APR libs present but not found

2019-09-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

John,

On 9/6/19 16:51, John Beaulaurier -X (jbeaulau - ADVANCED NETWORK
INFORMATION INC at Cisco) wrote:
> Hello,
> 
> I installed the following RPMs via Yum for OpenSSL support
> 
> RHEL 7.4 apr.i686
> 1.4.8-3.el7_4.1 apr.x86_64
> 1.4.8-3.el7_4.1 apr-devel.i686
> 1.4.8-3.el7_4.1 apr-devel.x86_64
> 1.4.8-3.el7_4.1
> 
> When I test with Tomcat 7.x or 9.x the log notes the APR native
> libs could not be found in the java library path, when they are in
> the java library path located at /lib64 and /lib in the OS file
> system.
> 
> What am I missing?

Can you post the startup log where Tomcat says it "cannot find the APR
library"? It should include the set of paths it's checking for those
files.

Note that both the APR connector AND the OpenSSL-based JSSE connector
require both libtcnative and libapr in the library path.

- -chris
-BEGIN PGP SIGNATURE-
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl1y0YMACgkQHPApP6U8
pFicOBAAgkpDPq3C805og14AZcCoZ/31VMT4S4YdYCfRMGabnECULuxvM015Lcdi
4o5IG1rDJVivHxyeY8PU2zLbpwL7b4nOuEDSYteJygfbb2xCEOedcSE2PeKBmyj1
nuTDj08bvtXFCN+5k8hv31/ffu2+ZjCffagfQkMxeDG7MmJuLVwN9WIfokO0pEFO
Gq++EdBxTptYAB6UHKDdS9nulpSK6XU8fUP0KmYzCc6w0w2TTToAhHF0OkRiAjyq
egPjBjarglhKUOJH+IADaS4g264qbEZ5Xbtgtws54jKmgEPpc9X8bcOt/EH9Tp0X
7CCCDViwVVjOxrDI7p17GYrEeTBq5qZx2QmhlGmsTTpR1O5C3BIBsPBaasioP6tC
CYRJ3xX7FW+iUTQxqnU9KyzoyfnQ1C+rQjGN0q8vkx+UrmMgSW8CwQAlboiSuGIM
OnqAXkOpfajNveLmBKORBcrxjzgIrHUkLiy3G3qI+qWQrHetbV6q3sE937lTFnhY
lphohR55W0ZkjhWYsVbCa/zAcguKF3xIYjcY5ErD+BKDH/kRaWLKHkR8DbQkEzq5
bFNoO+v9izVMWr13qEERBYXENxQyGRnJOk9KvkW+rLeCVyKdWLHyeeuLGy91gu80
ou6Hzk5ZNwWV70E5Nl3M9I3dx+UOFlTs2YG2UpYHe5GrPmOiNW8=
=PlDO
-END PGP SIGNATURE-

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



APR libs present but not found

2019-09-06 Thread John Beaulaurier -X (jbeaulau - ADVANCED NETWORK INFORMATION INC at Cisco)
Hello,

I installed the following RPMs via Yum for OpenSSL support

RHEL 7.4
apr.i6861.4.8-3.el7_4.1
apr.x86_64  1.4.8-3.el7_4.1
apr-devel.i6861.4.8-3.el7_4.1
apr-devel.x86_64   1.4.8-3.el7_4.1

When I test with Tomcat 7.x or 9.x the log notes the APR native libs could not 
be found in the java library path, when they are in the java library path 
located at /lib64 and /lib in the OS file system.

What am I missing?

Regards
-John