views:

161

answers:

3

When I compile my spring mvc app, I get this in the output:

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.6.0_17\bin;......

What exactly should I use in production that this is referring to?

+1  A: 

Tomcat-native is a version of Tomcat that uses the highly optimized Apache Portable Runtime (APR), the same framework that powers the Apache HTTP server.

Kevin
A: 

I found a post out there:

You can safely ignore this message if you want. Basically it is telling you that an optional shared library (dll on Windows) is not found. The APR is the Apache Portable Runtime. This is a native (non-java) library that can improve the performance of Tomcat in certain situations. On both Windows and Unix/Linux you will need a C compiler to build this library.

Aito
+1  A: 

Take a look at this talk , http://www.infoq.com/presentations/Tuning-Tomcat-Mark-Thomas , where one of the Tomcat developers discuss how to tune Tomcat - including which of the connectors (Like NIO or APr) to consider. The message you get about APR is referring to Tomcat Native

nos