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
2 answers

Tomcat SSL: TLS vs ALL

What is the best value for SSLProtocol parameter in Tomcat APR config? Docs says: "Protocol which may be used for communicating with clients. The default is "all", with other acceptable values being "SSLv2", "SSLv3", "TLSv1", and "SSLv2+SSLv3"." At…
Andrey Minogin
  • 4,521
  • 6
  • 38
  • 60
1
vote
2 answers

Installing Apache with Cygwin

I'm trying to use Cygwin to install Apache, but I keep running into an error that I can't find a solution to. I'm following the instructions on the official Apache site for installing Apache 2.4 on a UNIX-like system, I downloaded the tar.gz version…
HartleySan
  • 7,404
  • 14
  • 66
  • 119
1
vote
0 answers

tomcat on port 80 with APR connector ubuntu 12.04

I am trying to configure tomcat 7 (standalone) on ubuntu machine (production env), but getting following exception at startup: Jan 15, 2014 6:24:45 AM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native…
1
vote
1 answer

Embedded Tomcat instance does not see APR Library

I am currently trying - without success - to use the APR lib within embedded Tomcat for the purposes of SSL. I tried a number of ways to ensure the library gets loaded - setting LD_LIBRARY_PATH, setting -Djava.library.path, and loading the…
barvardage
  • 13
  • 3
1
vote
0 answers

How to use apr_file_namedpipe_create()

This may be a very simple question: How to use apr_file_namedpipe_create() function from Apache Portable Runtime library to create a named pipe, and then use that named pipe for child-parent communication. The child process is being created using…
user2679476
  • 365
  • 3
  • 12
1
vote
1 answer

Tomcat with APR connector is disconnecting Java clients with SSL

I am trying to use SSL with Tomcat and an APR connector. I can make changes to the server, but not to the existing Java client. For some reason, whenever a Java client connects to the Tomcat server using SSL, it is not able to connect - the…
Jesse Barnum
  • 6,507
  • 6
  • 40
  • 69
1
vote
4 answers

An incompatible version 1.1.22 of the APR based Apache Tomcat Native library is installed, while Tomcat requires version 1.1.24

I installed apache apr on ubuntu 10.04 with sudo apt-get install libtcnative-1 When I stated my tomcat I got the following error: Aug 07, 2013 6:57:32 PM org.apache.catalina.core.AprLifecycleListener init SEVERE: An incompatible version 1.1.22 of…
Michael
  • 32,527
  • 49
  • 210
  • 370
1
vote
2 answers

File IO in the apache portable runtime library

While working through Zed Shaw's learn C the Hard Way, I encountered the function apr_dir_make_recursive() which according to the documentation here has the type signature apr_status_t apr_dir_make_recursive(const char *path, apr_fileperms_t perm,…
Micaiah Chang
  • 119
  • 2
  • 7
1
vote
3 answers

apache 2.4.6, error with module apr hooks

I'm trying to compile apache 2.4.6. I've successfully compiled and installed the latest apr (1.4.x) and apr-util (1.5.x). Here are my environment settings, compilation settings, and modifications to the LD_LIBRARY_PATH after each…
Paul Rigor
  • 986
  • 1
  • 12
  • 23
1
vote
2 answers

Installing apr on Windows through MinGW, Python not detected

I'm trying to install log4cxx with MinGW on my Windows box but need to install apr and apr-util first. I've been following the guide on Apache's website and installed the version of Python they listed but get an error about Python not being found: $…
noko
  • 1,129
  • 2
  • 14
  • 25
1
vote
5 answers

How to printf the "apr_uint32_t"?

My question is: How to printf the "pMessage","aiLength","szDataSize"? EventInfo* pEventInfo typedef struct { char* pMessage; SocketHeader* pSocketHeader; PipeHeader* pPipeHeader; } EventInfo; typedef struct { …
y_wang
  • 15
  • 1
  • 4
1
vote
1 answer

Major difference between Apache log4cxx and log4cplus

I need to build my app which can make use of these c++ loggers. I am going through both the loggers(Apache log4cxx and log4cplus) I want to know the difference between the two. 1 thing which I have seen is Apache log4cxx make use of APR(Apache…
Ankit
  • 1,330
  • 2
  • 11
  • 16
1
vote
1 answer

Linking against a shared library on AIX

I'm trying to link against a shared library (apr) on AIX 5.3 using gcc/libtool. The output from the compiler is as follows (with some irrelevant flags removed for the sake of simplicity): libtool: link: gcc -o test test.o -L/opt/freeware/lib…
b0ti
  • 2,319
  • 1
  • 18
  • 18
1
vote
0 answers

Error while installing APR on backtrack linux 5r3

When i am trying to install apache server it showed the following error on ./configure checking for APR... configure: WARNING: APR version 1.4.0 or later is required, found 1.3.8 configure: WARNING: skipped APR at apr-1-config, version not…
user2136769
1
vote
1 answer

Does apache portable runtime support semaphores

gcc 4.7.2 c89 Hello, I am using the APR safe thread queue in the utils library. My design is to use a thread to push a message to the queue and another thread to pop a message from the queue. This part is ok using apr thread pool and memory…
ant2009
  • 27,094
  • 154
  • 411
  • 609