Chris,

I am sure I need the APR connector as I need to specify my server certificate, 
my private key and also a chain of other certificates that signed my server 
certificate. I haven't found any other connecter that can do this except APR, 
or I have missed something?

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

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

Dejan,

On 5/18/15 3:53 PM, Dejan Stamenov wrote:
> The error below the warning message is saying that the APR library is 
> missing from my server.

Okay.

> That's why I am sure I need the APR library for Tomcat 7.

Well, you can use a different type of connector that *does not* require the APR 
connector. You *chose* to use the APR connector, and now you need both APR and 
tcnative to get that to work. I'm asking you about your initial decision: are 
you sure you need the APR-based connector?

> 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.

Building the APR-based connector on Linux should be very easy. If you have the 
various packages installed via your package manager, then building tcnative is 
a typical two-step process to build: "configure", "make".

- -chris

> -----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
> 
> 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/installin
g
>
>>
>>
>> 
_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
> 
> ---------------------------------------------------------------------
>
>
>
> 
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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVWkdWAAoJEBzwKT+lPKRYLGQQAJuPWAkHAlK4waYaQSLMJ7QQ
Oy4j7mnAzEUn+17keeERyGCJCJIoJ2+CagZXB8frkmOS0M58wlT45rMFuH87VrXt
AzoRVHM/2czT615Ngkbf7KC9Y3oixUyO3gmlM2cLeUT3LOSFoQt7rjOrGu/0G2LI
R/38Fb4Nv+IVwgQKA8Rl0TnJDMMh30rxzJXlQfmSY0UbLUKCsNuFyxsL14M17TY8
95qxlhxPjlffZqTzlF97EX3YXn/0LO3lY4xj9/egR5Eq10mBinCjRhMEe1VdUAg4
lfKag0/yA0ngSozinhxWqnDBbSKl2JXaTaAUa1ESyCV8hvvIwdtAzgdzDWCgpBqP
Xey8Ph7BUTHbhZ2RTZwDJRtBD2PO3E9xZbkQLs2xZruCr6tVdg3eQjpR/e227I45
AQMihdoCCM8K/IFSDuWBN0owRa0aoAsiCEJlMvfixA7H+gGYDlzEj5Idq3uKDGU3
in8Ffyc4yXPjALrvMgOCtALENmJIvxikt/R/E22FvgHADlCxRVaMeWg+yPZZoJpb
G+nZGeRAPwTZC5l49eh+Z0vLKWmRlX0T80G1H36S1n0o8rDMizQNGlDb0MT4uJWf
czC6dpI+pTjEENTv7BvDtsfNsa9Wz0B+P2h0dO6SBMWjnPAlAcexSdD9ua4GkfET
z8XNUo+ksV0zRfwO5w9a
=nW0D
-----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