Multiple use of apr_initialize, apr_pool_create_ex and apr_dbm_open_ex

2010-08-23 Thread Christian K.
Hello, in a Java web application I'm using the APR dbm functionality via JNA which translates between Java and any shared library, in my case apr and aprutil. In this application I want to write a dbm file, to use for HTTPD authentication. Since I do not want to make any assumption on the

Re: Multiple use of apr_initialize,apr_pool_create_ex and apr_dbm_open_ex

2010-08-23 Thread Christian K .
Hello again, I was now able to further look into the problem with gdb (my first time I used gdb). It seems like that the problem is related to the usage of DSOs in aprutil and that the old system where my application ran on did not use DSOs but static libs. The previous system was CentOS. It

Re: Multiple use of apr_initialize, apr_pool_create_ex and apr_dbm_open_ex

2010-08-23 Thread Mladen Turk
On 08/23/2010 04:53 PM, Christian K. wrote: Hello, In this application I want to write a dbm file, to use for HTTPD authentication. Since I do not want to make any assumption on the initialization state of apr I would like to repeatedly initialize and terminate apr. IMHO this is API misuse.