Hello Chris,

The error below the warning message is saying that the APR library is missing 
from my server. That's why I am sure I need the APR library for Tomcat 7. I 
have seen Mark message, but had some work and didn't tried it today. Till 
tomorrow, I will give you answer if that was the case and worked, or I need 
further help.

-----Original Message-----
From: Christopher Schultz [mailto:ch...@christopherschultz.net] 
Sent: 18 May, 2015 21:46
To: Tomcat Users List
Subject: Re: Problem with APR library - Tomcat 7

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dejan,

On 5/17/15 3:22 PM, Dejan Stamenov wrote:
> I am working on a project where I need to install SSL certificates on 
> Tomcat 7 server for my Java application. I have been experimenting 
> around, I have set up the connector in the server.xml file, but when I 
> look into the logs I can see this:
> 
> http://prntscr.com/76a98v

Warning-level message. Are you sure you need tcnative?

The error after the warning is more troubling. What's the full stack trace for 
/that/?

> For the connector to be working, I needed to install APR library. I 
> did so, following this guide here:
> http://www.techsww.com/tutorials/libraries/apr/installation/installing
_apach
>
> 
e_portable_runtime_library_on_ubuntu_linux.php

It's much easier to do "apt-get install libapr" than whatever it is you are 
doing, here.

> In my case, I use the apr-1.5.2 version. Also, in the configure 
> -prefix part I have specified the URL that is shown on my server error 
> log, i.e. /usr/lib/x86_64-linux-gnu. After server reboot, I still get 
> the same error. Have been looking around the internet how to solve 
> this, but only found a couple of open questions on Stack 
> Overflow/Exchange with no answers in them.

As Mark says, tcnative is merely APR-based. You need libapr, then you need to 
build tcnative yourself, from source, from the links he provided .

I'll ask again: are you sure you need tcnative?

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVWkF0AAoJEBzwKT+lPKRYOOYQAI7ZOAd7q5Rzc/ybBqYPIpsp
h6tm7yobGea7+xafTqwscsawZB8nQhmhtismzriqmAgWYk1Y+NzmFGkWZmR24wLn
O+ThtqKY6gSDwTWXNpMEeRSkNccO1Mi5pW5hYURvkjxhPxriEbWpO38nqVDxlFzX
EoRoLmVo72Ccl/z835tWISlhSf34TS4SdEY6Kh0Np/zbOOSTLOa65f1KlqfbXX0w
LgHREmtKKyUu2TmCWTGX0GH31PI7LnXOkLlbwRtrtb5d6RANdiaN5PuHIJH2Ka2q
ktg+YaVuqqVrZepu4QhfPidk6knzh3ePkoFWHqWIG5W8Ze22YrZkDRU4zn1IIL00
dxTNtPpZ1tgM1DSy2Sfhr4JW7EOex1qNwTAAWWWnUqKvaoeEkIlGiWWTrP4RGOAM
PtEzZHrc5s/nh2cSy/DpO8a2AGylib5jqmByGp91WOkFu9CQeBqDBZ0FvELsco5T
MKFo4DURyA0IWfG6xwjRmOIDVMB1h4/9BOm+1g9jrWveVZzd+KWbWVhu5iG8gOhf
hamx0Uc672H/sVyw8hXfo+YinNcKFGf94o/GUTGefl4ZKbzOE5Ycwq1b1EVCVRyp
sMNW4fdc6XSKMlzBb4DBxtWgnoiI5e+ElomJfGZSiKIYw6SpyDbZQHDn0yMi24Vn
pB3XSPYn9fMJ/xf8u8MH
=AjpR
-----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

Reply via email to