<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial size=2><SPAN class=994313314-09022005>I looked through the 
archives and saw no resolution on this so I thought I would contribute what 
solved this for me.&nbsp; </SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=994313314-09022005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=994313314-09022005>Umberto Nicoletti 
(and others) have done a great job providing resources on the Wiki to avoid 
having the native libraries loading twice (<A 
href="http://www.unicolet.org/mapserver/tomcat.html">http://www.unicolet.org/mapserver/tomcat.html</A>) 
.&nbsp; There are other messages that explain that you need to put the mapscript 
dll and other supporting dll's into your windows system path in order for 
System.loadlibrary to work.&nbsp; But I found that I was still getting 
unsatisfiedlinkerrors until I put the mapscript jar file into tomcat's 
common\lib directory (the same place where I put the jar containing Umberto's 
singleton class).&nbsp; If I put the jar into the local classloader for my 
application, the singleton would load the native mapscript library, but could 
not use the classes from mapscript.jar.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=994313314-09022005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=994313314-09022005>Hope this helps 
someone avoid the headaches I experienced.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=994313314-09022005></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=994313314-09022005>Joseph 
Miller</SPAN></FONT></DIV></BODY></HTML>