-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Dejan,
On 5/18/15 4:15 PM, Dejan Stamenov wrote: > 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? You are mistaken. All of Tomcat's connectors provide TLS capabilities. If you want to know what you are missing, please provide two things: 1. Complete list of steps you went through to try to install tcnative (including download, unzip, copy, including all file paths used for everything including what CATALINA_HOME and CATALINA_BASE values are). 2. The whole log file from a clean run (starting with no log file), with the text copied and pasted into a message. Nobody wants to go to another web site and read text out of an image. Besides, it means that the mailing list archives are worthless for this thread, since nobody will be able to see that image after a few days/months. Remember that this mailing list is part of the Tomcat community and not your own personal help desk. The answered provided to you are expected to benefit the entire community, not just you specifically. - -chris > -----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 > > 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/installi n > >>> 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 > > > --------------------------------------------------------------------- > > 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 iQIcBAEBCAAGBQJVWziVAAoJEBzwKT+lPKRYk2sQAIqy7jTdK3yDezHrAXYKrBKo mn69ZsSj1FfCuX6RKjHH1vEmCwKsD+QN0lnn3upEHIzqyoxOZURNncsi8kdVCmNK oBGz5UV6PlN5vZyqio3SlM1ryuurLOSg6jFj42pCh+m0kWOmT7+lmmddH0YEpSI5 5uneXQF9Tg6D426X7UMG1L5qnf43c8Gy/j0VPPowNhX5YYmQxdwTcd01FkYY39Tp UVSL9k/e8SmT9uTdY/9GsdIA/XfWa76LfM9OfiXPRO/tXY1J07Cc0iX0TefW8TLj JDIUVJ1PDEvGDas9fjizs+NquyiQH8RHopY4MsygFADW6rw6UcL/LuNDT5LVXCZ1 dATbQpMhGlB89tmB/6q/PtnIdL4Vmd6oIl6qdXlopkivuSfsEmrz+aDydE7rK0sr n4Dq/MEy/QlzAElwQBLIl1jCh9durr2J5cKUf2f2H6bMnSjMseXNPtMSNxEeZYiI TVFxHA0lzOIr2pvUyufPsS56wjpfd2o11W8iPg3SeWslaIFRLsn0G27BeXRAnJex DBgutbthZCWltuPaaVnqXLnUA0WMAq50SNwmJ+9eb8fP8nvnOeMi6k+6WyyhR/D8 q8kOYcFBl8oXnRgI1uWaFO/+vdzy+0YerbfOzlnYEiLlRF3dUh6An/yb8nttSrRl MXh+xXcpE10tnLnI157r =HRz8 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org