mapscript in TOMCAT

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Tue Jun 12 05:58:49 EDT 2007


mapscript.dll depends on other dlls that are not found in that path.
Use a tool like dependency walker to find out dependencies and add
them to the path.

Umberto

On 6/12/07, Victor Herrero Cazurro <la_barrenadora at hotmail.com> wrote:
> Good morning!!
>
> I have a web application, the method who call mapscript class, it works
> correctly in stand alone application, but when run in TOMCAT, throw a
> exception:
>
> "GRAVE: Servlet.service() para servlet action lanzó excepción
> java.lang.UnsatisfiedLinkError: no mapscript in java.library.path
>         at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
>         at java.lang.Runtime.loadLibrary0(Runtime.java:822)
>         at java.lang.System.loadLibrary(System.java:993)
>         at edu.umn.gis.mapscript.mapscriptJNI.<clinit>(mapscriptJNI.java:23)
>         at edu.umn.gis.mapscript.mapObj.<init>(mapObj.java:276)
>         at es.nomenclator.struts.model.WFS.getfeature(WFS.java:24)"
>
> The line that reference is:
>
> "mapObj map = new
> mapObj("C:\\ms4w\\Apache\\htdocs\\mapserver\\app\\app.map");"
>
> I have a environment variable:
>
> "path = C:\ms4w\Apache\cgi-bin;C:\ms4w\Apache\cgi-bin\mapscript\java"
>
> in this path are "mapscript.dll" and "mapscript.jar"
>
> And "mapscript.jar" is in classpath to web application.
>
> Can somebody tell me what happend??
>
> Thanks
>
> _________________________________________________________________
> ¿Estás pensando en cambiar de coche? Todas los modelos de serie y extras en
> MSN Motor. http://motor.msn.es/researchcentre/
>



More information about the mapserver-users mailing list