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
5
votes
3 answers

Calculating APR using Reg Z Appendix J

OK. I'm brand new to this site so "Hello All"! Well I've been wrestling with a difficult problem for the last week and I would appreciate any help you can give me. I know there are many formulas out there to calculate APR but I've tested many…
Dave Nesbitt
  • 51
  • 1
  • 2
5
votes
1 answer

Tomcat with APR still says aprConnector is false

This is the connector in server.xml:
atlas_scoffed
  • 3,542
  • 30
  • 46
5
votes
2 answers

yosemite svn 1.6.6 segmentation fault

svn stopped working in my Mac after upgrade to Yosemite. I know there is a very similar question with no answer, Segmentation fault: 11 in SVN checkout, however I've spent pretty much the whole day with this and I'm adding more information on the…
lrnzcig
  • 3,868
  • 4
  • 36
  • 50
5
votes
2 answers

Apache Tomcat 7 + Nginx - IsTomcat Native needed?

this is my 1st question. If i make mistake, simply point it out & i'll improve it next time. I'm a Java Dev & new to Linux. I deploy my Spring MVC app on a VPS with Tomcat 7 and use nginx as a proxy server. After surfing over Internet for days, I…
4
votes
0 answers

apr_pool thread safety when using the apache runtime library

Files and sockets in the APR API rely on pools, I see no way to create sockets/files without the use of apr_pools. Problem is that apr_pools are not thread-safe, thus creating a socket in one thread and destroying it in another is problematic. How…
b0ti
  • 2,319
  • 1
  • 18
  • 18
4
votes
2 answers

how to detect an invalid fd/handle

I have a server application which handles network clients with an async i/o. The client connections are accepted then added to a descriptor set which can be monitored with poll/epoll/select/etc. I'm using the apr_pollset_poll() apache APR library…
b0ti
  • 2,319
  • 1
  • 18
  • 18
4
votes
1 answer

How can I create a file using apr_file_open()

I am making the following call to the Apache Portable Runtime library (version 1.4): result = apr_file_open( &file, // new file handle pathname, // file name APR_FOPEN_CREATE | // create file if not there APR_FOPEN_EXCL |…
PP.
  • 10,764
  • 7
  • 45
  • 59
4
votes
3 answers

Build Apache APR 1.7 with Visual Studio (2017), IF_NAMESIZE undefined

Trying to build apr 1.7 on Windows with Visual Studio, tried 2017 and 2013. When building the project (Debug|x86) or compiling e.g. dso.c if get the following error message: 1>dso.c 1>c:\dev\log4cxx\apr\include\arch\win32\apr_arch_misc.h(503): error…
Andre
  • 147
  • 11
4
votes
0 answers

Problem: Server throw 302 temporarily redirect for Http11AprProtocol protocol

Recently we started supporting HTTP2 for our servers. We have used the below configuration for upgrading the HTTP2 protocol. The build started without an error. But we are facing a critical issue after running the server that is, some of the…
sprabhakaran
  • 1,615
  • 5
  • 20
  • 36
4
votes
1 answer

NIO Connector + gzip compression

I've been a tomcat user for a long time and am now looking to start playing with tomcat 7 with a view to upgrading We use tomcat standalone using BIO serving many static resources...so this article in your "top ten of 2010"…
javaguy44
  • 41
  • 2
4
votes
1 answer

How can I verify that my Tomcat app server correctly supports FIPS 140-2?

I've built openssl-fips, openssl, and tc-native (Tomcat Native Library) and pointed Tomcat at the native library. I see APR started in the logs: 13-Nov-2014 14:01:32.197 INFO [main] org.apache.catalina.core.AprLifecycleListener.init Loaded APR based…
Chris Williams
  • 11,647
  • 15
  • 60
  • 97
4
votes
1 answer

APR threads and signal handling

I am currently trying to implement threads using the Apache Portable Runtime. Everything works fine, except I am not really sure if I am doing it the way it's intended to do due to lack of documentation or examples. I need two threads and signal…
padde
  • 661
  • 8
  • 19
4
votes
3 answers

Compiling with APR. Error msg: "no decision has been made on APR_PATH_MAX for your platform"

I recently downloaded APR and successfully built it on my machine (Ubuntu 12.0.4). I included /path/to/apr_file_info.h to my project, and when I attempted to compile, I got the following error message: no decision has been made on APR_PATH_MAX for…
Homunculus Reticulli
  • 65,167
  • 81
  • 216
  • 341
4
votes
0 answers

Changing APR-embedded values returned by apr-1-config?

Is it possible to modify APR's embedded values without recompiling APR? Or is there a way to edit and "reload" APR's configuration files? On OS X 10.8 there are several bad values embedded in the Apache Portable Runtime Library. These values are…
joemaller
  • 19,579
  • 7
  • 67
  • 84
3
votes
1 answer

How to Build the Apache APR-Util v1.6.0 Library

I am really struggling with this one. I have downloaded the latest version of each of the following Apache APR products for Windows: APR v1.6.2 APR-util v1.6.0 APR-iconv v1.2.1 I have extracted the zip files and renamed the directories according…
Jeff G
  • 4,470
  • 2
  • 41
  • 76
1
2
3
12 13