Tomcat help

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Fri Aug 4 03:39:51 EDT 2006


There are a few docs scattered around that explain how to deal with this issue:

http://www.unicolet.org/mapserver/tomcat.html
http://mapserver.gis.umn.edu/docs/howto/javamapscript
http://mapserver.gis.umn.edu/docs/howto/java_mapscript_Tomcat_55

HTH,
Umberto


On 8/4/06, Ryan Ollerenshaw <ollerery at engr.orst.edu> 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
>



More information about the mapserver-users mailing list