Ask your own question, for FREE!
Computer Science 19 Online
OpenStudy (anonymous):

Hi friends, When I start tomcat server in eclipse,in console I get following... The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:... can anyone help me to solve the problem?I do need your help! Thanks in advance

OpenStudy (anonymous):

What type of system are you running Tomcat on? Linux or Windows?

OpenStudy (anonymous):

windows

OpenStudy (anonymous):

Well, Tomcat is still running correct? The message should not be giving you any trouble and you can ignore this message. If you are just using it for development and not for real world use, I would just ignore the warning and carry on. Tomcat is looking for a library in its Path and it can't find it.. If you really want to clear this up, you can add the APR library to your Tomcat Path in Eclipse by downloading the APR lib from http://tomcat.apache.org/download-native.cgi After you have downloaded it. Unzip it into c:\dev\tomcat\bin or where ever you want just remember the path you put it. Now open eclipse and your project and then right click on it and go to Run As ->Run Configurations then a window will appear. Scroll the list box to your left and double click on Java Application. One you do this, another window will appear and you will see a Tab named Arguments. Click on Arguments. After you have clicked on Arguments you will see the VM Arguments lable. In the VM Arguments type this -Djava.library.path=c:\dev\tomcat\bin and close out and the warning should not come up when you run you project.

OpenStudy (anonymous):

thanks,thanks,thanks =)

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!