I use the following URL for my SHP file data
file:data/EA_Data/DetailedRiverNetwork
i.e. not HTTP but FILE
But I just hit the browse button to locate it.
Russ
On 13 Aug 2012, at 15:22, David Winslow <[email protected]> wrote:
> I can't diagnose your problem from the description you gave, but I think that
> using 'localhost' in your workspace URIs is a red herring[1]. GeoServer does
> not actually make requests to the workspace URIS and as long as they are
> unique their values don't really affect GeoServer's operation.
>
> Perhaps a good next step would be for you to post a screen capture of the
> erroneous page? Are there any errors in GeoServer's log files?
>
> --
> David Winslow
> OpenGeo - http://opengeo.org/
>
> [1] http://en.wikipedia.org/wiki/Red_herring
>
> On Mon, Aug 13, 2012 at 6:41 AM, Michal Zimmermann <[email protected]> wrote:
> Hi,
> I need to add stores (shapefiles) to geoserver running on localhost:8080. In
> data_dir/data I have directories containing shapefiles. I add them as
> workspaces with Namespace URI set to
> http://localhost:8080/geoserver/data/*name_of_the_dir*/. When I try to add
> new store, the URL field in Connection Parameters doesn't open though and I
> can't choose which shapefile I want to add. I suppose the only error might be
> in http://localhost:8080/geoserver/data/*name_of_the_dir*/. I tried many
> different variations of this path, none of them worked for me.
> So the question is rather simple (hope the answer too): How do I add a store
> to a workspace when working in localhost? Thanks for any help.
> PS: The geoserver I'm working on is meant to run offline, thus I can't enter
> web URLs in Namespace URI.
>
> --
> Michal Zimmermann (zimmi)
> WWW: http://www.zimmi.cz
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users