Thanks Ben,
  Your feedback looks like it will sort it all out for me.  I'll try again
without using the UI.

  I'd be keen to have a look at the example you mention - even if it's more
comlpex than I require it might give me some hints.

  One further question.  Do I require a feature/featuretype.xml definition
for PostIGIS based complex features?  (I noticed in the "example" workspace
checked out from the svn from the documentation that it has a subdirectory
with a featuretype.xml also)

Thanks again

Shaw

On Fri, Mar 4, 2011 at 2:10 PM, Ben Caradoc-Davies
<[email protected]> wrote:

> Oh, I see the problem. You are trying to use the GUI with app-schema.
>
> app-schema has no GUI support. Never attempt to publish or otherwise access
> or manipulate layers using the GUI. In practice you can use the GUI to make
> new workspaces, but do not use it to create any stores or layers for
> app-schema.
>
> All app-schema layers should already be published when you stop and start
> the GeoServer servlet.
>
> To test your service, try a simple request line like:
>
> http://put.your.hostname.here.example.org/geoserver/wfs?request=GetFeature&typename=sidelab:Locality&maxfeatures=10
>
> We do have a PostGIS and Oracle Reference Data Set used for online testing;
> you can get it from the maven repository and extract it from the jar files.
> It is large and complicated. If you are keen, I can show you where.
>
> Kind regards,
> Ben.
>
>
> On 03/03/11 22:32, Shaw Innes wrote:
>
>>  Further to my previous post - I have found this error which is coming up
>> whenever I click the publish button on the complex feature layer.
>>
>> Caused by: org.geotools.data.DataSourceException:
>> http://sidelab:Locality:Locality not found. Available:
>> [http://sidelab:Locality]
>>        at
>> org.geotools.data.complex.AppSchemaDataAccess.getMappingByElement(AppSchemaDataAccess.java:188)
>>        at
>> org.geotools.data.complex.AppSchemaDataAccess.getFeatureSource(AppSchemaDataAccess.java:425)
>>        at
>> org.geoserver.catalog.CatalogBuilder.buildFeatureType(CatalogBuilder.java:324)
>>        at
>> org.geoserver.web.data.layer.NewLayerPage.buildLayerInfo(NewLayerPage.java:198)
>>        ... 71 more
>>
>>
>> On 03/03/2011, at 8:32 PM, Ben Caradoc-Davies wrote:
>>
>> Please resend your email to the users list so that everyone can see it.
>>> Others may be able to assist.
>>>
>>> On 03/03/11 18:12, Shaw Innes wrote:
>>>
>>>> Hi Ben,
>>>>   Thanks for the quick response.  I realised that might make some
>>>> difference so I changed my database schema to be all lower case - which
>>>> brought me to some new errors - I've attached my config files which were in
>>>> my "complex" data store.  I've been trying to use the web GUI to configure
>>>> these but it seems that maybe manually is safer.
>>>>
>>>>   When I have this configuration in place my mapserver will no longer
>>>> startup.  I don't see anything in the logs though so I'm going to look into
>>>> increasing the logging level.
>>>>
>>>>   I don't suppose you could point me in the direction of a really simple
>>>> example using PostGIS as a datasource to create a "simple" app schema?
>>>> Once I can get a basic one working I'm sure I can extend it easily enough
>>>>
>>>> Thanks again
>>>>
>>>> Shaw
>>>>
>>>>
>>> --
>>> Ben Caradoc-Davies<[email protected]>
>>> Software Engineering Team Leader
>>> CSIRO Earth Science and Resource Engineering
>>> Australian Resources Research Centre
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Free Software Download: Index, Search&  Analyze Logs and other IT data in
>> Real-Time with Splunk. Collect, index and harness all the fast moving IT
>> data
>> generated by your applications, servers and devices whether physical,
>> virtual
>> or in the cloud. Deliver compliance at lower cost and gain new business
>> insights. http://p.sf.net/sfu/splunk-dev2dev
>> _______________________________________________
>> Geoserver-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
> --
>  Ben Caradoc-Davies <[email protected]>
> Software Engineering Team Leader
> CSIRO Earth Science and Resource Engineering
> Australian Resources Research Centre
>
------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to