[mapserver-users] catalina.bat on sysdeo

Flavio Souza flsolu at gmail.com
Tue Jan 12 16:55:38 EST 2010


I did  It

Thanks for all

ps: sorry my english , i am Brazilian
_______________________________
Flávio Souza
(021)  7629-4249



On Mon, Jan 11, 2010 at 5:57 PM, Ian Tidy <IANT at napier.govt.nz> wrote:
> Hi Flávio
>
> I'm don't know if this is applicable (I don't use Java MapScript), but when I was trying to get php_mapscript working with Aptana, I needed to set the paths to the supporting DLLs.  Have a look at the C:\MS4W\setenv.bat file and modify your system settings to include all the paths and other variables that are set in this batch file.  The MapServer.DLL has a few dependencies, and your system is not finding them.
>
> Cheers Ian
>
> ______________________
> Ian Tidy
> GIS Analyst / Developer
> Works Asset Department
> Napier City Council
> Skype ian.tidy.ncc
> mailto:iant at napier.govt.nz
> http://www.napier.govt.nz | http://maps.napier.govt.nz
>
>
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Flavio Souza
> Sent: Tuesday, January 12, 2010 8:18 AM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] catalina.bat on sysdeo
>
> Hello , my name is Flávio
> I have a question
>
> I try run the servlet HelloServlet
>
>
> public class HelloServlet extends HttpServlet {
>  public void doGet (HttpServletRequest req,
>                                         HttpServletResponse res)
>        throws ServletException, IOException
>  {
>    try
>            {
> ->               System.loadLibrary("mapscript");
>                System.err.println("Loaded the Mapscript library");
>            }
>            catch (UnsatisfiedLinkError e)
>            {
>                e.printStackTrace();
>            }
>
>      // mapscript
>      mapObj map;
>      map = new mapObj ("third.map");
>
> I get the following error: at System.loadLibrary("mapscript"); *
>
> java.lang.UnsatisfiedLinkError:
> C:\ms4w\Apache\cgi-bin\mapscript\java\mapscript.dll: Can't find
> dependent libraries
>        java.lang.ClassLoader$NativeLibrary.load(Native Method)
>        java.lang.ClassLoader.loadLibrary0(Unknown Source)
>        java.lang.ClassLoader.loadLibrary(Unknown Source)
>        java.lang.Runtime.loadLibrary0(Unknown Source)
>        java.lang.System.loadLibrary(Unknown Source)
>        edu.umn.gis.mapscript.mapscriptJNI.<clinit>(mapscriptJNI.java:23)
>        edu.umn.gis.mapscript.mapObj.<init>(mapObj.java:275)
>        HelloServlet.doGet(HelloServlet.java:30)
>        javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
>        javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>
> i am use sysdeo tomcat , and i am not know what i do
>
> thanks in advance
> Flávio souza
>
> _______________________________
>
> (021)  7629-4249
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> #####################################################################################
> This e-mail message has been scanned for Viruses and Content and cleared
> by MailMarshal
> #####################################################################################
> #####################################################################################
> This e-mail message has been scanned for Viruses and Content and cleared
> by MailMarshal
> #####################################################################################
>
> ######################################################################
> Attention:
> This e-mail message and accompanying data may contain information that
> is confidential and subject to legal privilege. Any information
> provided is given in good faith. However unless specifically stated to
> the contrary, Napier City Council accepts no liability for the
> content of this e-mail or for the consequences of any action taken on
> the basis of the information provided, unless that information is
> subsequently confirmed in writing. If you are not the intended recipient,
> you are notified that any use, dissemination, distribution or copying
> of this message or data is prohibited. If you received this e-mail
> message in error, please notify us immediately and erase all copies
> of this message and attachments. Thank you.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list