Re: apr library

2017-07-22 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Anibal, On 7/22/17 11:30 AM, Anibal Alvarez Alvarez wrote: > Hi. When I run a .jsp file, in the console I can read < [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent > La biblioteca nativa de Apache Tomcat basada en ARP que permit

apr library

2017-07-22 Thread Anibal Alvarez Alvarez
Hi. When I run a .jsp file, in the console I can read <> How can I set this path *"/usr/share/apr/lib"* into the *java.library.path*? I've tried to add it up at eclipse.ini like: ... -vm -Djava.library.path="${workspace_loc:project}/lib;${env_var:PATH};/usr/local/apr/lib" ... but I'm still gettin

Re: Problem with APR library - Tomcat 7

2015-05-26 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dejan, On 5/26/15 6:45 AM, Dejan Stamenov wrote: > I just wanted to notify all that my problem with the APR library > has been finally solved. If anyone encounters this problem, please > follow the steps (assuming your Linux server alread

RE: Problem with APR library - Tomcat 7

2015-05-26 Thread Dejan Stamenov
Hello Chris, I just wanted to notify all that my problem with the APR library has been finally solved. If anyone encounters this problem, please follow the steps (assuming your Linux server already has APR library preinstalled): 1. Install libapr1-dev, libssl-dev, java openjdk and openjre. 2

RE: Problem with APR library - Tomcat 7

2015-05-20 Thread Dejan Stamenov
st command I add the -chain in the end as you wrote me on your reply, I get this error: "Error unable to get local issuer certificate getting chain." Why is this happening? > Date: Tue, 19 May 2015 15:01:06 -0400 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org

RE: Problem with APR library - Tomcat 7

2015-05-19 Thread Dejan Stamenov
...@christopherschultz.net] Sent: 19 May, 2015 21:16 To: Tomcat Users List Subject: Re: Problem with APR library - Tomcat 7 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dejan, On 5/19/15 2:08 PM, Christopher Schultz wrote: > Dejan, > > On 5/19/15 11:58 AM, Dejan Stamenov wrote: >> Maybe I have messe

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Christopher Schultz
e some .so files sitting-around somewhere. > > 4. Copy those files into CATALINA_BASE/bin > > 5. When you launch, make sure that java.library.path includes > CATALINA_BASE/bin > >> Also, can I use something else than APR library connector? > > Yes. All Tomcat connec

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dejan, On 5/19/15 2:17 PM, Dejan Stamenov wrote: > Can you please explain me these two lines you have wrote: > > $ openssl pkcs12 -export -in ${HOSTNAME}.crt \ -inkey > ${HOSTNAME}.key \ -certfile CA-intermediate.crt -out > ${HOSTNAME}.p12 -chain

RE: Problem with APR library - Tomcat 7

2015-05-19 Thread Dejan Stamenov
: Christopher Schultz [mailto:ch...@christopherschultz.net] Sent: 19 May, 2015 20:08 To: Tomcat Users List Subject: Re: Problem with APR library - Tomcat 7 -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dejan, On 5/19/15 11:58 AM, Dejan Stamenov wrote: > Maybe I have messed up really bad, s

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Christopher Schultz
includes CATALINA_BASE/bin > Also, can I use something else than APR library connector? Yes. All Tomcat connectors support TLS. The APR-based connector will outperform all other connectors when using TLS by an order of magnitude. If you are serious about performance, you should either use the APR

RE: Problem with APR library - Tomcat 7

2015-05-19 Thread Dejan Stamenov
steps? Also, can I use something else than APR library connector? I have been trying to make it work now with a keystore, but when I access my application I get "The connection was reset" error. In my keystore, I have my server certificate, my intermediate file and primary cert file

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Christopher Schultz
alled the libapr1 package, should I do the > tcnative configuration and install again? Yes, you will have to re-build tcnative if you have a different APR library, assuming they are different versions. Remember you will probably: 1. Need to install libapr1-dev 2. Not need to specify --with-apr for conf

RE: Problem with APR library - Tomcat 7

2015-05-19 Thread Dejan Stamenov
e: Tue, 19 May 2015 09:56:05 -0400 > From: ch...@christopherschultz.net > To: users@tomcat.apache.org > Subject: Re: Problem with APR library - Tomcat 7 > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Dejan, > > On 5/19/15 9:31 AM, Dejan Stamenov wrote: &g

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Sanaullah
from apache.org (or a mirror), then > setenv.sh should be in CATALINA_BASE/bin/setenv.sh if you'd like to > create one. > > Note that some methods for launching Tomcat ignore setenv.sh (like > using jsvc, for instance). Make sure you know what you are doing > before you do it. &

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Christopher Schultz
f you'd like to create one. Note that some methods for launching Tomcat ignore setenv.sh (like using jsvc, for instance). Make sure you know what you are doing before you do it. - -chris >> Date: Tue, 19 May 2015 18:38:23 +0500 Subject: Re: Problem with >> APR library - Tomcat 7

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Dejan, On 5/19/15 9:31 AM, Dejan Stamenov wrote: > First, I have downloaded the APR library from here: > http://apache.sunsite.ualberta.ca/apr/apr-1.5.2.tar.gz . > Following this tutorial: > http://www.techsww.com/tutorials/l

RE: Problem with APR library - Tomcat 7

2015-05-19 Thread Dejan Stamenov
file too? When I do a search for the setenv.sh file, I can't find it either. > Date: Tue, 19 May 2015 18:38:23 +0500 > Subject: Re: Problem with APR library - Tomcat 7 > From: sanaulla...@gmail.com > To: users@tomcat.apache.org > > so where did you specify your Apr lib p

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Sanaullah
he tomcat again also may be you need to compile the apr-utils as well On Tue, May 19, 2015 at 6:31 PM, Dejan Stamenov wrote: > Hello Chris, > > First, I have downloaded the APR library from here: > http://apache.sunsite.ualberta.ca/apr/apr-1.5.2.tar.gz . Following this > tutorial:

RE: Problem with APR library - Tomcat 7

2015-05-19 Thread Dejan Stamenov
Hello Chris, First, I have downloaded the APR library from here: http://apache.sunsite.ualberta.ca/apr/apr-1.5.2.tar.gz . Following this tutorial: http://www.techsww.com/tutorials/libraries/apr/installation/installing_apache_portable_runtime_library_on_ubuntu_linux.php , I have installed

Re: Problem with APR library - Tomcat 7

2015-05-19 Thread Christopher Schultz
ed 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 &

RE: Problem with APR library - Tomcat 7

2015-05-19 Thread Dejan Stamenov
Hello Mark, I have installed the native library from the links you provided, but still I got the same error: http://prntscr.com/76ycyo How does it come after installing the native library, still can't find the APR library? > Date: Mon, 18 May 2015 11:07:29 +0100 > From: ma...@apac

RE: Problem with APR library - Tomcat 7

2015-05-18 Thread Dejan Stamenov
ssage- 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

Re: Problem with APR library - Tomcat 7

2015-05-18 Thread Christopher Schultz
-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 u

RE: Problem with APR library - Tomcat 7

2015-05-18 Thread Dejan Stamenov
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 wa

Re: Problem with APR library - Tomcat 7

2015-05-18 Thread Christopher Schultz
erver.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

Re: Problem with APR library - Tomcat 7

2015-05-18 Thread Mark Thomas
look into the logs I > can see this: > > http://prntscr.com/76a98v > > > > 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_p

Problem with APR library - Tomcat 7

2015-05-17 Thread Dejan Stamenov
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 In my case, I use the apr-1.5.2 version. Also, in the configure -prefix part I have

Re: Tomcats warning message about APR library

2015-03-06 Thread Emir Ibrahimbegovic
Thanks Neven for your answer and the steps (Hvala puno!). Thanks everyone for your answers. @Christopher Schultz Both their answers were more than helpful, and I learned something new. No offense but your reply was kind of unnecessary, just because I learned nothing new. Thanks again guys! On F

Re: Tomcats warning message about APR library

2015-03-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neven, On 3/6/15 8:13 AM, Neven Cvetkovic wrote: > Emir, > > The actual list of steps is at the link you mentioned earlier: > http://tomcat.apache.org/native-doc/ > > On Fri, Mar 6, 2015 at 7:30 AM, Neven Cvetkovic > wrote: > >> >> Let us know

Re: Tomcats warning message about APR library

2015-03-06 Thread Neven Cvetkovic
Emir, The actual list of steps is at the link you mentioned earlier: http://tomcat.apache.org/native-doc/ On Fri, Mar 6, 2015 at 7:30 AM, Neven Cvetkovic wrote: > > Let us know if you need help compiling the native Tomcat connectors > (APR-based). > > There might be others that want to compile

Re: Tomcats warning message about APR library

2015-03-06 Thread Neven Cvetkovic
Hey Emir, I've done a little test on my Ubuntu VM. Read below my additional comments: On Fri, Mar 6, 2015 at 5:41 AM, Neven Cvetkovic wrote: > > You have two choices: > > 1) Find a specific package that includes the required packages, e.g. > apt-get install libapr1 libapr1-dev > apt-get install

Re: Tomcats warning message about APR library

2015-03-06 Thread Neven Cvetkovic
ative library is not available on the java.library.path. > > 2) Compile your own native APR library, as the page suggested: > http://tomcat.apache.org/native-doc/ > > I stand corrected: You can compile your own (APR-based) Tomcat Native library, and for that you need APR libraries installed. Cheers!

Re: Tomcats warning message about APR library

2015-03-06 Thread Konstantin Kolinko
2015-03-06 13:41 GMT+03:00 Neven Cvetkovic : > Hey Emir, > > On Thu, Mar 5, 2015 at 2:18 PM, Emir Ibrahimbegovic > wrote: > >> I've got this message when starting a tomcat server : >> >> org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR >> based Apache Tomcat Native library whic

Re: Tomcats warning message about APR library

2015-03-06 Thread Neven Cvetkovic
at includes the required packages, e.g. apt-get install libapr1 libapr1-dev apt-get install libtcnative-1 (I have not tested these, you need to look through the packages and find out exactly which one you need) 2) Compile your own native APR library, as the page suggested: http://tomcat.apache.org/native

Tomcats warning message about APR library

2015-03-05 Thread Emir Ibrahimbegovic
I've got this message when starting a tomcat server : org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib/x

RE: APR Library with JBoss/Tomcat

2007-08-06 Thread Caldarale, Charles R
> From: Ron Wheeler [mailto:[EMAIL PROTECTED] > Subject: Re: APR Library with JBoss/Tomcat > > The error message does not describe the problem appropriately and the > documentation does not clearly link to this "required" library. It's not an error message - it&#

Re: APR Library with JBoss/Tomcat

2007-08-05 Thread Ron Wheeler
Could someone post a bug against this. The error message does not describe the problem appropriately and the documentation does not clearly link to this "required" library. This gets everyone the first time that Tomcat is installed and it takes a long time to find the library required. It ne

Re: APR Library with JBoss/Tomcat

2007-08-05 Thread Len Popp
On 8/5/07, Len Popp <[EMAIL PROTECTED]> wrote: > tcnative-1.dll goes in the Tomcat bin subdirectory. ... except I see that you're running JBoss, so maybe that's not correct for you. Sorry again. :-) I guess you'll have to check the JBoss documentation to see where it likes to keep DLLs. As a last

Re: APR Library with JBoss/Tomcat

2007-08-05 Thread Len Popp
- > From: "Len Popp" <[EMAIL PROTECTED]> > To: "Tomcat Users List" > Sent: Sunday, August 05, 2007 4:51 PM > Subject: Re: APR Library with JBoss/Tomcat > > > > As the log message says, what you need is the Apache Tomcat Native > > library.

Re: APR Library with JBoss/Tomcat

2007-08-05 Thread Sam Klin
I would be grateful. - Original Message - From: "Len Popp" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Sunday, August 05, 2007 4:51 PM Subject: Re: APR Library with JBoss/Tomcat > As the log message says, what you need is the Apache Tomcat Native > lib

Re: APR Library with JBoss/Tomcat

2007-08-05 Thread Len Popp
eListener] The Apache Tomcat Native > library which allows optimal performance in production environments was not > found on the java.library.path: ../lib > > I wen't to the Apche APR site (a more cryptic site is hard to imagine. :):)) > And downloaded the source code for Windows.

APR Library with JBoss/Tomcat

2007-08-05 Thread Sam Klin
java.library.path: ../lib I wen't to the Apche APR site (a more cryptic site is hard to imagine. :):)) And downloaded the source code for Windows. I build the apr library using Visual C++ now my question is where does the static library go? Does Tomcat have to be built using this library or can it be dropp

Re: Tomcat unable to find the apr library

2006-10-30 Thread Rolf Herzog
I have exactly the same problem on RHEL 4: I compiled tomcat-native.tar.gz from tomcat 5.5.20 and installed the resulting dynamic library into /usr/local/apr/lib. Then I added CATALINA_OPTS="-Djava.library.path=/usr/local/apr/lib" to my tomcat start script. I still get the message: The Apache T

Re: Tomcat unable to find the apr library

2006-10-17 Thread Michael Courcy
Hi, I follow your advice and compiled successfully doing $ ./buildconf --with-apr=/home/ovh/src/soft/apr-1.2.7 $ ./configure --with-apr=/home/ovh/src/soft/apr-1.2.7 $ make $ make install All that went fine, the last message of make install was that libraries where put in /usr/local/apr/lib S

Re: Tomcat unable to find the apr library

2006-10-17 Thread Mladen Turk
Michael Courcy wrote: Hum, I remember that I had to download the source apr-1.2.7.tar.gz for APR directly from the apache website and use the classic ./configure && make && make install, You need apr sources only if building from SVN, then you first have to ./buildconf.sh --with-apr=/l

Re: Tomcat unable to find the apr library

2006-10-17 Thread Michael Courcy
MAIL PROTECTED] Subject: Tomcat unable to find the apr library I wanted my tomcat instance use the APR (Apache Portable Runtime) so I installed it. Where did you get it in Linux-installable form? You normally have to build it for the platform it's going to be run on, using 32- or 64

RE: Tomcat unable to find the apr library

2006-10-16 Thread Caldarale, Charles R
> From: Michael Courcy [mailto:[EMAIL PROTECTED] > Subject: Tomcat unable to find the apr library > > I wanted my tomcat instance use the APR (Apache Portable > Runtime) so I installed it. Where did you get it in Linux-installable form? You normally have to build it for th

Tomcat unable to find the apr library

2006-10-16 Thread Michael Courcy
log INFO: The Apache Tomcat Native library which allo..[...]..s was not found on the java.library.path: [...]:/usr/local/apr/lib/ So I don't understand, because it looks like, all information to load the APR library is given, but tomcat failed to use it Any