Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Use of Apache Portable Runtime with Jazz/Tomcat experience?

Hi,

I did some tests with RTC and RQM installations based on Tomcat, where I configured the Apache Portable Runtime Library (APR) for Tomcat.
http://tomcat.apache.org/tomcat-5.5-doc/apr.html
APR improves speed of Socket IO and SSL encryption.
It seems to be, that the connection handling and content delivery is significant faster especially, when multiple clients connecting at the same time to an Jazz Server based on Tomcat. I did a test with Rational Performance Tester where 350 clients connecting to a RQM instance in uniform distribution within 60 seconds and consuming randomly the testplan feed and the test case feed. With APR configured, the Server had no problems to handle that load within 2 minutes. Without APR the same RQM Jazz Server was using much more memory and the response times are where much higher, the server needed more than 5 minutes to complete all requests.
Should we recommend clients to use APR with Tomcat?
Does anybody made similar experience with APR?

Best Regards,
Rene Meyer

0 votes



2 answers

Permanent link
@renemeyer,

I placed the compiled dll, tcnative-1.dll in tomcat/bin folder and restarted the service, however I am still seeing the INFO statement in the logs that APR was not found in java library path. INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files (x86)\IBM\RQM201\server\jre\bin;.;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem

What did I miss?

Thanks in advance

0 votes


Permanent link
The APR native library does not work with Apache Tomcat version 5.5.28 delivered with the current RQM or RTC 2.0.x releases. See https://issues.apache.org/bugzilla/show_bug.cgi?id=47712.
To get it working you need to tweak the installation to use Tomcat 5.5.29 or higher but this is not supported.

The configuration for APR is well described under the following URL:
http://code.google.com/p/jianwikis/wiki/TomcatSSLWithAPR
In the RQM/RTC startup scripts you need to set -Duser.library.path=PATH_TO_LIBRAY so that the JVM can pickup the DLL on Windows or shared library on Linux.

Best Regards,
Ren Meyer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Nov 19 '09, 10:05 a.m.

Question was seen: 8,843 times

Last updated: Nov 19 '09, 10:05 a.m.

Confirmation Cancel Confirm