Re: [mapserver-users] mapscript.jar error in servlet project

2012-10-12 Thread forest21000
Still wait for ways to solve the problem,thanks very much!



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/mapscript-jar-error-in-servlet-project-tp5007566p5008316.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapscript.jar error in servlet project

2012-10-10 Thread forest21000
There is only one servlet program but some threads access the file.



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/mapscript-jar-error-in-servlet-project-tp5007566p5007647.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] mapscript.jar error in servlet project

2012-10-09 Thread forest21000
   Hello,Everyone!I am using mapscript.jar in my servlet project to
generate tilemap in realtime.And lots of time it works very well.But
sometimes,I came across the eroor like this:

 * Java.lang.UnknowError:msDrawMap():Image handling error.Failed to draw
layer named 'REGION';msShapefileOpen():Unable to access file
(D:\Ocean_region);msShapefileOpen():Unable to access
file.(D:\Ocean_region.shp)*

  Is it the multi-thread problem?Waiting for your answers!Thanks for your
help! 




--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/mapscript-jar-error-in-servlet-project-tp5007566.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] mapscript.jar error in servlet project

2012-10-09 Thread Umberto Nicoletti
Since you're on windows it could be a locking issue: one process locked the
file and mapserver can't therefore access it.
Are there other programs accessing that same file?

regards,
Umberto

On Wednesday, October 10, 2012, forest21000 wrote:

Hello,Everyone!I am using mapscript.jar in my servlet project to
 generate tilemap in realtime.And lots of time it works very well.But
 sometimes,I came across the eroor like this:

  * Java.lang.UnknowError:msDrawMap():Image handling error.Failed to
 draw
 layer named 'REGION';msShapefileOpen():Unable to access file
 (D:\Ocean_region);msShapefileOpen():Unable to access
 file.(D:\Ocean_region.shp)*

   Is it the multi-thread problem?Waiting for your answers!Thanks for your
 help!




 --
 View this message in context:
 http://osgeo-org.1560.n6.nabble.com/mapscript-jar-error-in-servlet-project-tp5007566.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org javascript:;
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users