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
0
votes
0 answers

How to trace memory allocations in Apache httpd server?

I am running apache benchmark (ab) with server [httpd2.4.52] running locally. I want to track how many memory allocations and what size allocations does the server make. I run 'valgrind --trace-malloc=yes ab -n 10 http://127.0.0.1/' But the number…
0
votes
1 answer

don't understand the meaning of member currnt_free_index in struct apr_allocator_t

I'am studying apr libiary source code, and I saw the struct apr_allocator_t: struct apr_allocator_t { /** largest used index into free[], always < MAX_INDEX */ apr_size_t max_index; /** Total size (in BOUNDARY_SIZE multiples)…
Outcast
  • 49
  • 4
0
votes
1 answer

Fastest connection for tomcat 9.0 in 2021: NIO or APR?

I'm installing a server that's going to be mostly transferring files over 16MiB, and upload/download speed for individual transfers will be essential, but no more than say 100 connections at once. We have a backend that uses a custom UDP connection,…
0
votes
0 answers

Apache httpd does not accept file >2GB, LFS Support, 32bit

Unable to upload Large file in apache httpd-2.4.48 (compiled as 32bit binary) Apache is compiled as 32bit package on 64bit processor, below error is observed when we try to upload file >2GB. [Mon Jul 26 22:05:10.750215 2021] [authz_core:debug] [pid…
lokesh
  • 1
  • 1
0
votes
0 answers

Issue with using Apache APR Library in C program

I am trying to build APR library from source and use the library in my C code. I am using Ubuntu OS. I followed the steps mentioned in APR website to build the library. ./configure sudo make sudo make install In the make install output, I got the…
adhithiyan
  • 168
  • 1
  • 9
0
votes
1 answer

Apache Tomcat SSL Http11AprProtocol Connector

I am working on Link-OS web-service with self-signed CA. I followed this to create a self-signed CA I deployed the printer server by following these instructions https://github.com/ZebraDevs/LinkOS-Webservices-Samples Whenever I add this part to…
JAZWii
  • 47
  • 6
0
votes
0 answers

Installation of APR/native for apache-tomee-plus-7.0.6 on Windows Server (with Binaries)

I'd like to know how we can install APR/Native library on Apache-tomee-plus-7.0.6, running on Windows server 2008 and using Binaries ? I need this library to test HTTPS connection using Http11AprProtocol instead of Http11Protocol &…
0
votes
2 answers

Tomcat 8.5 configuration with APR connecter and HTTPS

For security reasons we should upgrade our application server from Tomcat7 into Tomcat8.5(Tomcat is used as the application server in front of Apache HTTPD 2.4 which is the web server, they are integrated using AJP with mod_jk), after a successful…
Sadmi
  • 311
  • 2
  • 15
0
votes
1 answer

The APR based Apache Tomcat Native library was not found on the java.library.path warning in Spring Boot Docker App

I see following warning when my Spring Boot App running in Amazon Corretto Docker container- o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not…
Kunal Patil
  • 745
  • 1
  • 9
  • 18
0
votes
1 answer

APR for optimal performance in production environments

I am installing a java application in a docker container. It runs fine but I keep gettig this error in the logs: INFO 1 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener : The APR based Apache Tomcat Native library which allows optimal…
deann
  • 756
  • 9
  • 24
0
votes
1 answer

Cmocka link apache runtime functions

I am trying to unit test an Apache module with Cmocka. When I run the simple tests I get an error that it can't find function ap_rprintf. I try to build like this: gcc -o run_test mod_hello.c run_test.c \ -lcmocka -lapr-1 \ …
tvlooy
  • 1,036
  • 10
  • 16
0
votes
0 answers

Failed getting cipher list warning on Tomcat 8.0.53 startup

I'm getting Failed getting cipher list warning in catalina log on a Tomcat start after adding tomcat native library. I used bin/tomcat-native.tar.gz sources to build lib with the following config: OpenSSL 1.0.2k-fips APR 1.4.8 JDK…
sys463
  • 337
  • 2
  • 5
  • 18
0
votes
1 answer

Linking with Apache Portable Runtime on MS Windows

I'm trying to build a Python extension which links to APR. And this time it's on MS Windows... (It works on Linux). Here's where the build fails, the command, and the output formatted for readability: C:\Program Files (x86)\Microsoft Visual Studio…
wvxvw
  • 8,089
  • 10
  • 32
  • 61
0
votes
0 answers

Apache module dev: validate directory configuration

I am looking for a way to validate the relation of directives in every single directory configuration that is related to my Apache module. So lets say I have two directives which can be defined in a or
tworabbits
  • 1,203
  • 12
  • 17
0
votes
1 answer

Spring what is between Controller and Interceptor

I have a controller that is doing something, everything seems fine, it logs a success, and then it does this return new ResponseEntity<>(resp, HttpStatus.OK); Seems like it should send a 200 OK. Well, I also have a HandlerInterceptorAdapter with an…
MichaelB
  • 1,092
  • 2
  • 16
  • 32