MapScript Java problem
Houde, Jonathan
JHoude at KOREM.COM
Fri Apr 6 06:32:44 PDT 2007
Hi Antonio,
Since my first post, I tried many other approache including the java.library.path overwriting,
But after quick comparison on the dependant dll versions with other machine having mapscript working, it really seems to be the cause of the error.
However, since there a lot of dll in the dependence tree I could not figured out which one was problematic.
Consequently, I tried to install it on 3 other computer and I did encounter any error.
The main difference between my problematic setup and all the setup working is that I have a lot of Microsoft stuff and corresponding dll version installed,
-sql server 2000
-iis
-visual studio 2005
-sqlserver 2005
-crystal report
-...
Does this could explain the problem on your setup too ?
Jonathan
_____
From: Antonio Pace [mailto:antonio.pace at gmail.com]
Sent: Wednesday, September 05, 2007 1:58 PM
To: Houde, Jonathan; MAPSERVER-USERS at LISTS.UMN.EDU
Subject: R: [UMN_MAPSERVER-USERS] MapScript Java problem
Hi,
I have the same problem and i am going crazy, I have tried several variation of my setup (upgrade and downgrade of ms4w, jdk and tomcat), someone has resolved this problem?
Thanks,
Antonio
Da: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] Per conto di Houde, Jonathan
Inviato: venerdì 30 marzo 2007 18.39
A: MAPSERVER-USERS at LISTS.UMN.EDU
Oggetto: [UMN_MAPSERVER-USERS] MapScript Java problem
Hi,
I'm trying to make MapScript java work under tomcat 5.5.17 / jdk 6.0 / windows xp
And I'm getting the following error:
java.lang.UnsatisfiedLinkError: C:\mapscript\mapscript.dll: The operating system cannot run %1
I already included the following folder in the path system variable
C:\ms4w\Apache\cgi-bin
C:\ms4w\Apache\cgi-bin\mapscript\java
As well as the proj lib variable.
PROJ_LIB
C:\ms4w\proj\nad
The package I installed is from ms4w_2.2.3.zip
I have tried several variation of my setup including change of jdk to 5.0 and I keep getting that error...
I know that the actual dlls are found in the path since when I remove one folder from the path variable I receive either,
UnsatisfiedLinkError: C:\mapscript\mapscript.dll, ddl not in the java.library.path
Or
Dll dependency not found in the java.library.path
This seems to be related with dll version mismatch.
For example:
http://support.borland.com/entry.jspa?externalID=6065&categoryID=447
Any ideas?
Thanks,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070406/6b2f195a/attachment.htm>
More information about the MapServer-users
mailing list