[Geoserver-users] Cannot add Store unless data is in GeoServer Data_Dir

Hello,
i am running version 2.12.2, and am trying to add a RPFTOC Store from a
local drive on my VM, whenever I do I get "Could not list layers for this
store, an error occurred retrieving them: Unsupported input type"

The only way I am able to import map data is to move the data to the
GeoServer Data_Dir which I have on the same drive as the map data.

Here are a few lines from the error
2018-02-26 11:55:36,590 WARN [geoserver.catalog] - Unable to convert
coverage URL to a URI, attempting to use it as a path

2018-02-26 11:55:36,590 INFO [geoserver.web] - Getting list of coverages for
saved store file://M:\AZ\_RPF\CB01\CIB01_31n\RPF\A.TOC

Caused by: java.lang.IllegalArgumentException: Unsupported input type

Any idea on what my problem is?

Here is a pastebin of more of the log.
https://pastebin.com/qQ2CY3j0

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

Could this be the problem?:

[GEOS-8143] Bad File->URL conversion in file chooser
https://osgeo-org.atlassian.net/browse/GEOS-8143

While adding the store please try Jukka's advice: "User must change the backslashes to forward slashes manually."

Kind regards,
Ben.

On 27/02/18 09:00, Jbake wrote:

Hello,
i am running version 2.12.2, and am trying to add a RPFTOC Store from a
local drive on my VM, whenever I do I get "Could not list layers for this
store, an error occurred retrieving them: Unsupported input type"

The only way I am able to import map data is to move the data to the
GeoServer Data_Dir which I have on the same drive as the map data.

Here are a few lines from the error
2018-02-26 11:55:36,590 WARN [geoserver.catalog] - Unable to convert
coverage URL to a URI, attempting to use it as a path

2018-02-26 11:55:36,590 INFO [geoserver.web] - Getting list of coverages for
saved store file://M:\AZ\_RPF\CB01\CIB01_31n\RPF\A.TOC

Caused by: java.lang.IllegalArgumentException: Unsupported input type

Any idea on what my problem is?

Here is a pastebin of more of the log.
https://pastebin.com/qQ2CY3j0

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <https://transient.nz/&gt;
New Zealand

Thank you, that was a good bandaid to the issue. And I appreciate the link
to the bug report. I may have to go back to 2.10 since this hasnt been
resolved for a year. My users wont want to do this manually, I know they
will complain otherwise.

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html

Feel free to chip in a fix or funding for a fix. If it has been a year it seems unlikely that any of the developers are concerned about this.

Ian

···

On 27 February 2018 at 14:32, Jbake <GeoServer@anonymised.com> wrote:

Thank you, that was a good bandaid to the issue. And I appreciate the link
to the bug report. I may have to go back to 2.10 since this hasnt been
resolved for a year. My users wont want to do this manually, I know they
will complain otherwise.


Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer

Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Ian Turton

Will do Ian, I’m going to see if the developers on my team can find a quick
fix. I hope they can spare an hour to take a look and fix it since we want
to use geoserver for our WMS needs..

If we do get a fix I’ll update and figure out how I can submit the change.

Thanks again!

--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html