Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Tamizh veena
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18169
53
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Abbas Attarwala
Greenhorn
Posts: 6
Java jQuery PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 6
Java jQuery PHP
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, thanks!! This-> http://www.techbrainwave.com/?p=1017 proved helpful!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic