Questions tagged [apr]

The Apache Portable Runtime (APR) library provides a variety of services masking the differences between different operating systems with a uniform, platform-neutral interface.

The Apache Portable Runtime (APR) project's stated mission is:

The mission of the Apache Portable Runtime (APR) project is to create and maintain software libraries that provide a predictable and consistent interface to underlying platform-specific implementations. The primary goal is to provide an API to which software developers may code and be assured of predictable if not identical behaviour regardless of the platform on which their software is built, relieving them of the need to code special-case conditions to work around or take advantage of platform-specific deficiencies or features.

188 questions
1
vote
1 answer

How to test that Tomcat with APR and OpenSSL is caching SSL sessions?

We have an application running on Tomcat 6.0.32 and using JSSE (Java 1.6.0_26) for cryptographic communication (HTTPS). Recently, we've being testing with the APR connector and OpenSSL. How can we verify that the SSL sessions are being…
Elliot Vargas
  • 20,499
  • 11
  • 34
  • 36
1
vote
4 answers

Eclipse Tomcat apr

I use Tomcat 6.0.32 as standalone - APR load without problems. But when install the same in Eclipse and run - apr not found. What can be the reason? Thanks.
user710818
  • 23,228
  • 58
  • 149
  • 207
1
vote
3 answers

C++ | Compiling LOG4CXX AND APR

I would like to use external libraries in my project. For example the apache log4cxx. I'm compiling for windows. I know i have to compile first: Apache APR Apache APR-util Apache iconv. I saw only these three dependencies on the main page. I'm…
Francesco Rizzi
  • 631
  • 6
  • 24
1
vote
0 answers

Setting up tomcat 8.5 APR https connection

I've been trying to setup my tomcat for HTTPS connectivity using APR library and I've already downloaded the tcnative-1.dll from here and placed that inside my tomcat lib directory (Program Files\Apache Software Foundation\Tomcat 8.5\bin) and…
sasoriuchi
  • 11
  • 1
1
vote
2 answers

APR memory not freed after pool destroy

apr_pool_t *pool; char *a; char *b; apr_pool_create(&pool, NULL); a = (char *) apr_palloc(pool, 10); strcpy(a, "hello"); printf("a is %s\n", a); apr_pool_destroy(pool); apr_terminate(); b = (char *) apr_palloc(pool, 10); strcpy(b,…
Sean
  • 2,990
  • 1
  • 21
  • 31
1
vote
1 answer

Is it possible to enable HTTPS/TLS for Tomcat using OpenSSL without requiring Native Libraries and APR?

I am trying to get HTTPS/TLS enabled for Tomacat (8.x) preferring the OpenSSL alternative because the cert/key configuration is simpler (compared to the usual JSSE with keystore). Followed the offical documentation and enabled the connector section…
Naymesh Mistry
  • 926
  • 2
  • 12
  • 23
1
vote
0 answers

Cannot enable APR Protocol on Embedded Tomcat

I am trying to use the APR protocol in my Spring Boot project. Till now i have downloaded the tomcat-native library and did what it instructed me to do, which are ./configure , make and make install. After that i copied all libtcnative files with…
sam
  • 1,800
  • 1
  • 25
  • 47
1
vote
0 answers

Receiving SSL Handshake success/failure events on Tomcat 8 using APR/native connector

My tomcat instance is using APR/native connector, which uses OpenSSL under the hood to make SSL connections. I want to receive SSL handshake events, so that any handshake be it success or failure can be logged. I don't see any APR connector option…
suvidya
  • 510
  • 4
  • 6
1
vote
1 answer

The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found

I have a problem with Tomcat. When I am creating new project I have following error: INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program…
Thomaz
  • 11
  • 1
  • 3
1
vote
1 answer

Variadic C function with custom type

I want to implement a variadic function what gets custom type parameters, not like in the GNU's example: https://www.gnu.org/software/libc/manual/html_node/Variadic-Example.html#Variadic-Example In my logic I am handling nodes, define by this…
1
vote
1 answer

Java Hosting APR based Apache Tomcat Error

I think this is a 2 part question. My versions: I developed using Java jdk1.8.0_144, Server JVM jdk1.8.0_77, Server Tomcat apache-tomcat-8.5.23 Error: 16-Apr-2018 11:57:31.041 SEVERE [http-nio-13571-exec-1]…
Quentinb
  • 476
  • 1
  • 9
  • 30
1
vote
1 answer

Issue cross-compiling apr-1.5.2 for ARM

I am trying to cross compile Apache Portable Run-time library APR-1.5.2 lib for ARM platform. I am following below steps. ./configure --host=aarch64-unknown-linux-gnu CC=aarch64-unknown-linux-gnu-gcc make I am not getting any error in configure…
1
vote
2 answers

Excessive synchronizing of memory mapped file in Apache module

I am currently working on an Apache module that uses a large mmap file to share data between processes. This is created on start-up and removed when the server shuts down (May choose to keep it at a later stage). I have implemented this using the…
Chris
  • 352
  • 3
  • 10
1
vote
1 answer

Cannot build APR-util 1.5.4 with OpenSSL 1.0.2k

I'm trying to build APR-util 1.5.6 for Apache 2.2.32. I first build OpenSSL 1.0.2k using the following steps: ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl make make test make install I then ran these commands: export…
T. Veil
  • 11
  • 1
1
vote
0 answers

Avoid header processing in my Virtual FS module

I want to write a module that serves a huge virtual .wav file (also plan to add a virtual .ogg file in the future). I know the size of the file (2Gb) and its fake modification time (2000-01-01 0:00:00) and I have a function to read portion of the…
basin
  • 3,949
  • 2
  • 27
  • 63