There are some components using Native code that need to have java.library.path set to point to the directories where the native libraries are. They are not using LD_LIBRARY_PATH as, I suppose, it is not a platform independent way to set such a thing. I use one of those components (PROJ.4) in a totally different context than MapServer and what I do in order to set java.library.path is add it as additional parameter in for JVM in catalina.sh with:
-Djava.library.path=... Jean Ryan Ollerenshaw wrote: > I am able to compile a java mapscript file from the command line using: > > javac -classpath ./mapscript.jar MapServerTest.java > > But when i try to turn my code into a servelt and run it over Tomcat i > keep getting: > > java.lang.UnsatisfiedLinkError: no mapscript in java.library.path > > I have tried adding: export CLASSPATH=./mapscript.jar > to my ./startup.sh file but that does not seem to help. Am i missing > a setting somewhere, why cant Tomcat find the .jar file? I have it in > the same directory as my .java file and also in /common/lib and > /shared/lib > > Thank you for any help that you can provide -- Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html
