I've checked that the file is accessible and that all authorizations are
given.
The error returned is the following: "Connection Parameters are invalid".
In the log file, I found the following:
"2008-02-22 16:22:09,468 WARN [geotools.data] - Could not acquire ESRI(tm)
Shapefiles (*.shp):java.io.FileNotFoundException: Shapefile not
found:/GeoserverData/test/xxx.shp
java.io.FileNotFoundException: Shapefile not
found:/GeoserverData/test/xxx.shp"
Is it a bug or is it a problem with the notation ?
I've checked that the file is accessible and that all authorizations are
given.
The error returned is the following: "Connection Parameters are invalid".
In the log file, I found the following:
"2008-02-22 16:22:09,468 WARN [geotools.data] - Could not acquire ESRI(tm)
Shapefiles (*.shp):java.io.FileNotFoundException: Shapefile not
found:/GeoserverData/test/test.shp
java.io.FileNotFoundException: Shapefile not
found:/GeoserverData/test/test.shp"
Is it a bug or is it a problem with the notation ?
I've checked that the file is accessible and that all authorizations are
given.
The error returned is the following: "Connection Parameters are invalid".
In the log file, I found the following:
"2008-02-22 16:22:09,468 WARN [geotools.data] - Could not acquire ESRI(tm)
Shapefiles (*.shp):java.io.FileNotFoundException: Shapefile not
found:/GeoserverData/test/test.shp
java.io.FileNotFoundException: Shapefile not
found:/GeoserverData/test/test.shp"
Is it a bug or is it a problem with the notation ?
Well, simply put, Java cannot directly access a windows/samba share.
To make a little test I've put a shapefile on a Samba share (on a linux
server). A direct name did not work at all, looking on Google there
seem no valid syntax to access such a share directly.
Then I've mounted the share as Z: and connected to the shapefile using
a local file path and it worked.
Long story short, try mounting the share into your local filesystem and
it should start working.
Thanks for the response.
Indeed it works with a map drive.
Sorry if it becomes out of scope, but I want to mention this point:
when I install Geoserver as a service with the wrapper, then the map drive
doesn't work anymore, even if I care to start the service with a good login.
If anyone has already encontered this problem, any advice is welcome.
Can you see (task manager) what user GeoServer actually runs as when using the wrapper?
-Arne
KDT wrote:
Thanks for the response.
Indeed it works with a map drive.
Sorry if it becomes out of scope, but I want to mention this point:
when I install Geoserver as a service with the wrapper, then the map drive
doesn't work anymore, even if I care to start the service with a good login.
If anyone has already encontered this problem, any advice is welcome.
Can you see (task manager) what user GeoServer actually runs as when using the wrapper?
I believe windows is mounting the units only after the login of the
person that setup the mount... in order to make it run during
startup you would need something that runs as a service and that
runs before GeoServer to mount the share. I have no idea of how to
do that.