Hmmm...on Windows, what is the difference between java.library.path and the Windows environmental variable PATH?
I am not sure I understand your suggestion. I have my Java Classpath set to this, which contains my bootstrap.jar. C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin\bootstrap.jar Should I just set, via JAVA_OPTS, my java.library.path to the same directory, since that's where I put my tcnative-1.dll file? -Djava.library.path=C:\Program Files\Apache Software Foundation\Tomcat 6.0\bin I don't want to break anything. Setting the java.library.path won't make Tomcat stop looking at other libraries in other locations (like the built-in /lib directory) will it? Thanks, Brian ----- Original Message ---- From: Martin Gainty <[EMAIL PROTECTED]> To: Tomcat Users List <users@tomcat.apache.org> Sent: Tuesday, September 2, 2008 5:59:10 PM Subject: RE: Tomcat Native library for Windows AprLifecycleListener reads java.library.path so either start Java with -Djava.library.path java -Djava.library.path=LocationOfBinary bootstrap.jar (easier to place -Djava.library.path into JAVA_OPTS) OR set LD_LIBRARY_PATH=LocationOfBinary YMMV/ Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Tue, 2 Sep 2008 23:38:45 +0100 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: Tomcat Native library for Windows > > Brian Clark wrote: > > Hello, > > > > I am getting the following error when starting up Tomcat 6.0.16 on Windows > > 2003: > > > > "Sep 2, 2008 4:18:13 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:\Program > > Files\Apache Software Foundation\Tomcat > > 6.0\bin;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;D:\Perl\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDOWS" > > > > Here's > > the catch, I do have the library installed in the bin directory (the > > very same bin referenced in the PATH above). I downloaded version 1.1.14.0 > > from http://tomcat.heanet.ie/native/1.1.14/binaries/win32/ and tried to > > just "drop it in" the bin directory. I don't know why it > > doesn't work. I also tried putting it in my windows\system32 directory, > > but with the same result. > > > > I've done a lot of research on the > > 'net, and found lots of other people that have this problem. However, > > most seem to have the problem resolved by putting the library in the > > right place, such as described in this earlier mailing list posting: > > http://www.mail-archive.com/users@tomcat.apache.org/msg29111.html > > > > Any ideas on what is going on here? > > Which file did you download. What is its current name? > > Mark > > > > --------------------------------------------------------------------- > To start a new topic, e-mail: users@tomcat.apache.org > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Get ideas on sharing photos from people like you. Find new ways to share. http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008