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

APR thread pool - Getting threads exit codes

I'm using the APR thread pool (for portability) and I'm trying to get the threads exit codes, because I want to close the whole program (When there are specific error codes). I noticed that there's no APR function that can access the threads…
Drxxd
  • 1,860
  • 14
  • 34
3
votes
0 answers

How to invoke apache module by default for every request?

I developed an apache module in which I am collecting some data from a request. How to call my module for every request by default in Apache? I wrote my module in C. My Module declaration code module AP_MODULE_DECLARE_DATA helloworld_module =…
3
votes
2 answers

Tomcat warning: The executor associated with thread pool [http-apr-8080] has not fully shutdown

I am running a web application using tomcat8 and jdk1.8 on a linux server. When I shut down tomcat I get the following warning message: WARNING [main] org.apache.tomcat.util.net.AbstractEndpoint.shutdownExecutor The executor associated with thread…
theyuv
  • 1,556
  • 4
  • 26
  • 55
3
votes
3 answers

Socket is open after process, that opened it finished

After closing client socket on sever side and exit application, socket still open for some time. I can see it via netstat Every 0.1s: netstat -tuplna | grep 6676 tcp 0 0 127.0.0.1:6676 127.0.0.1:36065 TIME_WAIT …
AlexKutsan
  • 31
  • 4
3
votes
2 answers

The APR based Apache Tomcat Native library ... was not found (but I have it)

I'm running some software and getting the following error regarding apr not being found. I saw that it wasn't there, so went to the apr folder, ran ./configure and ./make and ./make install. It created files in /usr/local/apr/lib. I then created the…
Neil Walker
  • 6,400
  • 14
  • 57
  • 86
3
votes
1 answer

where to add Apr based Native Library for tomcat?

While Running Tomcat I am getting this.I read about it that I have to add Apr based native library for tomcat. i had downloaded this Apr native dll zip file from here .But Can you please tell where i have to install or put it.I go through this stack…
Anurag_BEHS
  • 1,390
  • 2
  • 22
  • 36
3
votes
1 answer

Is it possible to get list of files in directory using apache portable runtime?

I need to get list of files in directory using APR. How can I do it? I was looking for answer in documentation, but found nothing. Thanks!
3
votes
1 answer

APR joing thread pool threads when using apr_thread_pool_schedule

gcc 4.7.2 c89 apr utility 1.4 Hello, I am using a thread pool to start threads. However, I can't see any apr function that allows me to wait for the threads to join. The code sippet, removed all error checking and non-essential parts: int…
ant2009
  • 27,094
  • 154
  • 411
  • 609
3
votes
1 answer

tomcat ssl apr x509

This is my first question in this forum, please accept my apologies for any mistake in advance. I have a problem configuring tomcat with SSL and APR. Context: tomcat 7, Java 7, OpenSSL, a couple of valid x509 certificates. My https…
Gabriel
  • 117
  • 1
  • 14
3
votes
1 answer

How do I capture stdout/stderr output from program running in a new process using apr?

The question is quite simple: how do I capture and redirect to a file the stderr/stdout output produced by child program, running in a new process, created using Apache Portable Runtime's apr_proc_create. The ultimate task is to run an external…
J0HN
  • 26,063
  • 5
  • 54
  • 85
3
votes
3 answers

protect tomcat 6 apr SSL against BEAST attack

We run a web application on Tomcat 6 using the native Apache Portable Runtime SSL connector to provide SSL connectivity. How can we configure the server to prevent against the BEAST attack?. The suggested solution (1) can not be configured in the…
rogerwilco
  • 41
  • 1
  • 7
2
votes
0 answers

custom Tomcat RPM with native libraries installed (apr) in one package

I created a customer rpm from the latest tomcat just by using a simple unpack. This tomcat package works both with Ubuntu and RHEL5.5 (64 bit). I would like to add the native libraries. What non-tomcat files would I have to include in the…
Mang G11
  • 219
  • 5
  • 12
2
votes
1 answer

Building and configuring apr-util and httpd to use apr-iconv on Linux

I'm a glutton for punishment, and to prove it, I got myself a server and tried to build the entire LAMP stack myself. Then I ran into a problem where during a configure/make/install of httpd, I found that my compiled apr-util seemed to be not…
ogradyjd
  • 3,971
  • 6
  • 23
  • 30
2
votes
1 answer

How can I get client certificate authentication working in JBoss 5.1.0.GA when I'm using APR, and not all web deployments use CLIENT-CERT auth?

Note: I will be answering my own question... just wanted to add this tidbit to the collective wisdom of The Internets. I've successfully configured certificate authentication on my JBoss 5.1.0.GA server, largely with the help of the information on…
dkeen
  • 154
  • 2
  • 9
2
votes
0 answers

Why Tomcat7 always complain about older version APR 1.1.20?

I have installed Tomcat 7.0.22 on Windows, put in lib tcnative_1.dll. Its version 1.2.22. But when I start tomcat - always this complain. Why? 26-Oct-2011 18:49:25 org.apache.catalina.core.AprLifecycleListener init INFO: An older version 1.1.20…
user710818
  • 23,228
  • 58
  • 149
  • 207
1 2
3
12 13