[Geoserver-devel] Sample KML file load error ( java.lang.Exception: No target store for task)

Hey guys,

I am very new to Geoserver. I was browsing through a tutorial , and the
tutorial required me to play around with sample layers from OpenLayers.

According to the tutorial, Geoserver comes with sample layers.

I did not find any, so I tried to load a kml file via import data in spatial
files.

It recognizes the kml file but throws the following error

*java.lang.Exception: No target store for task
  at org.opengeo.data.importer.Importer.prep(Importer.java:512)
  at org.opengeo.data.importer.Importer.changed(Importer.java:719)
  at
org.opengeo.data.importer.web.ImportTaskTable$LayerLinkPanel$1$1.onSuccessfulSave(ImportTaskTable.java:379)*

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Sample-KML-file-load-error-java-lang-Exception-No-target-store-for-task-tp5104316.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Hi,
This is better placed on the users mailing lists; The developers one is for discussion of GeoServer development.

That said, your problem sounds like your install has gone wrong. GeoServer can’t seem to find the data directory which is why there are no sample layers. This also explains the error that to my (lay) eyes appears to also be suggesting it can’t find the data directory to write your new data to.

Cheers,

Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 17 February 2014 18:27, amitj <amitj@…3914…> wrote:

Hey guys,

I am very new to Geoserver. I was browsing through a tutorial , and the
tutorial required me to play around with sample layers from OpenLayers.

According to the tutorial, Geoserver comes with sample layers.

I did not find any, so I tried to load a kml file via import data in spatial
files.

It recognizes the kml file but throws the following error

java.lang.Exception: No target store for task
at org.opengeo.data.importer.Importer.prep(Importer.java:512)
at org.opengeo.data.importer.Importer.changed(Importer.java:719)
at
org.opengeo.data.importer.web.ImportTaskTable$LayerLinkPanel$1$1.onSuccessfulSave(ImportTaskTable.java:379)


View this message in context: http://osgeo-org.1560.x6.nabble.com/Sample-KML-file-load-error-java-lang-Exception-No-target-store-for-task-tp5104316.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.


Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk


Geoserver-devel mailing list
Geoserver-devel@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

On Tue, Mar 4, 2014 at 11:26 AM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

Hi,
This is better placed on the users mailing lists; The developers one is
for discussion of GeoServer development.

That said, your problem sounds like your install has gone wrong. GeoServer
can't seem to find the data directory which is why there are no sample
layers. This also explains the error that to my (lay) eyes appears to also
be suggesting it can't find the data directory to write your new data to.

Just sharing a possible different explanation: the data dir is available
but empty, the importer GUI does not check that the target store
exists or can be created before starting the process (and then... boom!)

Cheers
Andrea

--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------