Hi

We have been struggling to get GeoServer to follow data stored in a
symlinked directory (symlinked from GeoServer's actual data directory).  All
permissions have been set and the owner/group is set to Tomcat7. The ls
output shows:

lrwxrwxrwx 1 tomcat7 tomcat7   21 Aug  4 13:03 spatial -> /mnt/sdi/spatial/

and this link and file system can be navigated from the command line.

If any of the data is copied over from the  symlinked directory to the
actual data directory (in our case, at /var/geoserver/data/), then it can be
loaded as expected.  If not, then we get an error message:

Error creating data store, check the parameters. Error message: Could not
acquire data access 'XYZ'

The log show the same message, along with the usual NullPointerException.

Is there an additional Tomcat or GeoServer configuration that is required to
access symlinked directories?

Thanks!
Derek




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Symlinks-for-data-sub-directories-tp5155119.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls. 
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to