Tomcat Help

Charles Curley charlescurley at charlescurley.com
Fri Aug 4 02:25:17 UTC 2006


On Thu, Aug 03, 2006 at 04:58:43PM -0700, 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 ./tomcat5/bin/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

You might try the Fedora Java list. Especially if you are using the
GNU Java that comes with Fedora rather than Sun's.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060803/000e693c/attachment-0001.sig>


More information about the fedora-list mailing list