Re: Tomcat Native library on java.library.path ?
Hmm i haven't start using Tomcat 6, but i guess that the java.library.path might actually refers to your JDK? Which version of JDK are you using? troy giunipero wrote: Hello, I recently installed Apache Tomcat 6.0.10 and have been getting the following message upon startup: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: On Windows XP, I have the following paths added to the PATH environment variable: C:\apache-tomcat-6.0.10\bin;C:\apache-tomcat-6.0.10\lib;%PATH%; I'm a bit stumped: Surely the Native library is the apache-tomcat-6.0.10\lib folder, and surely the java.library.path refers to PATH. So what library needs to be added where? I posted a more in depth question regarding this on jGuru here: http://www.jguru.com/forums/view.jsp?EID=1337110 I've also noticed several other beginners out there with the same or a similar question. Please somebody help. If there's any information I haven't provided that might clarify an explanation, please let me know and I will respond asap. Kind regards, troy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Native library on java.library.path ?
The Tomcat Native library (tcnative-1.dll) is optional. (Note that the log message says INFO - it's not an error.) If that DLL is installed it should be in Tomcat's bin sub-directory. -- Len On 5/24/07, troy giunipero [EMAIL PROTECTED] wrote: Hello, I recently installed Apache Tomcat 6.0.10 and have been getting the following message upon startup: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: On Windows XP, I have the following paths added to the PATH environment variable: C:\apache-tomcat-6.0.10\bin;C:\apache-tomcat-6.0.10\lib;%PATH%; I'm a bit stumped: Surely the Native library is the apache-tomcat-6.0.10\lib folder, and surely the java.library.path refers to PATH. So what library needs to be added where? I posted a more in depth question regarding this on jGuru here: http://www.jguru.com/forums/view.jsp?EID=1337110 I've also noticed several other beginners out there with the same or a similar question. Please somebody help. If there's any information I haven't provided that might clarify an explanation, please let me know and I will respond asap. Kind regards, troy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Native library on java.library.path ?
Recently, I saw a similar problem on Solaris9 with Tomcat 5.5.23. Then ldd tcnative-1.so revealed that a certain library (in this case, libgcc.so) was not in the path. By adding that library to the path, Tomcat stopped complaining about not being able to find the native library. On windows, download tomcat source files, create an eclipse project with the tomcat source. Open Catalina.bat, modify the java command line that starts Tomcat and add debug options. DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5005 Notice suspend=y. This will suspend Tomcat until you attach a debugger. You can put a break point in Library.java or APRLifeCycleListener.java and see what is going on. --Lakshmi -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, May 24, 2007 5:52 PM To: users@tomcat.apache.org Subject: Tomcat Native library on java.library.path ? Hello, I recently installed Apache Tomcat 6.0.10 and have been getting the following message upon startup: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: On Windows XP, I have the following paths added to the PATH environment variable: C:\apache-tomcat-6.0.10\bin;C:\apache-tomcat-6.0.10\lib;%PATH%; I'm a bit stumped: Surely the Native library is the apache-tomcat-6.0.10\lib folder, and surely the java.library.path refers to PATH. So what library needs to be added where? I posted a more in depth question regarding this on jGuru here: http://www.jguru.com/forums/view.jsp?EID=1337110 I've also noticed several other beginners out there with the same or a similar question. Please somebody help. If there's any information I haven't provided that might clarify an explanation, please let me know and I will respond asap. Kind regards, troy - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Tomcat Native library on java.library.path ?
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Tomcat Native library on java.library.path ? Surely the Native library is the apache-tomcat-6.0.10\lib folder Surely, it isn't. As Len pointed out, it's the bin directory. and surely the java.library.path refers to PATH. By default, but only on a Windows platform; on UNIX or Linux systems, the LD_LIBRARY_PATH environment variable is used instead. On any kind of platform, setting the system property on the command line overrides or extends the value from the environment variable. So what library needs to be added where? Since you're running on Windows, the native library is available already compiled and linked, as noted in the APR doc: http://tomcat.apache.org/tomcat-6.0-doc/apr.html In case you miss the link to the download site, it's here: http://tomcat.heanet.ie/native/ Just put the .dll into Tomcat's bin directory. - Chuck P.S. You work for Sun and you're using Windows? THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Tomcat Native library on java.library.path ?
On 5/25/07, Caldarale, Charles R [EMAIL PROTECTED] wrote: P.S. You work for Sun and you're using Windows? It could be that he needs to use one of the many vital application programs that aren't supported on the Solaris platform. World of Warcraft, for example. :-) -- Len - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]