Since you're on windows it could be a locking issue: one process locked the file and mapserver can't therefore access it.<div>Are there other programs accessing that same file?</div><div><br></div><div>regards,</div>
<div>Umberto<span></span><br><div><br>On Wednesday, October 10, 2012, forest21000  wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">       Hello,Everyone!I am using mapscript.jar in my servlet project to<br>

generate tilemap in realtime.And lots of time it works very well.But<br>
sometimes,I came across the eroor like this:<br>
<br>
     * Java.lang.UnknowError:msDrawMap():Image handling error.Failed to draw<br>
layer named 'REGION';msShapefileOpen():Unable to access file<br>
(D:\Ocean_region);msShapefileOpen():Unable to access<br>
file.(D:\Ocean_region.shp)*<br>
<br>
  Is it the multi-thread problem?Waiting for your answers!Thanks for your<br>
help!<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/mapscript-jar-error-in-servlet-project-tp5007566.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/mapscript-jar-error-in-servlet-project-tp5007566.html</a><br>

Sent from the Mapserver - User mailing list archive at Nabble.com.<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'mapserver-users@lists.osgeo.org')">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</blockquote></div></div>