Skip to main content
Legend
May 16, 2012
Answered

Is CF10 working optimally

  • May 16, 2012
  • 1 reply
  • 5744 views

CF10 tomcat logs indicate it is not working optimally. Is the INFO message following normal operation or something to worry about?

Details:

CFAdmin > Debugging & Logging > Log Files > coldfusion-error.log

16/05/2012 1:26:58 PM org.apache.catalina.core.AprLifecycleListener init

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\\ColdFusion10\\cfusion\lib;C:\\ColdFusion10\\cfusion\jintegra\bin;C:\\ColdFusion10\\cfusion\jintegra\bin\international;C:\\ColdFusion10\\cfusion\lib\oosdk\classes\win

CFadmin > System Information

Version  ColdFusion 10,282462 

Tomcat Version  7.0.23.0 

Operating System  Windows 7   32 bit

OS Version  6.1   

Adobe Driver Version  4.1 (Build 0001)   

Java Version  1.6.0_29 

Thanks in advance, Carl.

This topic has been closed for replies.
Correct answer Charlie Arehart

No, Carl, it’s not. If you do some googling about Tomcat’s APR functionality (or that specific error message), you’ll discover that it’s an intentional design that if the library is present it will be used, otherwise it will not be and that message is offered. CF does not provide it, and indeed most native tomcat deployments.

If you view the various blog entries and articles, you’ll find how to locate, download, and install the APR library, but note that unless Adobe has certified CF to run with it, you’re then taking a risk even if you find proof that it’s “better” and “faster”. That said, I’ll note that I did some testing (adding it) and found it was not noticeably faster. YMMV (“your mileage may vary”), of course. HTH.

/charlie

1 reply

Charlie Arehart
Community Expert
Charlie ArehartCommunity ExpertCorrect answer
Community Expert
May 28, 2012

No, Carl, it’s not. If you do some googling about Tomcat’s APR functionality (or that specific error message), you’ll discover that it’s an intentional design that if the library is present it will be used, otherwise it will not be and that message is offered. CF does not provide it, and indeed most native tomcat deployments.

If you view the various blog entries and articles, you’ll find how to locate, download, and install the APR library, but note that unless Adobe has certified CF to run with it, you’re then taking a risk even if you find proof that it’s “better” and “faster”. That said, I’ll note that I did some testing (adding it) and found it was not noticeably faster. YMMV (“your mileage may vary”), of course. HTH.

/charlie

/Charlie (troubleshooter, carehart. org)
Legend
May 29, 2012

Place tcnative-1.dll in C:\ColdFusion10\cfusion\lib and Start CF10.

With tomcat APR tcnative-1.dll present coldfusion-error.log report:

29/05/2012 10:17:23 AM org.apache.catalina.core.AprLifecycleListener init
INFO: Loaded APR based Apache Tomcat Native library 1.1.23.
29/05/2012 10:17:23 AM org.apache.catalina.core.AprLifecycleListener init
INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].

Charlie thank-you for details that you noticed. Regards, Carl.

Charlie Arehart
Community Expert
Community Expert
May 29, 2012

Right, but the question is: should we recommend people do this? It’s not indicated as being supported. I’m as curious about this as anyone.

/charlie

/Charlie (troubleshooter, carehart. org)