Ok. I faced the exact same problem, however I am using Geofence on top of
the Geoserver security system. So maybe my solution does not work, but this
is how I fixed it;

First make sure that there are separate read and write data rules for the
workspace in data security:

workspace.*.r
workspace.*w

and make sure the admin has acces to these rules.

Next set a Geofence data rule that allows every users to every layer of
that workspace. This is a temporarily rule, which is only needed for
seeding. If this rule is not applied, seeding does not work as the layer is
still protected. After seeding you can remove the rule and the layer will
be protected. The internal data rules should remain set.

Hope this helps. I can recommend the Geofence plug-in as this gives you
much more control over data security.

Kind regards,
Darell

On Fri, Sep 29, 2017 at 12:02 PM, Steve Omondi <steve.omo...@ramani.co.ke>
wrote:

> No. I don't use Geofence module. However, I have some Data security rules
> yes using the Geoserver Data Securty Subsystem.
>
> I'm seeding while logged in with the admin user.
>
> Kind regards,
> Steve Omondi
>
> On Fri, Sep 29, 2017 at 1:00 PM, Darell van der Voort <darell...@gmail.com
> > wrote:
>
>> Hi Steve,
>>
>> Are the layers protected? Do you use the GeoFence plugin?
>>
>> Kind regards,
>> Darell
>>
>> On Fri, Sep 29, 2017 at 11:05 AM, steve.omondi <steve.omo...@ramani.co.ke
>> > wrote:
>>
>>> Hi guys,
>>>
>>> I have a problem with Integrated GeowebCache.
>>> Seeding Layers fails and here is the stack trace.
>>>
>>> I have tried Vector and Raster layers a like. If it's important I have
>>> changed the GEOWEBCACHE_CACHE_DIR=/serverDir/ externalized.
>>>
>>> I have tried to have the raster style from the defaul Global workspace to
>>> same workspace as Layer and nothing works.
>>>
>>> Opening the Layer Preview through the GWC and WMS endpoint and zooming
>>> around actually creates the tiles.
>>> Seeding fails.
>>>
>>>
>>>
>>> Prior to this Exception I have the following in the  logs.
>>>
>>> 2017-09-29 11:41:09,759 INFO [org.geotools.referencing.factory] -
>>> *user_projections/epsg_operations.properties was not found*, using the
>>> default set of coordinate operation overrides (normally empty)
>>> 2017-09-29 11:41:09,760 INFO [org.geotools.referencing.factory] - Using
>>> "file:/opt/tomcat2/webapps/geoserver/WEB-INF/lib/gs-main-2.1
>>> 1.2.jar!/org/vfny/geoserver/crs/epsg_operations.properties"
>>> as EPSG factory.
>>>
>>> and
>>>
>>> 2017-09-29 11:41:37,242 DEBUG [org.geotools.referencing.factory] -
>>> Failure
>>> in the primary factory: No code "EPSG:900913" from authority "European
>>> Petroleum Survey Group" found for object of type "IdentifiedObject". Now
>>> trying the fallback factory...
>>> 2017-09-29 11:41:37,249 DEBUG [org.geotools.referencing.factory] -
>>> Failure
>>> in the primary factory: No code "EPSG:900913" from authority "European
>>> Petroleum Survey Group" found for object of type
>>> "CoordinateReferenceSystem". Now trying the fallback factory...
>>>
>>>
>>> This issue is killing me. Kindly assist.
>>>
>>>
>>>
>>>
>>>
>>> -----
>>> Kind Regards,
>>>
>>> Steve Omondi
>>> GIS & DB Developer/DBA
>>> Ramani Online, Ramani Geosystems
>>> --
>>> 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
>>>
>>> Geoserver-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>
>>
>
------------------------------------------------------------------------------
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

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

Reply via email to