This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Tomcat and the fly likes The APR based Apache Tomcat Native library which allows optimal performance in production environmen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "The APR based Apache Tomcat Native library which allows optimal performance in production environmen" Watch "The APR based Apache Tomcat Native library which allows optimal performance in production environmen" New topic
Author

The APR based Apache Tomcat Native library which allows optimal performance in production environmen

Tamizh veena
Greenhorn

Joined: Jan 24, 2012
Posts: 1
Hi
when I start my application im getting like

INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /dataserver/home/v887763/jdk160_20_64/jre/lib/sparc/server:/dataserver/home/v887763/jdk160_20_64/jre/lib/sparc:/dataserver/home/v887763/jdk160_20_64/jre/../lib/sparc:/usr/jdk/packages/lib/sparc:/lib:/usr/lib

What does it means ?
What I need to do for it?
Please help me..
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15950
    
  19

Welcome to the JavaRanch, Tamizh!

This message doesn't really mean anything. Tomcat has a high-performance option where it uses the native library to get a boost. However, because this library is not "write once, run anywhere", it has to be manually created and installed into a custom-built copy of Tomcat. If it isn't, you'll get this informational message when Tomcat starts.

Most of the time, it's not worth going to all that trouble, especially for test servers. And truthfully, I've never seen any stats that make me want to do it even on production machines. Without compelling evidence, I'd rather invest in hardware that's powerful enough to perform with the unmodified Tomcat than have to spend the time and effort keeping a custom build up to date.

So just ignore this message. It's not a problem.


Customer surveys are for companies who didn't pay proper attention to begin with.
Abbas Attarwala
Greenhorn

Joined: Feb 11, 2012
Posts: 6

I am a pHp/Java developer and I tried my hands on this new XAMPP server which packages Apache, pHp, MySQL and Tomcat 7.x and a very convenient to use admin panel that you can use to start/stop services with ease. When I start the Tomcat service, I can see the Server home page on my localhost which claims that I have setup tomcat successfully. I am now trying to setup my workspace in Eclipse for J2EE development and I set my Tomcat server as the default runtime in Eclipse. I created a simple "Hello World!!" class using Servlets. When I try running this in Eclipse, it gives me the following error:

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\jre7\bin;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:/Program Files/Java/jre7/bin/client;C:/Program Files/Java/jre7/bin;C:/Program Files/Java/jre7/lib/i386;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Windows\Tools\WinTools;C:\Program Files\TortoiseSVN\bin;D:\Users\aattarwa\Java\eclipse;;.

Kindly help me with this issue.
Abbas Attarwala
Greenhorn

Joined: Feb 11, 2012
Posts: 6

Hey, thanks!! This-> http://www.techbrainwave.com/?p=1017 proved helpful!!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: The APR based Apache Tomcat Native library which allows optimal performance in production environmen
 
Similar Threads
problem with mod_jk
determine tomcat version
Tomcat issues under Intellij IDEA
Launching Tomcat via Eclipse no longer working after Snow Leopard upgrade
INFO at tomcat window